diff options
Diffstat (limited to 'drivers/gpu/drm/radeon/rv770.c')
-rw-r--r-- | drivers/gpu/drm/radeon/rv770.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/radeon/rv770.c b/drivers/gpu/drm/radeon/rv770.c index 595ac638039d..9e9826ace305 100644 --- a/drivers/gpu/drm/radeon/rv770.c +++ b/drivers/gpu/drm/radeon/rv770.c | |||
@@ -807,11 +807,11 @@ int rv770_mc_init(struct radeon_device *rdev) | |||
807 | * AGP so that GPU can catch out of VRAM/AGP access | 807 | * AGP so that GPU can catch out of VRAM/AGP access |
808 | */ | 808 | */ |
809 | if (rdev->mc.gtt_location > rdev->mc.mc_vram_size) { | 809 | if (rdev->mc.gtt_location > rdev->mc.mc_vram_size) { |
810 | /* Enought place before */ | 810 | /* Enough place before */ |
811 | rdev->mc.vram_location = rdev->mc.gtt_location - | 811 | rdev->mc.vram_location = rdev->mc.gtt_location - |
812 | rdev->mc.mc_vram_size; | 812 | rdev->mc.mc_vram_size; |
813 | } else if (tmp > rdev->mc.mc_vram_size) { | 813 | } else if (tmp > rdev->mc.mc_vram_size) { |
814 | /* Enought place after */ | 814 | /* Enough place after */ |
815 | rdev->mc.vram_location = rdev->mc.gtt_location + | 815 | rdev->mc.vram_location = rdev->mc.gtt_location + |
816 | rdev->mc.gtt_size; | 816 | rdev->mc.gtt_size; |
817 | } else { | 817 | } else { |