projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b397207
)
drm/radeon: page table BOs are kernel allocations
author
Christian König
<christian.koenig@amd.com>
Wed, 2 Jul 2014 19:28:10 +0000
(21:28 +0200)
committer
Alex Deucher
<alexander.deucher@amd.com>
Wed, 2 Jul 2014 19:52:21 +0000
(15:52 -0400)
Userspace shouldn't be able to access them.
Signed-off-by: Christian König <christian.koenig@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_vm.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/radeon/radeon_vm.c
b/drivers/gpu/drm/radeon/radeon_vm.c
index
899d912
..
eecff6b
100644
(file)
--- a/
drivers/gpu/drm/radeon/radeon_vm.c
+++ b/
drivers/gpu/drm/radeon/radeon_vm.c
@@
-495,7
+495,7
@@
int radeon_vm_bo_set_addr(struct radeon_device *rdev,
mutex_unlock(&vm->mutex);
r = radeon_bo_create(rdev, RADEON_VM_PTE_COUNT * 8,
- RADEON_GPU_PAGE_SIZE,
false,
+ RADEON_GPU_PAGE_SIZE,
true,
RADEON_GEM_DOMAIN_VRAM, NULL, &pt);
if (r)
return r;
@@
-992,7
+992,7
@@
int radeon_vm_init(struct radeon_device *rdev, struct radeon_vm *vm)
return -ENOMEM;
}
- r = radeon_bo_create(rdev, pd_size, align,
fals
e,
+ r = radeon_bo_create(rdev, pd_size, align,
tru
e,
RADEON_GEM_DOMAIN_VRAM, NULL,
&vm->page_directory);
if (r)