[Bug 12474] DisplaySize overridden and DPI miscalculated by the driver

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Oct 6 08:12:29 PDT 2007


http://bugs.freedesktop.org/show_bug.cgi?id=12474





------- Comment #25 from agd5f at yahoo.com  2007-10-06 08:14 PST -------
(In reply to comment #23)

> 
> I assume that the standard code path that this driver shoud follow is:
> if (crtc && crtc->mode.HDisplay && output->mm_width && output->mm_height)
> 
> Unfortunately the problem is that mm_width and mm_height are zero so that code
> path is never executed. Don't know yet where these come from - I assume radeon
> driver fills these. Digging.

mm_width and mm_height should be filled in either by the edid
(xf86OutputSetEDID()), or by hardcoding them in a monitor section in your
config.  If you hardcode the settings, the server should parse the monitor
section of your config assigned to that output and fill in the values, but it
does not.  That's the bug.

> 
> I'm guessing that my problems are related to "(WW) RADEON(0): Unknown DDCType 6
> found" like not found => no ddc query => panel dimensions unknown. Is my
> guessing correct?
> 

In your case, yes, but lots of laptops do not provide an edid for the panel. 
Without an edid, there is no way to know what the physical size of the screen
is.  We are able to determine the size of the panel in pixels based on the
panel bios tables, but not the physical size.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the xorg-driver-ati mailing list