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

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.