summaryrefslogtreecommitdiff
path: root/linux-core/i915_buffer.c
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-09-26 14:36:53 +0200
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-09-26 14:36:53 +0200
commit711f077b7423c1a436d703885c6d18a2ad2940aa (patch)
tree693556d60c576bde6cdbd5677c78616c33353671 /linux-core/i915_buffer.c
parent273eb7833d69db2d72430d5c96c21cebd05c206e (diff)
Allow for a driver to overload the ttm backend object methods.
Diffstat (limited to 'linux-core/i915_buffer.c')
-rw-r--r--linux-core/i915_buffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-core/i915_buffer.c b/linux-core/i915_buffer.c
index 9e8ae4a9..2d76f075 100644
--- a/linux-core/i915_buffer.c
+++ b/linux-core/i915_buffer.c
@@ -36,9 +36,9 @@
drm_ttm_backend_t *i915_create_ttm_backend_entry(drm_device_t *dev, int cached)
{
if (cached)
- return drm_agp_init_ttm_cached(dev);
+ return drm_agp_init_ttm_cached(dev, NULL);
else
- return drm_agp_init_ttm_uncached(dev);
+ return drm_agp_init_ttm_uncached(dev, NULL);
}
int i915_fence_types(uint32_t buffer_flags, uint32_t *class, uint32_t *type)