summaryrefslogtreecommitdiff
path: root/src/r128_driver.c
diff options
context:
space:
mode:
authorAlex Deucher <alex@t41p.hsd1.va.comcast.net>2007-07-19 19:01:42 -0400
committerAlex Deucher <alex@t41p.hsd1.va.comcast.net>2007-07-19 19:01:42 -0400
commit18b00b47a483e7854727e99126808ddf361e7a4a (patch)
tree0bf480a06f11efd33bfb6d0f66124e157617be30 /src/r128_driver.c
parent882fe7631586b0a7919f808588a2ea4fb555f7e8 (diff)
R128: don't clip modes to panel on laptops when only using the CRT port
fixes bug 5832
Diffstat (limited to 'src/r128_driver.c')
-rw-r--r--src/r128_driver.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/r128_driver.c b/src/r128_driver.c
index b03bd42b..6e26a6ef 100644
--- a/src/r128_driver.c
+++ b/src/r128_driver.c
@@ -4257,6 +4257,9 @@ ModeStatus R128ValidMode(int scrnIndex, DisplayModePtr mode,
ScrnInfoPtr pScrn = xf86Screens[scrnIndex];
R128InfoPtr info = R128PTR(pScrn);
+ if (info->BIOSDisplay == R128_BIOS_DISPLAY_CRT)
+ return MODE_OK;
+
if(info->isDFP) {
if(info->PanelXRes < mode->CrtcHDisplay ||
info->PanelYRes < mode->CrtcVDisplay)