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 278f646bc18e..6740ed24358f 100644
--- a/drivers/gpu/drm/radeon/r600.c
+++ b/drivers/gpu/drm/radeon/r600.c
@@ -394,11 +394,11 @@ int r600_mc_init(struct radeon_device *rdev)
394 * AGP so that GPU can catch out of VRAM/AGP access 394 * AGP so that GPU can catch out of VRAM/AGP access
395 */ 395 */
396 if (rdev->mc.gtt_location > rdev->mc.mc_vram_size) { 396 if (rdev->mc.gtt_location > rdev->mc.mc_vram_size) {
397 /* Enought place before */ 397 /* Enough place before */
398 rdev->mc.vram_location = rdev->mc.gtt_location - 398 rdev->mc.vram_location = rdev->mc.gtt_location -
399 rdev->mc.mc_vram_size; 399 rdev->mc.mc_vram_size;
400 } else if (tmp > rdev->mc.mc_vram_size) { 400 } else if (tmp > rdev->mc.mc_vram_size) {
401 /* Enought place after */ 401 /* Enough place after */
402 rdev->mc.vram_location = rdev->mc.gtt_location + 402 rdev->mc.vram_location = rdev->mc.gtt_location +
403 rdev->mc.gtt_size; 403 rdev->mc.gtt_size;
404 } else { 404 } else {