New: Output of drm_cvt_mode function incorrect for reduced blanking modes
https://bugzilla.kernel.org/show_bug.cgi?id=16651
Summary: Output of drm_cvt_mode function incorrect for reduced
blanking modes
Product: Drivers
Version: 2.5
Kernel Version: 2.6.35
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Video(DRI - non Intel)
AssignedTo: [email protected]
ReportedBy: [email protected]
Regression: No
drivers/gpu/drm/drm_modes.c
function drm_cvt_mode
When parameter "reduced" is set to TRUE, the hsync_start and hsync_end values calculated are... wrong, and the vsync_start and vsync_end values aren't calculated at all.
Output from command "cvt -r 1920 1200":
# 1920x1200 59.95 Hz (CVT 2.30MA-R) hsync: 74.04 kHz; pclk: 154.00 MHz Modeline "1920x1200R" 154.00 1920 1968 2000 2080 1200 1203 1209 1235 +hsync -vsync
The values generated by drm_cvt_mode(dev,1920,1200,60,true,false,false) are:
154.00 1920 32 32 2080 1200 0 0 1235 +hsync -vsync
Signature · 11 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev --
[Bug 16651] Output of drm_cvt_mode function incorrect for reduced blanking modes
https://bugzilla.kernel.org/show_bug.cgi?id=16651
Adam Jackson <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #1 from Adam Jackson <[email protected]> 2010-08-23 14:32:25 --- Try this patch:
http://lists.freedesktop.org/archives/dri-devel/2010-August/003223.html
Signature · 11 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev --
[Bug 16651] Output of drm_cvt_mode function incorrect for reduced blanking modes
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=16651
Adam Serbinski <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |CODE_FIX--- Comment #2 from Adam Serbinski <[email protected]> 2010-08-24 12:25:43 --- That did the job.
Thank you.
Signature · 11 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d --