summaryrefslogtreecommitdiff
path: root/hw/xfree86/modes/xf86Modes.h
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2008-05-19 11:22:19 -0400
committerAdam Jackson <ajax@redhat.com>2008-05-19 11:22:19 -0400
commit0178b6a4abed0df3e90ba393709ed566105e7c2c (patch)
treeadedea35a31ad82394211670634dad2e93c7352b /hw/xfree86/modes/xf86Modes.h
parentbb687465d0c5aef3cc1c865e6ea67c01a8b417fb (diff)
Fix reduced-blanking mode filtering in RANDR 1.2.
If the monitor isn't reduced-blanking (either through EDID logic, or config file setting), then remove RB modes from the default pool. Any RB modes from the driver and config file pools will stick around though; you asked for them, you got them.
Diffstat (limited to 'hw/xfree86/modes/xf86Modes.h')
-rw-r--r--hw/xfree86/modes/xf86Modes.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/xfree86/modes/xf86Modes.h b/hw/xfree86/modes/xf86Modes.h
index 5d49c9314..acdea65d8 100644
--- a/hw/xfree86/modes/xf86Modes.h
+++ b/hw/xfree86/modes/xf86Modes.h
@@ -85,6 +85,9 @@ xf86ValidateModesBandwidth(ScrnInfoPtr pScrn, DisplayModePtr modeList,
unsigned int bandwidth, int depth);
void
+xf86ValidateModesReducedBlanking(ScrnInfoPtr pScrn, DisplayModePtr modeList);
+
+void
xf86PruneInvalidModes(ScrnInfoPtr pScrn, DisplayModePtr *modeList,
Bool verbose);