drm/radeon: Fix format error
authorYonggang Wu <wuyonggang001@208suo.com>
Tue, 25 Jul 2023 04:43:48 +0000 (12:43 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Jul 2023 18:59:29 +0000 (14:59 -0400)
Fix the error(s):

ERROR: space required before the open parenthesis '('

Signed-off-by: Yonggang Wu <wuyonggang001@208suo.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/r300.c

index 9c1a92fa2af6dd162ac6508e210403f409232b7b..25201b9a5aae7d88faf66eaa248806517e1818e8 100644 (file)
@@ -249,7 +249,7 @@ void r300_ring_start(struct radeon_device *rdev, struct radeon_ring *ring)
 
        /* Sub pixel 1/12 so we can have 4K rendering according to doc */
        gb_tile_config = (R300_ENABLE_TILING | R300_TILE_SIZE_16);
-       switch(rdev->num_gb_pipes) {
+       switch (rdev->num_gb_pipes) {
        case 2:
                gb_tile_config |= R300_PIPE_COUNT_R300;
                break;
@@ -638,7 +638,7 @@ static int r300_packet0_check(struct radeon_cs_parser *p,
        track = (struct r100_cs_track *)p->track;
        idx_value = radeon_get_ib_value(p, idx);
 
-       switch(reg) {
+       switch (reg) {
        case AVIVO_D1MODE_VLINE_START_END:
        case RADEON_CRTC_GUI_TRIG_VLINE:
                r = r100_cs_packet_parse_vline(p);
@@ -1180,7 +1180,7 @@ static int r300_packet3_check(struct radeon_cs_parser *p,
        ib = p->ib.ptr;
        idx = pkt->idx + 1;
        track = (struct r100_cs_track *)p->track;
-       switch(pkt->opcode) {
+       switch (pkt->opcode) {
        case PACKET3_3D_LOAD_VBPNTR:
                r = r100_packet3_load_vbpntr(p, pkt, idx);
                if (r)