summaryrefslogtreecommitdiff
path: root/src/i830_driver.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2010-03-04 10:23:12 -0800
committerEric Anholt <eric@anholt.net>2010-03-04 11:25:12 -0800
commite37b562083aa3293e0c009171724a3f122d8a32d (patch)
treef78a80129edc6460eadd1f0318d786350d8307ea /src/i830_driver.c
parenta36bdaba6136054ae7c67943ca0215cfd177bc5b (diff)
Init CRTC cursors with CRTC setup instead of i830_memory.
Diffstat (limited to 'src/i830_driver.c')
-rw-r--r--src/i830_driver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c
index e7bfb9b2..6381549f 100644
--- a/src/i830_driver.c
+++ b/src/i830_driver.c
@@ -704,6 +704,8 @@ static Bool I830DrmModeInit(ScrnInfoPtr scrn)
{
intel_screen_private *intel = intel_get_screen_private(scrn);
+ i830_init_bufmgr(scrn);
+
if (drmmode_pre_init(scrn, intel->drmSubFD, intel->cpp) == FALSE) {
xf86DrvMsg(scrn->scrnIndex, X_ERROR,
"Kernel modesetting setup failed\n");
@@ -711,8 +713,6 @@ static Bool I830DrmModeInit(ScrnInfoPtr scrn)
return FALSE;
}
- i830_init_bufmgr(scrn);
-
return TRUE;
}