[Intel-gfx] [PATCH] drm/i915: Fix SDVO TV support
Wang, Zhenyu Z
zhenyu.z.wang at intel.com
Fri Apr 3 04:17:00 CEST 2009
On 2009.04.03 02:41:54 +0800, Matej Kupljen wrote:
> Dear all,
>
> I have a board based on a Atom CPU and the following graphic card:
> $ lspci -v | grep VGA
> 00:02.0 VGA compatible controller: Intel Corporation 82945G/GZ
> Integrated Graphics Controller (rev 02)
>
> I am trying to make the SDVO TV work, but I cannot make it to work correctly.
> I tried with Ubuntu 7.10, 8.04, 8.10, Beta 9.04. I added the drivers
> to the latest Ubuntu release from:
> https://launchpad.net/~xorg-edgers/+archive/ppa
>
> Chang log contains:
> --------------------------------------
> xserver-xorg-video-intel
> (2:2.6.99.1+git20090402.fad714c4-0ubuntu0tormod) jaunty; urgency=low
>
> * Checkout from git 20090402 (master branch) up to commit
> fad714c40078d22fff82dc0692a344f66ddf9680
> * Only added debian/ tree from origin/debian-experimental
> * Disable kernel mode setting
> * Dropped debian/patches/*
> * Add lpia architecture
> * Add depends on libdrm-intel1 (lp 303177)
> * + apply the one Debian patch by hand
> * + relax the libdrm dep because we ship a patched 2.4.5
>
> -- Tormod Volden <email address hidden> Thu, 02 Apr 2009 09:26:18 +0200
> --------------------------------------
>
> As a last resort, I checkout the latest version of the Linux kernel
> from GIT and added your patches:
> [PATCH] drm/i915: Fix SDVO command debug function
> [PATCH] drm/i915: Fix error in SDVO DTD and modeline convert
> [PATCH] drm/i915: Fix SDVO CREATE_PREFERRED_INPUT_TIMING command
> [PATCH] drm/i915: Fix SDVO TV support
>
> With this patched kernel I get the picture on the TV, but it is in B/W
> and I believe it is
> in NTSC standard, and I cannot switch it to PAL.
>
> To get the picture on the TV, I have to do:
> $ xrandr --addmmode TV-1 800x600
> $ xrandr --output TV-1 --mode 800x600
>
> (After this, I can issue also xrandr --output TV-1 --auto and it
> matches the resolution
> on my VGA. But I first have to add a new mode)
>
> If I try to set the PAL format, I get:
> $ xrandr --output TV-1 --set TV_FORMAT PAL
> X Error of failed request: BadName (named color or font does not exist)
> Major opcode of failed request: 150 (RANDR)
> Minor opcode of failed request: 11 ()
> Serial number of failed request: 25
> Current serial number in output stream: 25
>
yeah, current SDVO TV only support NTSC, TV_FORMAT is not supported.
Although I did a test patch for UMS (attached), it seems not all formats
can work correctly on my 945GCLF2 board. Mode for some formats looks need
more care about timing.
--
Open Source Technology Center, Intel ltd.
$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-SDVO-add-all-supported-TV-formats.patch
Type: text/x-diff
Size: 7944 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20090403/86a24f43/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20090403/86a24f43/attachment.sig>
More information about the Intel-gfx
mailing list