xserver/hw/xfree86/modes
Keith Packard ae2cbbff9f Use scrn->virtualX/virtualY in xf86CrtcFitsScreen. Fix bug 19017.
pScreen->width/height are not initialized when doing initial mode setting,
which makes this function incorrectly fail. Using scrn->virtualX should work
in all cases though.

Bug 19017 reports a crash in xf86CrtcSetModeTransform when doing a modeset
for output probing, long before the screen array is initialized; that was
caused by a work-around to set pScreen->width/height so that xf86CrtcFitsScreen
could find the right values.

Signed-off-by: Keith Packard <keithp@keithp.com>
(cherry picked from commit fde2f96103)
2008-12-15 11:47:57 -08:00
..
Makefile.am Add xf86GTFMode(). 2008-02-29 16:01:15 -05:00
xf86Crtc.c Use scrn->virtualX/virtualY in xf86CrtcFitsScreen. Fix bug 19017. 2008-12-15 11:47:57 -08:00
xf86Crtc.h Clean up rotation data when crtc is turned off 2008-12-15 11:46:47 -08:00
xf86Cursors.c xf86Cursors: xf86_reload_cursors shouldn't unconditionally show hwcursor (#14820) 2008-12-02 23:08:01 -08:00
xf86cvt.c Remove the duplicate copy of xf86cvt.c 2008-02-29 16:01:15 -05:00
xf86DiDGA.c Add _X_EXPORT to exported functions in hw/xfree86/modes/* 2007-08-22 19:26:34 -04:00
xf86EdidModes.c Fix const-mismatch warnings for DisplayModePtr's 2008-11-25 15:51:17 -08:00
xf86gtf.c Get modes code building with old X servers again. 2008-03-06 14:42:00 -08:00
xf86Modes.c Fix const-mismatch warnings for DisplayModePtr's 2008-11-25 15:51:17 -08:00
xf86Modes.h Fix const-mismatch warnings for DisplayModePtr's 2008-11-25 15:51:17 -08:00
xf86RandR12.c randr: Allow panning to be disabled per axis 2008-12-09 20:57:13 -08:00
xf86RandR12.h Allow drivers to set crtc transforms. 2008-11-24 13:24:40 -08:00
xf86Rename.h Allow drivers to set crtc transforms. 2008-11-24 13:24:40 -08:00
xf86Rotate.c Use scrn->virtualX/virtualY in xf86CrtcFitsScreen. Fix bug 19017. 2008-12-15 11:47:57 -08:00