2010-01-21 07:31:41 +00:00
|
|
|
From 8cdd51d13aa003c888cd2a3a42664e2dc60c354c Mon Sep 17 00:00:00 2001
|
2009-08-21 18:33:32 +00:00
|
|
|
From: Adam Jackson <ajax@redhat.com>
|
2010-01-21 07:31:41 +00:00
|
|
|
Date: Wed, 20 Jan 2010 14:55:12 +1300
|
2009-08-21 18:33:32 +00:00
|
|
|
Subject: [PATCH] tweak default mode list yet again
|
|
|
|
|
|
|
|
---
|
|
|
|
hw/xfree86/modes/xf86Crtc.c | 5 ++++-
|
|
|
|
1 files changed, 4 insertions(+), 1 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/hw/xfree86/modes/xf86Crtc.c b/hw/xfree86/modes/xf86Crtc.c
|
2010-01-21 07:31:41 +00:00
|
|
|
index 23f4a87..0ce631a 100644
|
2009-08-21 18:33:32 +00:00
|
|
|
--- a/hw/xfree86/modes/xf86Crtc.c
|
|
|
|
+++ b/hw/xfree86/modes/xf86Crtc.c
|
2010-01-21 07:31:41 +00:00
|
|
|
@@ -1578,7 +1578,7 @@ xf86ProbeOutputModes (ScrnInfoPtr scrn, int maxX, int maxY)
|
2009-08-21 18:33:32 +00:00
|
|
|
int min_clock = 0;
|
|
|
|
int max_clock = 0;
|
|
|
|
double clock;
|
|
|
|
- Bool add_default_modes = TRUE;
|
|
|
|
+ Bool add_default_modes;
|
2010-01-21 07:31:41 +00:00
|
|
|
Bool debug_modes = config->debug_modes ||
|
|
|
|
xf86Initialising;
|
2009-08-21 18:33:32 +00:00
|
|
|
enum { sync_config, sync_edid, sync_default } sync_source = sync_default;
|
2010-01-21 07:31:41 +00:00
|
|
|
@@ -1623,6 +1623,9 @@ xf86ProbeOutputModes (ScrnInfoPtr scrn, int maxX, int maxY)
|
2009-08-21 18:33:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
output_modes = (*output->funcs->get_modes) (output);
|
|
|
|
+
|
|
|
|
+ /* if the driver found modes, don't second-guess it */
|
|
|
|
+ add_default_modes = (output_modes == NULL);
|
|
|
|
|
|
|
|
edid_monitor = output->MonInfo;
|
|
|
|
|
|
|
|
--
|
2010-01-21 07:31:41 +00:00
|
|
|
1.6.6
|
2009-08-21 18:33:32 +00:00
|
|
|
|