summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2009-09-26 06:03:51 +1000
committerAlex Deucher <alexdeucher@gmail.com>2009-09-25 17:06:49 -0400
commitecc192e2e5d72090bb35b142c6dc4639ec2542f0 (patch)
treebf72f20386eca327243aa32a34a03772c5749e31
parentd1d3681748251fb7e95b8d56e6c37847ca6b1a8d (diff)
radeon: fix zaphod
-rw-r--r--src/radeon_driver.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c
index 551cb7fb..800397c0 100644
--- a/src/radeon_driver.c
+++ b/src/radeon_driver.c
@@ -3727,6 +3727,8 @@ Bool RADEONScreenInit(int scrnIndex, ScreenPtr pScreen,
memset(info->FB + pScrn->fbOffset, 0,
pScrn->virtualY * pScrn->displayWidth * info->CurrentLayout.pixel_bytes);
+ pScrn->pScreen = pScreen;
+
/* set the modes with desired rotation, etc. */
if (!xf86SetDesiredModes (pScrn))
return FALSE;