Skip to content

Commit c5ee872

Browse files
Yonggang Wualexdeucher
authored andcommitted
drm/radeon: Fix format error
Fix the error(s): ERROR: space required before the open parenthesis '(' Signed-off-by: Yonggang Wu <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent fc7f1d9 commit c5ee872

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/gpu/drm/radeon/r300.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ void r300_ring_start(struct radeon_device *rdev, struct radeon_ring *ring)
249249

250250
/* Sub pixel 1/12 so we can have 4K rendering according to doc */
251251
gb_tile_config = (R300_ENABLE_TILING | R300_TILE_SIZE_16);
252-
switch(rdev->num_gb_pipes) {
252+
switch (rdev->num_gb_pipes) {
253253
case 2:
254254
gb_tile_config |= R300_PIPE_COUNT_R300;
255255
break;
@@ -638,7 +638,7 @@ static int r300_packet0_check(struct radeon_cs_parser *p,
638638
track = (struct r100_cs_track *)p->track;
639639
idx_value = radeon_get_ib_value(p, idx);
640640

641-
switch(reg) {
641+
switch (reg) {
642642
case AVIVO_D1MODE_VLINE_START_END:
643643
case RADEON_CRTC_GUI_TRIG_VLINE:
644644
r = r100_cs_packet_parse_vline(p);
@@ -1180,7 +1180,7 @@ static int r300_packet3_check(struct radeon_cs_parser *p,
11801180
ib = p->ib.ptr;
11811181
idx = pkt->idx + 1;
11821182
track = (struct r100_cs_track *)p->track;
1183-
switch(pkt->opcode) {
1183+
switch (pkt->opcode) {
11841184
case PACKET3_3D_LOAD_VBPNTR:
11851185
r = r100_packet3_load_vbpntr(p, pkt, idx);
11861186
if (r)

0 commit comments

Comments
 (0)