summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-11-03 09:49:41 +1000
committerDave Airlie <airlied@redhat.com>2008-11-03 09:49:41 +1000
commit49551f87fcd21e10a4485b3e00af47f0b9f94a0f (patch)
tree77b4e6ca56a144e28d786acc40e74dc076983c87
parentcdddff835510eca179ac289f41a1771093939901 (diff)
radeon: set dma bufs bo type to a kernel type
-rw-r--r--linux-core/radeon_gem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/radeon_gem.c b/linux-core/radeon_gem.c
index a785041e..f39e8b47 100644
--- a/linux-core/radeon_gem.c
+++ b/linux-core/radeon_gem.c
@@ -1502,7 +1502,7 @@ static int radeon_gem_dma_bufs_init(struct drm_device *dev)
if (ret < 0)
return ret;
- ret = drm_buffer_object_create(dev, size, drm_bo_type_device,
+ ret = drm_buffer_object_create(dev, size, drm_bo_type_kernel,
DRM_BO_FLAG_READ | DRM_BO_FLAG_WRITE | DRM_BO_FLAG_NO_EVICT |
DRM_BO_FLAG_MEM_TT | DRM_BO_FLAG_MAPPABLE, 0,
0, 0, &dev_priv->mm.dma_bufs.bo);