OpenSolaris

Printable Version Enter a New Search
Bug ID 6436994
Synopsis radeon: negative refresh rates preventing resolution selection in JDS
State 10-Fix Delivered (Fix available in build)
Category:Subcategory xserver:xorg-server
Keywords
Responsible Engineer Henry Zhao
Reported Against snv_25
Duplicate Of
Introduced In
Commit to Fix snv_44
Fixed In snv_44
Release Fixed solaris_nevada(snv_44)
Related Bugs 6329879 , 6437221
Submit Date 9-June-2006
Last Update Date 16-January-2007
Description
With radeon driver, when MergedFB mode is used, on JDS the desktop resolution selection
capplet shows all negative refresh rates preventing resolution selection.

Open source bug:

[ Bug 6966 ] large negative refresh rates reported
The cause of the problem seems to be inappropriate setting of clock for the
merged mode, as seen in this portion of code

mode->Clock = (((i->Clock >> 3) + i->HTotal) << 16) | ((j->Clock >> 2) + 
              j->HTotal);
mode->Clock ^= ((i->VTotal << 19) | (j->VTotal << 3));

in RADEONCopyModeNLink() of radeon_mergedfb.c, where i and j represent two
modes to be merged, and the clock generated is a bogus negative number.

Talking to open source community Alex Deucher ( xxxxx@xxxxx.com), and know
that the intention of such clock setting it to make modes with same resolution
bug different refresh rates unique so that some other processing routine such as
xrandr can distinguish them (instead of throwing out one of them). But in reality 
even with this kind of clock setting, so such uniqueness is ensured. Alex agrees
we need to investigate for a better solution.

Removing this portion of code solve the problem.
Work Around
N/A
Comments
N/A