All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm: display: Fix duplicate field initialization in dcn31
@ 2021-06-15 11:44 ` Wan Jiabing
  0 siblings, 0 replies; 8+ messages in thread
From: Wan Jiabing @ 2021-06-15 11:44 UTC (permalink / raw)
  To: Harry Wentland, Leo Li, Alex Deucher, Christian König, Pan,
	Xinhui, David Airlie, Daniel Vetter, Rodrigo Siqueira, Zhan Liu,
	Nikola Cornij, Dmytro Laktyushkin, Yongqiang Sun, Roman Li,
	amd-gfx, dri-devel, linux-kernel
  Cc: Wan Jiabing

Fix the following coccicheck warning:
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c:917:56-57:
pstate_enabled: first occurrence line 935, second occurrence line 937

Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
---
 drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c b/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c
index 0d6cb6caad81..c67bc9544f5d 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c
+++ b/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c
@@ -934,7 +934,6 @@ static const struct dc_debug_options debug_defaults_drv = {
 	.dmub_command_table = true,
 	.pstate_enabled = true,
 	.use_max_lb = true,
-	.pstate_enabled = true,
 	.enable_mem_low_power = {
 		.bits = {
 			.vga = false,
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH] drm: display: Fix duplicate field initialization in dcn31
@ 2021-06-15 11:44 ` Wan Jiabing
  0 siblings, 0 replies; 8+ messages in thread
From: Wan Jiabing @ 2021-06-15 11:44 UTC (permalink / raw)
  To: Harry Wentland, Leo Li, Alex Deucher, Christian König, Pan,
	Xinhui, David Airlie, Daniel Vetter, Rodrigo Siqueira, Zhan Liu,
	Nikola Cornij, Dmytro Laktyushkin, Yongqiang Sun, Roman Li,
	amd-gfx, dri-devel, linux-kernel
  Cc: Wan Jiabing

Fix the following coccicheck warning:
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c:917:56-57:
pstate_enabled: first occurrence line 935, second occurrence line 937

Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
---
 drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c b/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c
index 0d6cb6caad81..c67bc9544f5d 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c
+++ b/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c
@@ -934,7 +934,6 @@ static const struct dc_debug_options debug_defaults_drv = {
 	.dmub_command_table = true,
 	.pstate_enabled = true,
 	.use_max_lb = true,
-	.pstate_enabled = true,
 	.enable_mem_low_power = {
 		.bits = {
 			.vga = false,
-- 
2.20.1

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH] drm: display: Fix duplicate field initialization in dcn31
  2021-06-15 11:44 ` Wan Jiabing
  (?)
@ 2021-06-15 12:54   ` Rodrigo Siqueira
  -1 siblings, 0 replies; 8+ messages in thread
From: Rodrigo Siqueira @ 2021-06-15 12:54 UTC (permalink / raw)
  To: Wan Jiabing
  Cc: Harry Wentland, Leo Li, Alex Deucher, Christian König, Pan,
	Xinhui, David Airlie, Daniel Vetter, Zhan Liu, Nikola Cornij,
	Dmytro Laktyushkin, Yongqiang Sun, Roman Li, amd-gfx, dri-devel,
	linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1078 bytes --]

On 06/15, Wan Jiabing wrote:
> Fix the following coccicheck warning:
> drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c:917:56-57:
> pstate_enabled: first occurrence line 935, second occurrence line 937
> 
> Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
> ---
>  drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c b/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c
> index 0d6cb6caad81..c67bc9544f5d 100644
> --- a/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c
> +++ b/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c
> @@ -934,7 +934,6 @@ static const struct dc_debug_options debug_defaults_drv = {
>  	.dmub_command_table = true,
>  	.pstate_enabled = true,
>  	.use_max_lb = true,
> -	.pstate_enabled = true,
>  	.enable_mem_low_power = {
>  		.bits = {
>  			.vga = false,
> -- 
> 2.20.1
> 

Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>

Thanks

-- 
Rodrigo Siqueira
https://siqueira.tech

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] drm: display: Fix duplicate field initialization in dcn31
@ 2021-06-15 12:54   ` Rodrigo Siqueira
  0 siblings, 0 replies; 8+ messages in thread
From: Rodrigo Siqueira @ 2021-06-15 12:54 UTC (permalink / raw)
  To: Wan Jiabing
  Cc: Yongqiang Sun, Leo Li, linux-kernel, Pan, Xinhui, Zhan Liu,
	Roman Li, amd-gfx, Nikola Cornij, David Airlie,
	Dmytro Laktyushkin, dri-devel, Alex Deucher,
	Christian König

[-- Attachment #1: Type: text/plain, Size: 1078 bytes --]

On 06/15, Wan Jiabing wrote:
> Fix the following coccicheck warning:
> drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c:917:56-57:
> pstate_enabled: first occurrence line 935, second occurrence line 937
> 
> Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
> ---
>  drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c b/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c
> index 0d6cb6caad81..c67bc9544f5d 100644
> --- a/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c
> +++ b/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c
> @@ -934,7 +934,6 @@ static const struct dc_debug_options debug_defaults_drv = {
>  	.dmub_command_table = true,
>  	.pstate_enabled = true,
>  	.use_max_lb = true,
> -	.pstate_enabled = true,
>  	.enable_mem_low_power = {
>  		.bits = {
>  			.vga = false,
> -- 
> 2.20.1
> 

Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>

Thanks

-- 
Rodrigo Siqueira
https://siqueira.tech

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] drm: display: Fix duplicate field initialization in dcn31
@ 2021-06-15 12:54   ` Rodrigo Siqueira
  0 siblings, 0 replies; 8+ messages in thread
From: Rodrigo Siqueira @ 2021-06-15 12:54 UTC (permalink / raw)
  To: Wan Jiabing
  Cc: Yongqiang Sun, Leo Li, linux-kernel, Pan, Xinhui, Zhan Liu,
	Roman Li, amd-gfx, Nikola Cornij, David Airlie,
	Dmytro Laktyushkin, dri-devel, Daniel Vetter, Alex Deucher,
	Harry Wentland, Christian König


[-- Attachment #1.1: Type: text/plain, Size: 1078 bytes --]

On 06/15, Wan Jiabing wrote:
> Fix the following coccicheck warning:
> drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c:917:56-57:
> pstate_enabled: first occurrence line 935, second occurrence line 937
> 
> Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
> ---
>  drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c b/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c
> index 0d6cb6caad81..c67bc9544f5d 100644
> --- a/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c
> +++ b/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c
> @@ -934,7 +934,6 @@ static const struct dc_debug_options debug_defaults_drv = {
>  	.dmub_command_table = true,
>  	.pstate_enabled = true,
>  	.use_max_lb = true,
> -	.pstate_enabled = true,
>  	.enable_mem_low_power = {
>  		.bits = {
>  			.vga = false,
> -- 
> 2.20.1
> 

Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>

Thanks

-- 
Rodrigo Siqueira
https://siqueira.tech

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] drm: display: Fix duplicate field initialization in dcn31
  2021-06-15 12:54   ` Rodrigo Siqueira
  (?)
@ 2021-06-15 20:07     ` Alex Deucher
  -1 siblings, 0 replies; 8+ messages in thread
From: Alex Deucher @ 2021-06-15 20:07 UTC (permalink / raw)
  To: Rodrigo Siqueira
  Cc: Wan Jiabing, Yongqiang Sun, Leo Li, LKML, Pan, Xinhui, Zhan Liu,
	Roman Li, amd-gfx list, Nikola Cornij, David Airlie,
	Dmytro Laktyushkin, Maling list - DRI developers, Daniel Vetter,
	Alex Deucher, Harry Wentland, Christian König

Applied.  Thanks!


On Tue, Jun 15, 2021 at 8:54 AM Rodrigo Siqueira
<Rodrigo.Siqueira@amd.com> wrote:
>
> On 06/15, Wan Jiabing wrote:
> > Fix the following coccicheck warning:
> > drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c:917:56-57:
> > pstate_enabled: first occurrence line 935, second occurrence line 937
> >
> > Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
> > ---
> >  drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c | 1 -
> >  1 file changed, 1 deletion(-)
> >
> > diff --git a/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c b/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c
> > index 0d6cb6caad81..c67bc9544f5d 100644
> > --- a/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c
> > +++ b/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c
> > @@ -934,7 +934,6 @@ static const struct dc_debug_options debug_defaults_drv = {
> >       .dmub_command_table = true,
> >       .pstate_enabled = true,
> >       .use_max_lb = true,
> > -     .pstate_enabled = true,
> >       .enable_mem_low_power = {
> >               .bits = {
> >                       .vga = false,
> > --
> > 2.20.1
> >
>
> Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
>
> Thanks
>
> --
> Rodrigo Siqueira
> https://siqueira.tech
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] drm: display: Fix duplicate field initialization in dcn31
@ 2021-06-15 20:07     ` Alex Deucher
  0 siblings, 0 replies; 8+ messages in thread
From: Alex Deucher @ 2021-06-15 20:07 UTC (permalink / raw)
  To: Rodrigo Siqueira
  Cc: Dmytro Laktyushkin, Wan Jiabing, Leo Li, Pan, Xinhui, Zhan Liu,
	LKML, amd-gfx list, Roman Li, David Airlie, Yongqiang Sun,
	Maling list - DRI developers, Alex Deucher, Nikola Cornij,
	Christian König

Applied.  Thanks!


On Tue, Jun 15, 2021 at 8:54 AM Rodrigo Siqueira
<Rodrigo.Siqueira@amd.com> wrote:
>
> On 06/15, Wan Jiabing wrote:
> > Fix the following coccicheck warning:
> > drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c:917:56-57:
> > pstate_enabled: first occurrence line 935, second occurrence line 937
> >
> > Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
> > ---
> >  drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c | 1 -
> >  1 file changed, 1 deletion(-)
> >
> > diff --git a/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c b/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c
> > index 0d6cb6caad81..c67bc9544f5d 100644
> > --- a/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c
> > +++ b/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c
> > @@ -934,7 +934,6 @@ static const struct dc_debug_options debug_defaults_drv = {
> >       .dmub_command_table = true,
> >       .pstate_enabled = true,
> >       .use_max_lb = true,
> > -     .pstate_enabled = true,
> >       .enable_mem_low_power = {
> >               .bits = {
> >                       .vga = false,
> > --
> > 2.20.1
> >
>
> Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
>
> Thanks
>
> --
> Rodrigo Siqueira
> https://siqueira.tech
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] drm: display: Fix duplicate field initialization in dcn31
@ 2021-06-15 20:07     ` Alex Deucher
  0 siblings, 0 replies; 8+ messages in thread
From: Alex Deucher @ 2021-06-15 20:07 UTC (permalink / raw)
  To: Rodrigo Siqueira
  Cc: Dmytro Laktyushkin, Wan Jiabing, Leo Li, Pan, Xinhui, Zhan Liu,
	LKML, amd-gfx list, Roman Li, David Airlie, Yongqiang Sun,
	Maling list - DRI developers, Daniel Vetter, Alex Deucher,
	Nikola Cornij, Harry Wentland, Christian König

Applied.  Thanks!


On Tue, Jun 15, 2021 at 8:54 AM Rodrigo Siqueira
<Rodrigo.Siqueira@amd.com> wrote:
>
> On 06/15, Wan Jiabing wrote:
> > Fix the following coccicheck warning:
> > drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c:917:56-57:
> > pstate_enabled: first occurrence line 935, second occurrence line 937
> >
> > Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
> > ---
> >  drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c | 1 -
> >  1 file changed, 1 deletion(-)
> >
> > diff --git a/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c b/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c
> > index 0d6cb6caad81..c67bc9544f5d 100644
> > --- a/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c
> > +++ b/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c
> > @@ -934,7 +934,6 @@ static const struct dc_debug_options debug_defaults_drv = {
> >       .dmub_command_table = true,
> >       .pstate_enabled = true,
> >       .use_max_lb = true,
> > -     .pstate_enabled = true,
> >       .enable_mem_low_power = {
> >               .bits = {
> >                       .vga = false,
> > --
> > 2.20.1
> >
>
> Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
>
> Thanks
>
> --
> Rodrigo Siqueira
> https://siqueira.tech
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-06-15 20:08 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-15 11:44 [PATCH] drm: display: Fix duplicate field initialization in dcn31 Wan Jiabing
2021-06-15 11:44 ` Wan Jiabing
2021-06-15 12:54 ` Rodrigo Siqueira
2021-06-15 12:54   ` Rodrigo Siqueira
2021-06-15 12:54   ` Rodrigo Siqueira
2021-06-15 20:07   ` Alex Deucher
2021-06-15 20:07     ` Alex Deucher
2021-06-15 20:07     ` 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.