summaryrefslogtreecommitdiff
path: root/linux-core/i915_drv.c
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-10-17 11:05:37 +0200
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-10-17 11:05:37 +0200
commit5881ce1b91034fbdf81dda37a23215cfc1310cdf (patch)
tree41b4608b50b73df6bac657b914323350f47453f9 /linux-core/i915_drv.c
parent5b2a60f550090a41c13483ceaaa1a84d3a9257f8 (diff)
Extend generality for more memory types.
Fix up init and destruction code.
Diffstat (limited to 'linux-core/i915_drv.c')
-rw-r--r--linux-core/i915_drv.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/linux-core/i915_drv.c b/linux-core/i915_drv.c
index 1263bcab..2c5b43d0 100644
--- a/linux-core/i915_drv.c
+++ b/linux-core/i915_drv.c
@@ -51,9 +51,8 @@ static drm_fence_driver_t i915_fence_driver = {
#endif
#ifdef I915_HAVE_BUFFER
static drm_bo_driver_t i915_bo_driver = {
- .vram_map = NULL,
- .cached_vram = 0,
- .cached_tt = 1,
+ .iomap = {NULL, NULL},
+ .cached = {1, 1},
.create_ttm_backend_entry = i915_create_ttm_backend_entry,
.fence_type = i915_fence_types,
.invalidate_caches = i915_invalidate_caches