Commit ab2533d4 authored by GuoHua Chen's avatar GuoHua Chen Committed by Alex Deucher

drm/radeon: Clean up errors in rs400.c

Fix the following errors reported by checkpatch:

ERROR: space required before the open parenthesis '('
Signed-off-by: default avatarGuoHua Chen <chenguohua_716@163.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 9f9a4085
...@@ -86,7 +86,7 @@ int rs400_gart_init(struct radeon_device *rdev) ...@@ -86,7 +86,7 @@ int rs400_gart_init(struct radeon_device *rdev)
return 0; return 0;
} }
/* Check gart size */ /* Check gart size */
switch(rdev->mc.gtt_size / (1024 * 1024)) { switch (rdev->mc.gtt_size / (1024 * 1024)) {
case 32: case 32:
case 64: case 64:
case 128: case 128:
...@@ -116,7 +116,7 @@ int rs400_gart_enable(struct radeon_device *rdev) ...@@ -116,7 +116,7 @@ int rs400_gart_enable(struct radeon_device *rdev)
tmp |= RS690_DIS_OUT_OF_PCI_GART_ACCESS; tmp |= RS690_DIS_OUT_OF_PCI_GART_ACCESS;
WREG32_MC(RS690_AIC_CTRL_SCRATCH, tmp); WREG32_MC(RS690_AIC_CTRL_SCRATCH, tmp);
/* Check gart size */ /* Check gart size */
switch(rdev->mc.gtt_size / (1024 * 1024)) { switch (rdev->mc.gtt_size / (1024 * 1024)) {
case 32: case 32:
size_reg = RS480_VA_SIZE_32MB; size_reg = RS480_VA_SIZE_32MB;
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment