* [PATCH] drm/radeon: Fix format error
[not found] <20230725043946.33470-1-zhanglibing@cdjrlc.com>
@ 2023-07-25 4:43 ` wuyonggang001
2023-07-25 15:26 ` Alex Deucher
0 siblings, 1 reply; 2+ messages in thread
From: wuyonggang001 @ 2023-07-25 4:43 UTC (permalink / raw)
To: alexander.deucher; +Cc: amd-gfx, dri-devel, linux-kernel
Fix the error(s):
ERROR: space required before the open parenthesis '('
Signed-off-by: Yonggang Wu <wuyonggang001@208suo.com>
---
drivers/gpu/drm/radeon/r300.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/radeon/r300.c
b/drivers/gpu/drm/radeon/r300.c
index 9c1a92fa2af6..25201b9a5aae 100644
--- a/drivers/gpu/drm/radeon/r300.c
+++ b/drivers/gpu/drm/radeon/r300.c
@@ -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)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] drm/radeon: Fix format error
2023-07-25 4:43 ` [PATCH] drm/radeon: Fix format error wuyonggang001
@ 2023-07-25 15:26 ` Alex Deucher
0 siblings, 0 replies; 2+ messages in thread
From: Alex Deucher @ 2023-07-25 15:26 UTC (permalink / raw)
To: wuyonggang001; +Cc: alexander.deucher, dri-devel, amd-gfx, linux-kernel
Applied. Thanks!
On Tue, Jul 25, 2023 at 3:19 AM <wuyonggang001@208suo.com> wrote:
>
> Fix the error(s):
>
> ERROR: space required before the open parenthesis '('
>
> Signed-off-by: Yonggang Wu <wuyonggang001@208suo.com>
> ---
> drivers/gpu/drm/radeon/r300.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/radeon/r300.c
> b/drivers/gpu/drm/radeon/r300.c
> index 9c1a92fa2af6..25201b9a5aae 100644
> --- a/drivers/gpu/drm/radeon/r300.c
> +++ b/drivers/gpu/drm/radeon/r300.c
> @@ -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)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-07-25 15:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20230725043946.33470-1-zhanglibing@cdjrlc.com>
2023-07-25 4:43 ` [PATCH] drm/radeon: Fix format error wuyonggang001
2023-07-25 15:26 ` Alex Deucher
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®