radeon: set dma bufs bo type to a kernel type
authorDave Airlie <airlied@redhat.com>
Sun, 2 Nov 2008 23:49:41 +0000 (09:49 +1000)
committerDave Airlie <airlied@redhat.com>
Sun, 2 Nov 2008 23:49:41 +0000 (09:49 +1000)
linux-core/radeon_gem.c

index a785041..f39e8b4 100644 (file)
@@ -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);