aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_object.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_object.c')
-rw-r--r--drivers/gpu/drm/radeon/radeon_object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_object.c b/drivers/gpu/drm/radeon/radeon_object.c
index ca79431b2c1c..6a7f3c6ffbbe 100644
--- a/drivers/gpu/drm/radeon/radeon_object.c
+++ b/drivers/gpu/drm/radeon/radeon_object.c
@@ -145,7 +145,7 @@ int radeon_bo_create(struct radeon_device *rdev,
145 145
146 size = ALIGN(size, PAGE_SIZE); 146 size = ALIGN(size, PAGE_SIZE);
147 147
148 rdev->mman.bdev.dev_mapping = rdev->ddev->dev_mapping; 148 rdev->mman.bdev.dev_mapping = rdev->ddev->anon_inode->i_mapping;
149 if (kernel) { 149 if (kernel) {
150 type = ttm_bo_type_kernel; 150 type = ttm_bo_type_kernel;
151 } else if (sg) { 151 } else if (sg) {