[Intel-gfx] [PATCH] honor VBIOS SSC & TV settings

Jin, Gordon gordon.jin at intel.com
Tue Jul 1 03:05:08 CEST 2008


Jesse Barnes wrote on Tuesday, July 01, 2008 12:46 AM:
> On Monday, June 30, 2008 9:36 am Jesse Barnes wrote:
>> On Monday, June 30, 2008 2:24 am Jin, Gordon wrote:
>>> Jesse,
>>> 
>>> I tested your patch on my Thinkpad T61 (GM965) and R52 (915GM, with
>>> SVideo TV-out). It works as before, i.e.
>>> https://bugs.freedesktop.org/show_bug.cgi?id=11366 isn't happening
>>> on T61.
>> 
>> Good, thanks for testing.  I'm glad it doesn't break anything.
>> 
>>> There's no SSC info in Xorg log. Is this expected? How can I know
>>> if the external reference clock is actually available?
>> 
>> Hm, on my T61 the SSC clock is used:
>> (II) intel(0): using SSC reference clock of 100 MHz
>> 
>> As long as the LVDS init function finds that the SSC enable bit is
>> set in the VBIOS "general features" table, it should get enabled.
>> 
>>> Below is the xrandr output:
>>> 
>>> [root at x-gm965 ~]# xrandr -q
>>> Screen 0: minimum 320 x 200, current 1280 x 800, maximum 2000 x 2000
>>> VGA disconnected (normal left inverted right x axis y axis)
>>> LVDS connected 1280x800+0+0 (normal left inverted right x axis y
>>>    axis) 331mm x 207mm 1280x800       60.3*+   50.0
>>>    1024x768       60.0
>>>    800x600        60.3     56.2
>>>    640x480        59.9
>>> TMDS-1 disconnected (normal left inverted right x axis y axis)
>>> 
>>>   [root at x-915gm ~]# xrandr -q
>>> Screen 0: minimum 320 x 200, current 1024 x 768, maximum 2048 x 2048
>>> VGA disconnected (normal left inverted right x axis y axis)
>>> LVDS connected 1024x768+0+0 (normal left inverted right x axis y
>>>    axis) 0mm x 0mm 1024x768       60.0*+   85.0     75.0     70.1  
>>>    60.0    832x624        74.6 800x600        85.1     72.2    
>>>    75.0     60.3     56.2 640x480        85.0     72.8     75.0    
>>>    59.9 720x400        85.0
>>>    640x400        85.1
>>>    640x350        85.1
>>> TV disconnected (normal left inverted right x axis y axis)
>> 
>> Hm, this shows that the TV is present but disconnected.  So neither
>> SSC nor TV out detection are working for you.  Are you sure you're
>> running the patched code?  If so, then there may be more than one
>> model of T61 or VBIOS we have to worry about here...
> 
> Oops, I didn't see that the second one was your 915GM box.  Does it
> actually have a TV out connector?  If so, maybe things are working
> ok, since it looks like your T61 detects the lack of a TV connector
> correctly. 

Yes, as my first sentence said, the 915GM has SVideo TV-out.

-Gordon



More information about the Intel-gfx mailing list