aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/r600.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/radeon/r600.c')
-rw-r--r--drivers/gpu/drm/radeon/r600.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/radeon/r600.c b/drivers/gpu/drm/radeon/r600.c
index 609719490ec2..00c739c44848 100644
--- a/drivers/gpu/drm/radeon/r600.c
+++ b/drivers/gpu/drm/radeon/r600.c
@@ -389,11 +389,11 @@ int r600_mc_init(struct radeon_device *rdev)
389 * AGP so that GPU can catch out of VRAM/AGP access 389 * AGP so that GPU can catch out of VRAM/AGP access
390 */ 390 */
391 if (rdev->mc.gtt_location > rdev->mc.mc_vram_size) { 391 if (rdev->mc.gtt_location > rdev->mc.mc_vram_size) {
392 /* Enought place before */ 392 /* Enough place before */
393 rdev->mc.vram_location = rdev->mc.gtt_location - 393 rdev->mc.vram_location = rdev->mc.gtt_location -
394 rdev->mc.mc_vram_size; 394 rdev->mc.mc_vram_size;
395 } else if (tmp > rdev->mc.mc_vram_size) { 395 } else if (tmp > rdev->mc.mc_vram_size) {
396 /* Enought place after */ 396 /* Enough place after */
397 rdev->mc.vram_location = rdev->mc.gtt_location + 397 rdev->mc.vram_location = rdev->mc.gtt_location +
398 rdev->mc.gtt_size; 398 rdev->mc.gtt_size;
399 } else { 399 } else {