summaryrefslogtreecommitdiff
path: root/src/i830_display.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2006-12-19 16:06:13 -0800
committerEric Anholt <eric@anholt.net>2006-12-19 16:07:14 -0800
commitc0a0ddc0ce69b60ac3a58d45cb32ccd0e0bfb0c9 (patch)
tree34a2bc09a638595e42bd567a354b0179f57ff136 /src/i830_display.c
parent3c86fdda1d09fd22d4c15a8e412611db4cea7dcf (diff)
Bug #9382: Save the CRTC's desired mode in the old RandR 1.0 mode set path.
Diffstat (limited to 'src/i830_display.c')
-rw-r--r--src/i830_display.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/i830_display.c b/src/i830_display.c
index 88f6f163..e3fdf6d2 100644
--- a/src/i830_display.c
+++ b/src/i830_display.c
@@ -1013,6 +1013,7 @@ i830SetMode(ScrnInfoPtr pScrn, DisplayModePtr pMode)
TRUE);
if (!ok)
goto done;
+ crtc->desiredMode = *pMode;
}
xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Mode bandwidth is %d Mpixel/s\n",