Bug 310371

Summary: add widescreen resolution support for radeon driver
Product: Red Hat Enterprise Linux 5 Reporter: LisaWu <liswu>
Component: xorg-x11-drv-atiAssignee: Dave Airlie <airlied>
Status: CLOSED ERRATA QA Contact: desktop-bugs <desktop-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 5.0CC: jvuong, mdomonko, rod.macdonald, woliu, xgl-maint
Target Milestone: ---Keywords: OtherQA
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHEA-2008-0474 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-05-21 17:31:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
set native resolution for widescreen digital panel none

Description LisaWu 2007-09-28 06:39:42 UTC
set native resolution for widescreen digital panel

Reproduce: 
1.connect a 1440x900 digital panel to system
2.startx
3.1280x1024 was set to output instead of native 1440x900 resolution

Comment 1 LisaWu 2007-09-28 06:39:42 UTC
Created attachment 209571 [details]
set native resolution for widescreen digital panel

Comment 2 Adam Jackson 2007-10-04 16:01:34 UTC
Not completely sure what the patch is doing on first glance, but this is
certainly something we should investigate.

Comment 3 LisaWu 2007-10-06 02:36:34 UTC
In function RADEONValidateDDCModes, virtualX and virtualY are calculated
seperately like this: maxVirtY = MAX(maxVirtY, p->VDisplay);maxVirtX =
MAX(maxVirtX, p->HDisplay);
This is OK in old days when widescreen resolution is not support, big
resolutions always have both bigger HDISPLAY and VDISPLAY than little
resolutions.
But widescreen resolution will in fact brake this old time algorithm because a
big widescreen resolution (say 1440x900) has a bigger HDISPLAY and a smaller
VDISPLAY than a small resolution(say 1280x1024). 

I suggest a better way to calculate virtualX and virtualY to deal with
widescreen resolutions:
    maxVirtX = MAX(maxVirtX, p->HDisplay);
    maxVirtY = (maxVirtX == p->HDisplay)? p->VDisplay: maxVirtY;


Comment 4 RHEL Program Management 2007-10-16 03:37:13 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 6 Cameron Meadors 2008-04-28 19:25:46 UTC
Could the report please test?

Comment 8 errata-xmlrpc 2008-05-21 17:31:28 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2008-0474.html