aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/drm/radeon/radeon_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_device.c b/drivers/gpu/drm/radeon/radeon_device.c
index 6fbab1582112..55065d844205 100644
--- a/drivers/gpu/drm/radeon/radeon_device.c
+++ b/drivers/gpu/drm/radeon/radeon_device.c
@@ -1126,7 +1126,7 @@ static void radeon_check_arguments(struct radeon_device *rdev)
1126 if (radeon_vm_block_size == -1) { 1126 if (radeon_vm_block_size == -1) {
1127 1127
1128 /* Total bits covered by PD + PTs */ 1128 /* Total bits covered by PD + PTs */
1129 unsigned bits = ilog2(radeon_vm_size) + 17; 1129 unsigned bits = ilog2(radeon_vm_size) + 18;
1130 1130
1131 /* Make sure the PD is 4K in size up to 8GB address space. 1131 /* Make sure the PD is 4K in size up to 8GB address space.
1132 Above that split equal between PD and PTs */ 1132 Above that split equal between PD and PTs */