xserver-multidpi/hw/xfree86/modes
Keith Packard de86a3a344 Allow for missing or disabled compat_output
When the compat output is missing (I don't think this is actually
possible), or is disabled (and hence has no crtc), we would like to
avoid dereferencing NULL pointers. This patch creates inline functions
to extract the current compat output, crtc or associated RandR crtc
structure, carefully checking for NULL pointers everywhere.

Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
2010-02-25 12:48:27 -08:00
..
Makefile.am displayid: Implement mode decoding. 2009-07-17 14:48:55 -04:00
xf86Crtc.c Allow for missing or disabled compat_output 2010-02-25 12:48:27 -08:00
xf86Crtc.h Allow for missing or disabled compat_output 2010-02-25 12:48:27 -08:00
xf86Cursors.c Fix sporadic segfault on resume due to accidentally freeing cursor. 2009-09-22 11:38:22 +10:00
xf86cvt.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
xf86DiDGA.c Re-fix DGA removal. 2009-10-01 11:02:25 +10:00
xf86DisplayIDModes.c displayid: Implement mode decoding. 2009-07-17 14:48:55 -04:00
xf86EdidModes.c xfree86: Edid quirk for Philips LCD LP154W01 2009-11-20 07:21:26 -08:00
xf86gtf.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
xf86Modes.c modes: Fix duplicate detection, and do it more consistently 2009-10-29 14:06:00 -04:00
xf86Modes.h modes: Fix duplicate detection, and do it more consistently 2009-10-29 14:06:00 -04:00
xf86RandR12.c Allow for missing or disabled compat_output 2010-02-25 12:48:27 -08:00
xf86RandR12.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
xf86Rename.h Allow drivers to set crtc transforms. 2008-11-24 13:24:40 -08:00
xf86Rotate.c rotate: drop unwrapping inside block handler. 2009-10-02 12:15:58 +10:00