The VirtualSize inferrence was originally conceived in
commit 81ef1b6d6063c20db4963abf7b7848e235aa4ebb
Author: Adam Jackson <[email protected]>
Date: Thu Sep 14 19:18:58 2006 -0400
Mark EDID modes as driver modes. Infer virtual size from driver modes.
and made sure to prefer the modes reported by the driver.
This regressed in
commit 7bb653bedceb6180a0361ead1c612839e776ce98
Author: Olivier Fourdan <[email protected]>
Date: Mon Oct 18 15:59:35 2010 -0400
modes: improve aspect ratio match for classic drivers
which switched the VirtualSize inferrence to select the largest
builtin mode. This has the side-effect of causing X to reject all valid
driver modes larger than the builtins.
Reported-by: Felix Miata <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Cc: Adam Jackson <[email protected]>
Cc: Olivier Fourdan <[email protected]>
---
hw/xfree86/common/xf86Mode.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/xfree86/common/xf86Mode.c b/hw/xfree86/common/xf86Mode.c
index 706ab64..2a11590 100644
--- a/hw/xfree86/common/xf86Mode.c
+++ b/hw/xfree86/common/xf86Mode.c
@@ -1869,10 +1869,10 @@ xf86ValidateModes(ScrnInfoPtr scrp, DisplayModePtr
availModes,
}
if (vx < virtX || vy < virtY) {
const int types[] = {
- M_T_BUILTIN | M_T_PREFERRED,
- M_T_BUILTIN,
M_T_DRIVER | M_T_PREFERRED,
M_T_DRIVER,
+ M_T_BUILTIN | M_T_PREFERRED,
+ M_T_BUILTIN,
0
};
const int ntypes = sizeof(types) / sizeof(int);
--
1.8.4.rc3
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel