summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2007-03-27 18:01:31 +1000
committerDave Airlie <airlied@linux.ie>2007-03-27 18:01:31 +1000
commit81b811da376fed5363f25e82e5285455df3e8157 (patch)
treecc4122d0ce5c8998fc994c62acb133411baa0172 /linux-core
parent72a1190f6d9acea5fb789bec706c842604954049 (diff)
drm/i915: set the bo up at firstopen time not after DMA init
This is required to use TTM to allocate the ring buffer.
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/i915_drv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-core/i915_drv.c b/linux-core/i915_drv.c
index 56e5998f..7fdb0839 100644
--- a/linux-core/i915_drv.c
+++ b/linux-core/i915_drv.c
@@ -79,6 +79,7 @@ static struct drm_driver driver = {
DRIVER_HAVE_IRQ | DRIVER_IRQ_SHARED | DRIVER_IRQ_VBL |
DRIVER_IRQ_VBL2,
.load = i915_driver_load,
+ .firstopen = i915_driver_firstopen,
.lastclose = i915_driver_lastclose,
.preclose = i915_driver_preclose,
.device_is_agp = i915_driver_device_is_agp,