* [PATCH] drm/radeon: that open brace { should be on the previous line
[not found] <20230724031126.7694-1-xujianghui@cdjrlc.com>
@ 2023-07-24 3:12 ` sunran001
0 siblings, 0 replies; 13+ messages in thread
From: sunran001 @ 2023-07-24 3:12 UTC (permalink / raw)
To: airlied, daniel, alexander.deucher; +Cc: amd-gfx, dri-devel, linux-kernel
ERROR: that open brace { should be on the previous line
Signed-off-by: Ran Sun <sunran001@208suo.com>
---
drivers/gpu/drm/radeon/ni_dpm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/radeon/ni_dpm.c
b/drivers/gpu/drm/radeon/ni_dpm.c
index a101ba00ea30..1cf4de4cda23 100644
--- a/drivers/gpu/drm/radeon/ni_dpm.c
+++ b/drivers/gpu/drm/radeon/ni_dpm.c
@@ -625,7 +625,7 @@ static const u32 cayman_mgcg_disable[] =
};
#define CAYMAN_MGCG_DISABLE_LENGTH sizeof(cayman_mgcg_disable) / (3 *
sizeof(u32))
-static const u32 cayman_mgcg_enable[] = :621 {
+static const u32 cayman_mgcg_enable[] = : 621 {
0x0000802c, 0xc0000000, 0xffffffff,
0x000008f8, 0x00000000, 0xffffffff,
0x000008fc, 0x00000000, 0xffffffff,
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH] drm/radeon: that open brace { should be on the previous line
@ 2023-07-24 3:12 ` sunran001
0 siblings, 0 replies; 13+ messages in thread
From: sunran001 @ 2023-07-24 3:12 UTC (permalink / raw)
To: airlied, daniel, alexander.deucher; +Cc: dri-devel, amd-gfx, linux-kernel
ERROR: that open brace { should be on the previous line
Signed-off-by: Ran Sun <sunran001@208suo.com>
---
drivers/gpu/drm/radeon/ni_dpm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/radeon/ni_dpm.c
b/drivers/gpu/drm/radeon/ni_dpm.c
index a101ba00ea30..1cf4de4cda23 100644
--- a/drivers/gpu/drm/radeon/ni_dpm.c
+++ b/drivers/gpu/drm/radeon/ni_dpm.c
@@ -625,7 +625,7 @@ static const u32 cayman_mgcg_disable[] =
};
#define CAYMAN_MGCG_DISABLE_LENGTH sizeof(cayman_mgcg_disable) / (3 *
sizeof(u32))
-static const u32 cayman_mgcg_enable[] = :621 {
+static const u32 cayman_mgcg_enable[] = : 621 {
0x0000802c, 0xc0000000, 0xffffffff,
0x000008f8, 0x00000000, 0xffffffff,
0x000008fc, 0x00000000, 0xffffffff,
^ permalink raw reply related [flat|nested] 13+ messages in thread
* Re: [PATCH] drm/radeon: that open brace { should be on the previous line
2023-07-24 3:12 ` sunran001
(?)
@ 2023-07-24 21:37 ` Alex Deucher
-1 siblings, 0 replies; 13+ messages in thread
From: Alex Deucher @ 2023-07-24 21:37 UTC (permalink / raw)
To: sunran001
Cc: airlied, daniel, alexander.deucher, dri-devel, amd-gfx, linux-kernel
On Sun, Jul 23, 2023 at 11:12 PM <sunran001@208suo.com> wrote:
>
> ERROR: that open brace { should be on the previous line
>
> Signed-off-by: Ran Sun <sunran001@208suo.com>
> ---
> drivers/gpu/drm/radeon/ni_dpm.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/radeon/ni_dpm.c
> b/drivers/gpu/drm/radeon/ni_dpm.c
> index a101ba00ea30..1cf4de4cda23 100644
> --- a/drivers/gpu/drm/radeon/ni_dpm.c
> +++ b/drivers/gpu/drm/radeon/ni_dpm.c
> @@ -625,7 +625,7 @@ static const u32 cayman_mgcg_disable[] =
> };
> #define CAYMAN_MGCG_DISABLE_LENGTH sizeof(cayman_mgcg_disable) / (3 *
> sizeof(u32))
>
> -static const u32 cayman_mgcg_enable[] = :621 {
> +static const u32 cayman_mgcg_enable[] = : 621 {
Something weird here.
Alex
> 0x0000802c, 0xc0000000, 0xffffffff,
> 0x000008f8, 0x00000000, 0xffffffff,
> 0x000008fc, 0x00000000, 0xffffffff,
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH] drm/radeon: that open brace { should be on the previous line
@ 2023-07-24 21:37 ` Alex Deucher
0 siblings, 0 replies; 13+ messages in thread
From: Alex Deucher @ 2023-07-24 21:37 UTC (permalink / raw)
To: sunran001; +Cc: linux-kernel, amd-gfx, dri-devel, alexander.deucher
On Sun, Jul 23, 2023 at 11:12 PM <sunran001@208suo.com> wrote:
>
> ERROR: that open brace { should be on the previous line
>
> Signed-off-by: Ran Sun <sunran001@208suo.com>
> ---
> drivers/gpu/drm/radeon/ni_dpm.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/radeon/ni_dpm.c
> b/drivers/gpu/drm/radeon/ni_dpm.c
> index a101ba00ea30..1cf4de4cda23 100644
> --- a/drivers/gpu/drm/radeon/ni_dpm.c
> +++ b/drivers/gpu/drm/radeon/ni_dpm.c
> @@ -625,7 +625,7 @@ static const u32 cayman_mgcg_disable[] =
> };
> #define CAYMAN_MGCG_DISABLE_LENGTH sizeof(cayman_mgcg_disable) / (3 *
> sizeof(u32))
>
> -static const u32 cayman_mgcg_enable[] = :621 {
> +static const u32 cayman_mgcg_enable[] = : 621 {
Something weird here.
Alex
> 0x0000802c, 0xc0000000, 0xffffffff,
> 0x000008f8, 0x00000000, 0xffffffff,
> 0x000008fc, 0x00000000, 0xffffffff,
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH] drm/radeon: that open brace { should be on the previous line
@ 2023-07-24 21:37 ` Alex Deucher
0 siblings, 0 replies; 13+ messages in thread
From: Alex Deucher @ 2023-07-24 21:37 UTC (permalink / raw)
To: sunran001
Cc: linux-kernel, amd-gfx, dri-devel, daniel, alexander.deucher, airlied
On Sun, Jul 23, 2023 at 11:12 PM <sunran001@208suo.com> wrote:
>
> ERROR: that open brace { should be on the previous line
>
> Signed-off-by: Ran Sun <sunran001@208suo.com>
> ---
> drivers/gpu/drm/radeon/ni_dpm.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/radeon/ni_dpm.c
> b/drivers/gpu/drm/radeon/ni_dpm.c
> index a101ba00ea30..1cf4de4cda23 100644
> --- a/drivers/gpu/drm/radeon/ni_dpm.c
> +++ b/drivers/gpu/drm/radeon/ni_dpm.c
> @@ -625,7 +625,7 @@ static const u32 cayman_mgcg_disable[] =
> };
> #define CAYMAN_MGCG_DISABLE_LENGTH sizeof(cayman_mgcg_disable) / (3 *
> sizeof(u32))
>
> -static const u32 cayman_mgcg_enable[] = :621 {
> +static const u32 cayman_mgcg_enable[] = : 621 {
Something weird here.
Alex
> 0x0000802c, 0xc0000000, 0xffffffff,
> 0x000008f8, 0x00000000, 0xffffffff,
> 0x000008fc, 0x00000000, 0xffffffff,
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH] drm/radeon: that open brace { should be on the previous line
2023-07-24 3:40 ` sunran001
@ 2023-07-24 21:41 ` Alex Deucher
-1 siblings, 0 replies; 13+ messages in thread
From: Alex Deucher @ 2023-07-24 21:41 UTC (permalink / raw)
To: sunran001; +Cc: alexander.deucher, dri-devel, amd-gfx, linux-kernel
Applied. thanks!
Alex
On Sun, Jul 23, 2023 at 11:40 PM <sunran001@208suo.com> wrote:
>
> ERROR: that open brace { should be on the previous line
>
> Signed-off-by: Ran Sun <sunran001@208suo.com>
> ---
> drivers/gpu/drm/radeon/rv770_smc.c | 36 ++++++++++--------------------
> 1 file changed, 12 insertions(+), 24 deletions(-)
>
> diff --git a/drivers/gpu/drm/radeon/rv770_smc.c
> b/drivers/gpu/drm/radeon/rv770_smc.c
> index 45575c0d0a1d..09fa7f5e7c41 100644
> --- a/drivers/gpu/drm/radeon/rv770_smc.c
> +++ b/drivers/gpu/drm/radeon/rv770_smc.c
> @@ -34,8 +34,7 @@
> #define FIRST_SMC_INT_VECT_REG 0xFFD8
> #define FIRST_INT_VECT_S19 0xFFC0
>
> -static const u8 rv770_smc_int_vectors[] =
> -{
> +static const u8 rv770_smc_int_vectors[] = {
> 0x08, 0x10, 0x08, 0x10,
> 0x08, 0x10, 0x08, 0x10,
> 0x08, 0x10, 0x08, 0x10,
> @@ -54,8 +53,7 @@ static const u8 rv770_smc_int_vectors[] =
> 0x03, 0x51, 0x03, 0x51
> };
>
> -static const u8 rv730_smc_int_vectors[] =
> -{
> +static const u8 rv730_smc_int_vectors[] = {
> 0x08, 0x15, 0x08, 0x15,
> 0x08, 0x15, 0x08, 0x15,
> 0x08, 0x15, 0x08, 0x15,
> @@ -74,8 +72,7 @@ static const u8 rv730_smc_int_vectors[] =
> 0x03, 0x56, 0x03, 0x56
> };
>
> -static const u8 rv710_smc_int_vectors[] =
> -{
> +static const u8 rv710_smc_int_vectors[] = {
> 0x08, 0x04, 0x08, 0x04,
> 0x08, 0x04, 0x08, 0x04,
> 0x08, 0x04, 0x08, 0x04,
> @@ -94,8 +91,7 @@ static const u8 rv710_smc_int_vectors[] =
> 0x03, 0x51, 0x03, 0x51
> };
>
> -static const u8 rv740_smc_int_vectors[] =
> -{
> +static const u8 rv740_smc_int_vectors[] = {
> 0x08, 0x10, 0x08, 0x10,
> 0x08, 0x10, 0x08, 0x10,
> 0x08, 0x10, 0x08, 0x10,
> @@ -114,8 +110,7 @@ static const u8 rv740_smc_int_vectors[] =
> 0x03, 0x51, 0x03, 0x51
> };
>
> -static const u8 cedar_smc_int_vectors[] =
> -{
> +static const u8 cedar_smc_int_vectors[] = {
> 0x0B, 0x05, 0x0B, 0x05,
> 0x0B, 0x05, 0x0B, 0x05,
> 0x0B, 0x05, 0x0B, 0x05,
> @@ -134,8 +129,7 @@ static const u8 cedar_smc_int_vectors[] =
> 0x04, 0xF6, 0x04, 0xF6
> };
>
> -static const u8 redwood_smc_int_vectors[] =
> -{
> +static const u8 redwood_smc_int_vectors[] = {
> 0x0B, 0x05, 0x0B, 0x05,
> 0x0B, 0x05, 0x0B, 0x05,
> 0x0B, 0x05, 0x0B, 0x05,
> @@ -154,8 +148,7 @@ static const u8 redwood_smc_int_vectors[] =
> 0x04, 0xF6, 0x04, 0xF6
> };
>
> -static const u8 juniper_smc_int_vectors[] =
> -{
> +static const u8 juniper_smc_int_vectors[] = {
> 0x0B, 0x05, 0x0B, 0x05,
> 0x0B, 0x05, 0x0B, 0x05,
> 0x0B, 0x05, 0x0B, 0x05,
> @@ -174,8 +167,7 @@ static const u8 juniper_smc_int_vectors[] =
> 0x04, 0xF6, 0x04, 0xF6
> };
>
> -static const u8 cypress_smc_int_vectors[] =
> -{
> +static const u8 cypress_smc_int_vectors[] = {
> 0x0B, 0x05, 0x0B, 0x05,
> 0x0B, 0x05, 0x0B, 0x05,
> 0x0B, 0x05, 0x0B, 0x05,
> @@ -194,8 +186,7 @@ static const u8 cypress_smc_int_vectors[] =
> 0x04, 0xF6, 0x04, 0xF6
> };
>
> -static const u8 barts_smc_int_vectors[] =
> -{
> +static const u8 barts_smc_int_vectors[] = {
> 0x0C, 0x14, 0x0C, 0x14,
> 0x0C, 0x14, 0x0C, 0x14,
> 0x0C, 0x14, 0x0C, 0x14,
> @@ -214,8 +205,7 @@ static const u8 barts_smc_int_vectors[] =
> 0x05, 0x0A, 0x05, 0x0A
> };
>
> -static const u8 turks_smc_int_vectors[] =
> -{
> +static const u8 turks_smc_int_vectors[] = {
> 0x0C, 0x14, 0x0C, 0x14,
> 0x0C, 0x14, 0x0C, 0x14,
> 0x0C, 0x14, 0x0C, 0x14,
> @@ -234,8 +224,7 @@ static const u8 turks_smc_int_vectors[] =
> 0x05, 0x0A, 0x05, 0x0A
> };
>
> -static const u8 caicos_smc_int_vectors[] =
> -{
> +static const u8 caicos_smc_int_vectors[] = {
> 0x0C, 0x14, 0x0C, 0x14,
> 0x0C, 0x14, 0x0C, 0x14,
> 0x0C, 0x14, 0x0C, 0x14,
> @@ -254,8 +243,7 @@ static const u8 caicos_smc_int_vectors[] =
> 0x05, 0x0A, 0x05, 0x0A
> };
>
> -static const u8 cayman_smc_int_vectors[] =
> -{
> +static const u8 cayman_smc_int_vectors[] = {
> 0x12, 0x05, 0x12, 0x05,
> 0x12, 0x05, 0x12, 0x05,
> 0x12, 0x05, 0x12, 0x05,
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH] drm/radeon: that open brace { should be on the previous line
@ 2023-07-24 21:41 ` Alex Deucher
0 siblings, 0 replies; 13+ messages in thread
From: Alex Deucher @ 2023-07-24 21:41 UTC (permalink / raw)
To: sunran001; +Cc: alexander.deucher, amd-gfx, dri-devel, linux-kernel
Applied. thanks!
Alex
On Sun, Jul 23, 2023 at 11:40 PM <sunran001@208suo.com> wrote:
>
> ERROR: that open brace { should be on the previous line
>
> Signed-off-by: Ran Sun <sunran001@208suo.com>
> ---
> drivers/gpu/drm/radeon/rv770_smc.c | 36 ++++++++++--------------------
> 1 file changed, 12 insertions(+), 24 deletions(-)
>
> diff --git a/drivers/gpu/drm/radeon/rv770_smc.c
> b/drivers/gpu/drm/radeon/rv770_smc.c
> index 45575c0d0a1d..09fa7f5e7c41 100644
> --- a/drivers/gpu/drm/radeon/rv770_smc.c
> +++ b/drivers/gpu/drm/radeon/rv770_smc.c
> @@ -34,8 +34,7 @@
> #define FIRST_SMC_INT_VECT_REG 0xFFD8
> #define FIRST_INT_VECT_S19 0xFFC0
>
> -static const u8 rv770_smc_int_vectors[] =
> -{
> +static const u8 rv770_smc_int_vectors[] = {
> 0x08, 0x10, 0x08, 0x10,
> 0x08, 0x10, 0x08, 0x10,
> 0x08, 0x10, 0x08, 0x10,
> @@ -54,8 +53,7 @@ static const u8 rv770_smc_int_vectors[] =
> 0x03, 0x51, 0x03, 0x51
> };
>
> -static const u8 rv730_smc_int_vectors[] =
> -{
> +static const u8 rv730_smc_int_vectors[] = {
> 0x08, 0x15, 0x08, 0x15,
> 0x08, 0x15, 0x08, 0x15,
> 0x08, 0x15, 0x08, 0x15,
> @@ -74,8 +72,7 @@ static const u8 rv730_smc_int_vectors[] =
> 0x03, 0x56, 0x03, 0x56
> };
>
> -static const u8 rv710_smc_int_vectors[] =
> -{
> +static const u8 rv710_smc_int_vectors[] = {
> 0x08, 0x04, 0x08, 0x04,
> 0x08, 0x04, 0x08, 0x04,
> 0x08, 0x04, 0x08, 0x04,
> @@ -94,8 +91,7 @@ static const u8 rv710_smc_int_vectors[] =
> 0x03, 0x51, 0x03, 0x51
> };
>
> -static const u8 rv740_smc_int_vectors[] =
> -{
> +static const u8 rv740_smc_int_vectors[] = {
> 0x08, 0x10, 0x08, 0x10,
> 0x08, 0x10, 0x08, 0x10,
> 0x08, 0x10, 0x08, 0x10,
> @@ -114,8 +110,7 @@ static const u8 rv740_smc_int_vectors[] =
> 0x03, 0x51, 0x03, 0x51
> };
>
> -static const u8 cedar_smc_int_vectors[] =
> -{
> +static const u8 cedar_smc_int_vectors[] = {
> 0x0B, 0x05, 0x0B, 0x05,
> 0x0B, 0x05, 0x0B, 0x05,
> 0x0B, 0x05, 0x0B, 0x05,
> @@ -134,8 +129,7 @@ static const u8 cedar_smc_int_vectors[] =
> 0x04, 0xF6, 0x04, 0xF6
> };
>
> -static const u8 redwood_smc_int_vectors[] =
> -{
> +static const u8 redwood_smc_int_vectors[] = {
> 0x0B, 0x05, 0x0B, 0x05,
> 0x0B, 0x05, 0x0B, 0x05,
> 0x0B, 0x05, 0x0B, 0x05,
> @@ -154,8 +148,7 @@ static const u8 redwood_smc_int_vectors[] =
> 0x04, 0xF6, 0x04, 0xF6
> };
>
> -static const u8 juniper_smc_int_vectors[] =
> -{
> +static const u8 juniper_smc_int_vectors[] = {
> 0x0B, 0x05, 0x0B, 0x05,
> 0x0B, 0x05, 0x0B, 0x05,
> 0x0B, 0x05, 0x0B, 0x05,
> @@ -174,8 +167,7 @@ static const u8 juniper_smc_int_vectors[] =
> 0x04, 0xF6, 0x04, 0xF6
> };
>
> -static const u8 cypress_smc_int_vectors[] =
> -{
> +static const u8 cypress_smc_int_vectors[] = {
> 0x0B, 0x05, 0x0B, 0x05,
> 0x0B, 0x05, 0x0B, 0x05,
> 0x0B, 0x05, 0x0B, 0x05,
> @@ -194,8 +186,7 @@ static const u8 cypress_smc_int_vectors[] =
> 0x04, 0xF6, 0x04, 0xF6
> };
>
> -static const u8 barts_smc_int_vectors[] =
> -{
> +static const u8 barts_smc_int_vectors[] = {
> 0x0C, 0x14, 0x0C, 0x14,
> 0x0C, 0x14, 0x0C, 0x14,
> 0x0C, 0x14, 0x0C, 0x14,
> @@ -214,8 +205,7 @@ static const u8 barts_smc_int_vectors[] =
> 0x05, 0x0A, 0x05, 0x0A
> };
>
> -static const u8 turks_smc_int_vectors[] =
> -{
> +static const u8 turks_smc_int_vectors[] = {
> 0x0C, 0x14, 0x0C, 0x14,
> 0x0C, 0x14, 0x0C, 0x14,
> 0x0C, 0x14, 0x0C, 0x14,
> @@ -234,8 +224,7 @@ static const u8 turks_smc_int_vectors[] =
> 0x05, 0x0A, 0x05, 0x0A
> };
>
> -static const u8 caicos_smc_int_vectors[] =
> -{
> +static const u8 caicos_smc_int_vectors[] = {
> 0x0C, 0x14, 0x0C, 0x14,
> 0x0C, 0x14, 0x0C, 0x14,
> 0x0C, 0x14, 0x0C, 0x14,
> @@ -254,8 +243,7 @@ static const u8 caicos_smc_int_vectors[] =
> 0x05, 0x0A, 0x05, 0x0A
> };
>
> -static const u8 cayman_smc_int_vectors[] =
> -{
> +static const u8 cayman_smc_int_vectors[] = {
> 0x12, 0x05, 0x12, 0x05,
> 0x12, 0x05, 0x12, 0x05,
> 0x12, 0x05, 0x12, 0x05,
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH] drm/radeon: that open brace { should be on the previous line
2023-07-24 3:36 ` sunran001
@ 2023-07-24 21:40 ` Alex Deucher
-1 siblings, 0 replies; 13+ messages in thread
From: Alex Deucher @ 2023-07-24 21:40 UTC (permalink / raw)
To: sunran001; +Cc: alexander.deucher, dri-devel, amd-gfx, linux-kernel
Applied. Thanks!
On Sun, Jul 23, 2023 at 11:37 PM <sunran001@208suo.com> wrote:
>
> ERROR: that open brace { should be on the previous line
>
> Signed-off-by: Ran Sun <sunran001@208suo.com>
> ---
> drivers/gpu/drm/radeon/clearstate_si.h | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/radeon/clearstate_si.h
> b/drivers/gpu/drm/radeon/clearstate_si.h
> index 356219c6c7f2..7da8418704fe 100644
> --- a/drivers/gpu/drm/radeon/clearstate_si.h
> +++ b/drivers/gpu/drm/radeon/clearstate_si.h
> @@ -23,8 +23,7 @@
>
> #include "clearstate_defs.h"
>
> -static const u32 si_SECT_CONTEXT_def_1[] =
> -{
> +static const u32 si_SECT_CONTEXT_def_1[] = {
> 0x00000000, // DB_RENDER_CONTROL
> 0x00000000, // DB_COUNT_CONTROL
> 0x00000000, // DB_DEPTH_VIEW
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH] drm/radeon: that open brace { should be on the previous line
@ 2023-07-24 21:40 ` Alex Deucher
0 siblings, 0 replies; 13+ messages in thread
From: Alex Deucher @ 2023-07-24 21:40 UTC (permalink / raw)
To: sunran001; +Cc: alexander.deucher, amd-gfx, dri-devel, linux-kernel
Applied. Thanks!
On Sun, Jul 23, 2023 at 11:37 PM <sunran001@208suo.com> wrote:
>
> ERROR: that open brace { should be on the previous line
>
> Signed-off-by: Ran Sun <sunran001@208suo.com>
> ---
> drivers/gpu/drm/radeon/clearstate_si.h | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/radeon/clearstate_si.h
> b/drivers/gpu/drm/radeon/clearstate_si.h
> index 356219c6c7f2..7da8418704fe 100644
> --- a/drivers/gpu/drm/radeon/clearstate_si.h
> +++ b/drivers/gpu/drm/radeon/clearstate_si.h
> @@ -23,8 +23,7 @@
>
> #include "clearstate_defs.h"
>
> -static const u32 si_SECT_CONTEXT_def_1[] =
> -{
> +static const u32 si_SECT_CONTEXT_def_1[] = {
> 0x00000000, // DB_RENDER_CONTROL
> 0x00000000, // DB_COUNT_CONTROL
> 0x00000000, // DB_DEPTH_VIEW
^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH] drm/radeon: that open brace { should be on the previous line
[not found] <20230724033939.8147-1-xujianghui@cdjrlc.com>
@ 2023-07-24 3:40 ` sunran001
0 siblings, 0 replies; 13+ messages in thread
From: sunran001 @ 2023-07-24 3:40 UTC (permalink / raw)
To: alexander.deucher; +Cc: amd-gfx, dri-devel, linux-kernel
ERROR: that open brace { should be on the previous line
Signed-off-by: Ran Sun <sunran001@208suo.com>
---
drivers/gpu/drm/radeon/rv770_smc.c | 36 ++++++++++--------------------
1 file changed, 12 insertions(+), 24 deletions(-)
diff --git a/drivers/gpu/drm/radeon/rv770_smc.c
b/drivers/gpu/drm/radeon/rv770_smc.c
index 45575c0d0a1d..09fa7f5e7c41 100644
--- a/drivers/gpu/drm/radeon/rv770_smc.c
+++ b/drivers/gpu/drm/radeon/rv770_smc.c
@@ -34,8 +34,7 @@
#define FIRST_SMC_INT_VECT_REG 0xFFD8
#define FIRST_INT_VECT_S19 0xFFC0
-static const u8 rv770_smc_int_vectors[] =
-{
+static const u8 rv770_smc_int_vectors[] = {
0x08, 0x10, 0x08, 0x10,
0x08, 0x10, 0x08, 0x10,
0x08, 0x10, 0x08, 0x10,
@@ -54,8 +53,7 @@ static const u8 rv770_smc_int_vectors[] =
0x03, 0x51, 0x03, 0x51
};
-static const u8 rv730_smc_int_vectors[] =
-{
+static const u8 rv730_smc_int_vectors[] = {
0x08, 0x15, 0x08, 0x15,
0x08, 0x15, 0x08, 0x15,
0x08, 0x15, 0x08, 0x15,
@@ -74,8 +72,7 @@ static const u8 rv730_smc_int_vectors[] =
0x03, 0x56, 0x03, 0x56
};
-static const u8 rv710_smc_int_vectors[] =
-{
+static const u8 rv710_smc_int_vectors[] = {
0x08, 0x04, 0x08, 0x04,
0x08, 0x04, 0x08, 0x04,
0x08, 0x04, 0x08, 0x04,
@@ -94,8 +91,7 @@ static const u8 rv710_smc_int_vectors[] =
0x03, 0x51, 0x03, 0x51
};
-static const u8 rv740_smc_int_vectors[] =
-{
+static const u8 rv740_smc_int_vectors[] = {
0x08, 0x10, 0x08, 0x10,
0x08, 0x10, 0x08, 0x10,
0x08, 0x10, 0x08, 0x10,
@@ -114,8 +110,7 @@ static const u8 rv740_smc_int_vectors[] =
0x03, 0x51, 0x03, 0x51
};
-static const u8 cedar_smc_int_vectors[] =
-{
+static const u8 cedar_smc_int_vectors[] = {
0x0B, 0x05, 0x0B, 0x05,
0x0B, 0x05, 0x0B, 0x05,
0x0B, 0x05, 0x0B, 0x05,
@@ -134,8 +129,7 @@ static const u8 cedar_smc_int_vectors[] =
0x04, 0xF6, 0x04, 0xF6
};
-static const u8 redwood_smc_int_vectors[] =
-{
+static const u8 redwood_smc_int_vectors[] = {
0x0B, 0x05, 0x0B, 0x05,
0x0B, 0x05, 0x0B, 0x05,
0x0B, 0x05, 0x0B, 0x05,
@@ -154,8 +148,7 @@ static const u8 redwood_smc_int_vectors[] =
0x04, 0xF6, 0x04, 0xF6
};
-static const u8 juniper_smc_int_vectors[] =
-{
+static const u8 juniper_smc_int_vectors[] = {
0x0B, 0x05, 0x0B, 0x05,
0x0B, 0x05, 0x0B, 0x05,
0x0B, 0x05, 0x0B, 0x05,
@@ -174,8 +167,7 @@ static const u8 juniper_smc_int_vectors[] =
0x04, 0xF6, 0x04, 0xF6
};
-static const u8 cypress_smc_int_vectors[] =
-{
+static const u8 cypress_smc_int_vectors[] = {
0x0B, 0x05, 0x0B, 0x05,
0x0B, 0x05, 0x0B, 0x05,
0x0B, 0x05, 0x0B, 0x05,
@@ -194,8 +186,7 @@ static const u8 cypress_smc_int_vectors[] =
0x04, 0xF6, 0x04, 0xF6
};
-static const u8 barts_smc_int_vectors[] =
-{
+static const u8 barts_smc_int_vectors[] = {
0x0C, 0x14, 0x0C, 0x14,
0x0C, 0x14, 0x0C, 0x14,
0x0C, 0x14, 0x0C, 0x14,
@@ -214,8 +205,7 @@ static const u8 barts_smc_int_vectors[] =
0x05, 0x0A, 0x05, 0x0A
};
-static const u8 turks_smc_int_vectors[] =
-{
+static const u8 turks_smc_int_vectors[] = {
0x0C, 0x14, 0x0C, 0x14,
0x0C, 0x14, 0x0C, 0x14,
0x0C, 0x14, 0x0C, 0x14,
@@ -234,8 +224,7 @@ static const u8 turks_smc_int_vectors[] =
0x05, 0x0A, 0x05, 0x0A
};
-static const u8 caicos_smc_int_vectors[] =
-{
+static const u8 caicos_smc_int_vectors[] = {
0x0C, 0x14, 0x0C, 0x14,
0x0C, 0x14, 0x0C, 0x14,
0x0C, 0x14, 0x0C, 0x14,
@@ -254,8 +243,7 @@ static const u8 caicos_smc_int_vectors[] =
0x05, 0x0A, 0x05, 0x0A
};
-static const u8 cayman_smc_int_vectors[] =
-{
+static const u8 cayman_smc_int_vectors[] = {
0x12, 0x05, 0x12, 0x05,
0x12, 0x05, 0x12, 0x05,
0x12, 0x05, 0x12, 0x05,
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH] drm/radeon: that open brace { should be on the previous line
@ 2023-07-24 3:40 ` sunran001
0 siblings, 0 replies; 13+ messages in thread
From: sunran001 @ 2023-07-24 3:40 UTC (permalink / raw)
To: alexander.deucher; +Cc: dri-devel, amd-gfx, linux-kernel
ERROR: that open brace { should be on the previous line
Signed-off-by: Ran Sun <sunran001@208suo.com>
---
drivers/gpu/drm/radeon/rv770_smc.c | 36 ++++++++++--------------------
1 file changed, 12 insertions(+), 24 deletions(-)
diff --git a/drivers/gpu/drm/radeon/rv770_smc.c
b/drivers/gpu/drm/radeon/rv770_smc.c
index 45575c0d0a1d..09fa7f5e7c41 100644
--- a/drivers/gpu/drm/radeon/rv770_smc.c
+++ b/drivers/gpu/drm/radeon/rv770_smc.c
@@ -34,8 +34,7 @@
#define FIRST_SMC_INT_VECT_REG 0xFFD8
#define FIRST_INT_VECT_S19 0xFFC0
-static const u8 rv770_smc_int_vectors[] =
-{
+static const u8 rv770_smc_int_vectors[] = {
0x08, 0x10, 0x08, 0x10,
0x08, 0x10, 0x08, 0x10,
0x08, 0x10, 0x08, 0x10,
@@ -54,8 +53,7 @@ static const u8 rv770_smc_int_vectors[] =
0x03, 0x51, 0x03, 0x51
};
-static const u8 rv730_smc_int_vectors[] =
-{
+static const u8 rv730_smc_int_vectors[] = {
0x08, 0x15, 0x08, 0x15,
0x08, 0x15, 0x08, 0x15,
0x08, 0x15, 0x08, 0x15,
@@ -74,8 +72,7 @@ static const u8 rv730_smc_int_vectors[] =
0x03, 0x56, 0x03, 0x56
};
-static const u8 rv710_smc_int_vectors[] =
-{
+static const u8 rv710_smc_int_vectors[] = {
0x08, 0x04, 0x08, 0x04,
0x08, 0x04, 0x08, 0x04,
0x08, 0x04, 0x08, 0x04,
@@ -94,8 +91,7 @@ static const u8 rv710_smc_int_vectors[] =
0x03, 0x51, 0x03, 0x51
};
-static const u8 rv740_smc_int_vectors[] =
-{
+static const u8 rv740_smc_int_vectors[] = {
0x08, 0x10, 0x08, 0x10,
0x08, 0x10, 0x08, 0x10,
0x08, 0x10, 0x08, 0x10,
@@ -114,8 +110,7 @@ static const u8 rv740_smc_int_vectors[] =
0x03, 0x51, 0x03, 0x51
};
-static const u8 cedar_smc_int_vectors[] =
-{
+static const u8 cedar_smc_int_vectors[] = {
0x0B, 0x05, 0x0B, 0x05,
0x0B, 0x05, 0x0B, 0x05,
0x0B, 0x05, 0x0B, 0x05,
@@ -134,8 +129,7 @@ static const u8 cedar_smc_int_vectors[] =
0x04, 0xF6, 0x04, 0xF6
};
-static const u8 redwood_smc_int_vectors[] =
-{
+static const u8 redwood_smc_int_vectors[] = {
0x0B, 0x05, 0x0B, 0x05,
0x0B, 0x05, 0x0B, 0x05,
0x0B, 0x05, 0x0B, 0x05,
@@ -154,8 +148,7 @@ static const u8 redwood_smc_int_vectors[] =
0x04, 0xF6, 0x04, 0xF6
};
-static const u8 juniper_smc_int_vectors[] =
-{
+static const u8 juniper_smc_int_vectors[] = {
0x0B, 0x05, 0x0B, 0x05,
0x0B, 0x05, 0x0B, 0x05,
0x0B, 0x05, 0x0B, 0x05,
@@ -174,8 +167,7 @@ static const u8 juniper_smc_int_vectors[] =
0x04, 0xF6, 0x04, 0xF6
};
-static const u8 cypress_smc_int_vectors[] =
-{
+static const u8 cypress_smc_int_vectors[] = {
0x0B, 0x05, 0x0B, 0x05,
0x0B, 0x05, 0x0B, 0x05,
0x0B, 0x05, 0x0B, 0x05,
@@ -194,8 +186,7 @@ static const u8 cypress_smc_int_vectors[] =
0x04, 0xF6, 0x04, 0xF6
};
-static const u8 barts_smc_int_vectors[] =
-{
+static const u8 barts_smc_int_vectors[] = {
0x0C, 0x14, 0x0C, 0x14,
0x0C, 0x14, 0x0C, 0x14,
0x0C, 0x14, 0x0C, 0x14,
@@ -214,8 +205,7 @@ static const u8 barts_smc_int_vectors[] =
0x05, 0x0A, 0x05, 0x0A
};
-static const u8 turks_smc_int_vectors[] =
-{
+static const u8 turks_smc_int_vectors[] = {
0x0C, 0x14, 0x0C, 0x14,
0x0C, 0x14, 0x0C, 0x14,
0x0C, 0x14, 0x0C, 0x14,
@@ -234,8 +224,7 @@ static const u8 turks_smc_int_vectors[] =
0x05, 0x0A, 0x05, 0x0A
};
-static const u8 caicos_smc_int_vectors[] =
-{
+static const u8 caicos_smc_int_vectors[] = {
0x0C, 0x14, 0x0C, 0x14,
0x0C, 0x14, 0x0C, 0x14,
0x0C, 0x14, 0x0C, 0x14,
@@ -254,8 +243,7 @@ static const u8 caicos_smc_int_vectors[] =
0x05, 0x0A, 0x05, 0x0A
};
-static const u8 cayman_smc_int_vectors[] =
-{
+static const u8 cayman_smc_int_vectors[] = {
0x12, 0x05, 0x12, 0x05,
0x12, 0x05, 0x12, 0x05,
0x12, 0x05, 0x12, 0x05,
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH] drm/radeon: that open brace { should be on the previous line
[not found] <20230724033555.8039-1-xujianghui@cdjrlc.com>
@ 2023-07-24 3:36 ` sunran001
0 siblings, 0 replies; 13+ messages in thread
From: sunran001 @ 2023-07-24 3:36 UTC (permalink / raw)
To: alexander.deucher; +Cc: amd-gfx, dri-devel, linux-kernel
ERROR: that open brace { should be on the previous line
Signed-off-by: Ran Sun <sunran001@208suo.com>
---
drivers/gpu/drm/radeon/clearstate_si.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/radeon/clearstate_si.h
b/drivers/gpu/drm/radeon/clearstate_si.h
index 356219c6c7f2..7da8418704fe 100644
--- a/drivers/gpu/drm/radeon/clearstate_si.h
+++ b/drivers/gpu/drm/radeon/clearstate_si.h
@@ -23,8 +23,7 @@
#include "clearstate_defs.h"
-static const u32 si_SECT_CONTEXT_def_1[] =
-{
+static const u32 si_SECT_CONTEXT_def_1[] = {
0x00000000, // DB_RENDER_CONTROL
0x00000000, // DB_COUNT_CONTROL
0x00000000, // DB_DEPTH_VIEW
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH] drm/radeon: that open brace { should be on the previous line
@ 2023-07-24 3:36 ` sunran001
0 siblings, 0 replies; 13+ messages in thread
From: sunran001 @ 2023-07-24 3:36 UTC (permalink / raw)
To: alexander.deucher; +Cc: dri-devel, amd-gfx, linux-kernel
ERROR: that open brace { should be on the previous line
Signed-off-by: Ran Sun <sunran001@208suo.com>
---
drivers/gpu/drm/radeon/clearstate_si.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/radeon/clearstate_si.h
b/drivers/gpu/drm/radeon/clearstate_si.h
index 356219c6c7f2..7da8418704fe 100644
--- a/drivers/gpu/drm/radeon/clearstate_si.h
+++ b/drivers/gpu/drm/radeon/clearstate_si.h
@@ -23,8 +23,7 @@
#include "clearstate_defs.h"
-static const u32 si_SECT_CONTEXT_def_1[] =
-{
+static const u32 si_SECT_CONTEXT_def_1[] = {
0x00000000, // DB_RENDER_CONTROL
0x00000000, // DB_COUNT_CONTROL
0x00000000, // DB_DEPTH_VIEW
^ permalink raw reply related [flat|nested] 13+ messages in thread
end of thread, other threads:[~2023-07-24 21:41 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20230724031126.7694-1-xujianghui@cdjrlc.com>
2023-07-24 3:12 ` [PATCH] drm/radeon: that open brace { should be on the previous line sunran001
2023-07-24 3:12 ` sunran001
2023-07-24 21:37 ` Alex Deucher
2023-07-24 21:37 ` Alex Deucher
2023-07-24 21:37 ` Alex Deucher
[not found] <20230724033555.8039-1-xujianghui@cdjrlc.com>
2023-07-24 3:36 ` sunran001
2023-07-24 3:36 ` sunran001
2023-07-24 21:40 ` Alex Deucher
2023-07-24 21:40 ` Alex Deucher
[not found] <20230724033939.8147-1-xujianghui@cdjrlc.com>
2023-07-24 3:40 ` sunran001
2023-07-24 3:40 ` sunran001
2023-07-24 21:41 ` Alex Deucher
2023-07-24 21:41 ` Alex Deucher
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.