xserver: Branch 'server-1.3-branch'

Keith Packard keithp at kemper.freedesktop.org
Thu Mar 8 06:52:34 EET 2007


 hw/xfree86/modes/xf86Crtc.c |    3 +++
 1 files changed, 3 insertions(+)

New commits:
diff-tree ae9d5aa479dd50cc81b755079fcf96a0d02f135a (from a59c31b0f7b94ed1f395c7586c37ef5fe7ba2a25)
Author: Keith Packard <keithp at guitar.keithp.com>
Date:   Wed Mar 7 20:52:31 2007 -0800

    Remove stale monitor data when output becomes disconnected.
    
    Remove parsed EDID and EDID property from disconnected outputs.

diff --git a/hw/xfree86/modes/xf86Crtc.c b/hw/xfree86/modes/xf86Crtc.c
index 2794496..1a42920 100644
--- a/hw/xfree86/modes/xf86Crtc.c
+++ b/hw/xfree86/modes/xf86Crtc.c
@@ -1158,7 +1158,10 @@ xf86ProbeOutputModes (ScrnInfoPtr scrn, 
 	output->status = (*output->funcs->detect)(output);
 
 	if (output->status == XF86OutputStatusDisconnected)
+	{
+	    xf86OutputSetEDID (output, NULL);
 	    continue;
+	}
 
 	memset (&mon_rec, '\0', sizeof (mon_rec));
 	



More information about the xorg-commit mailing list