]>
Commit | Line | Data |
---|---|---|
1 | From ca85ebddd804305322014c6a71b4122a56c5e634 Mon Sep 17 00:00:00 2001 | |
2 | From: Adam Jackson <ajax@redhat.com> | |
3 | Date: Thu, 4 Mar 2010 15:18:38 +1000 | |
4 | Subject: [PATCH] tweak default mode list yet again | |
5 | ||
6 | --- | |
7 | hw/xfree86/modes/xf86Crtc.c | 5 ++++- | |
8 | 1 files changed, 4 insertions(+), 1 deletions(-) | |
9 | ||
10 | diff --git a/hw/xfree86/modes/xf86Crtc.c b/hw/xfree86/modes/xf86Crtc.c | |
11 | index 03277be..571ffd0 100644 | |
12 | --- a/hw/xfree86/modes/xf86Crtc.c | |
13 | +++ b/hw/xfree86/modes/xf86Crtc.c | |
14 | @@ -1582,7 +1582,7 @@ xf86ProbeOutputModes (ScrnInfoPtr scrn, int maxX, int maxY) | |
15 | int min_clock = 0; | |
16 | int max_clock = 0; | |
17 | double clock; | |
18 | - Bool add_default_modes = TRUE; | |
19 | + Bool add_default_modes; | |
20 | Bool debug_modes = config->debug_modes || | |
21 | xf86Initialising; | |
22 | enum det_monrec_source sync_source = sync_default; | |
23 | @@ -1628,6 +1628,9 @@ xf86ProbeOutputModes (ScrnInfoPtr scrn, int maxX, int maxY) | |
24 | } | |
25 | ||
26 | output_modes = (*output->funcs->get_modes) (output); | |
27 | + | |
28 | + /* if the driver found modes, don't second-guess it */ | |
29 | + add_default_modes = (output_modes == NULL); | |
30 | ||
31 | edid_monitor = output->MonInfo; | |
32 | ||
33 | -- | |
34 | 1.6.6.1 | |
35 |