diff options
author | Christian König <christian.koenig@amd.com> | 2014-06-29 12:08:17 +0200 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2014-06-29 12:09:11 +0200 |
commit | 6460b9e008c1a43e2f790e426fe6e296897dd44e (patch) | |
tree | e061d92203ca176514338b141b75ff5b03614cbb | |
parent | 688f3916e14e80256bdd36c5b6941752809c59ea (diff) |
drm/radeon: set the readable bit on cleared PTEstesting-3.15
Only for debugging.
Signed-off-by: Christian König <christian.koenig@amd.com>
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_vm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_vm.c b/drivers/gpu/drm/radeon/radeon_vm.c index e8ffa0cdd179..648367957ba5 100644 --- a/drivers/gpu/drm/radeon/radeon_vm.c +++ b/drivers/gpu/drm/radeon/radeon_vm.c @@ -382,7 +382,8 @@ static int radeon_vm_clear_bo(struct radeon_device *rdev, ib.length_dw = 0; - radeon_asic_vm_set_page(rdev, &ib, addr, 0, entries, 0, 0); + radeon_asic_vm_set_page(rdev, &ib, addr, 0, entries, 0, + R600_PTE_READABLE); r = radeon_ib_schedule(rdev, &ib, NULL); if (r) |