From: Wan Jiabing <wanjiabing@vivo.com> To: "Harry Wentland" <harry.wentland@amd.com>, "Leo Li" <sunpeng.li@amd.com>, "Alex Deucher" <alexander.deucher@amd.com>, "Christian König" <christian.koenig@amd.com>, "Pan, Xinhui" <Xinhui.Pan@amd.com>, "David Airlie" <airlied@linux.ie>, "Daniel Vetter" <daniel@ffwll.ch>, "Rodrigo Siqueira" <Rodrigo.Siqueira@amd.com>, "Zhan Liu" <zhan.liu@amd.com>, "Nikola Cornij" <nikola.cornij@amd.com>, "Dmytro Laktyushkin" <Dmytro.Laktyushkin@amd.com>, "Yongqiang Sun" <yongqiang.sun@amd.com>, "Roman Li" <roman.li@amd.com>, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Cc: Wan Jiabing <wanjiabing@vivo.com> Subject: [PATCH] drm: display: Fix duplicate field initialization in dcn31 Date: Tue, 15 Jun 2021 19:44:01 +0800 [thread overview] Message-ID: <20210615114410.7708-1-wanjiabing@vivo.com> (raw) 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
WARNING: multiple messages have this Message-ID (diff)
From: Wan Jiabing <wanjiabing@vivo.com> To: "Harry Wentland" <harry.wentland@amd.com>, "Leo Li" <sunpeng.li@amd.com>, "Alex Deucher" <alexander.deucher@amd.com>, "Christian König" <christian.koenig@amd.com>, "Pan, Xinhui" <Xinhui.Pan@amd.com>, "David Airlie" <airlied@linux.ie>, "Daniel Vetter" <daniel@ffwll.ch>, "Rodrigo Siqueira" <Rodrigo.Siqueira@amd.com>, "Zhan Liu" <zhan.liu@amd.com>, "Nikola Cornij" <nikola.cornij@amd.com>, "Dmytro Laktyushkin" <Dmytro.Laktyushkin@amd.com>, "Yongqiang Sun" <yongqiang.sun@amd.com>, "Roman Li" <roman.li@amd.com>, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Cc: Wan Jiabing <wanjiabing@vivo.com> Subject: [PATCH] drm: display: Fix duplicate field initialization in dcn31 Date: Tue, 15 Jun 2021 19:44:01 +0800 [thread overview] Message-ID: <20210615114410.7708-1-wanjiabing@vivo.com> (raw) 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
next reply other threads:[~2021-06-15 11:45 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-06-15 11:44 Wan Jiabing [this message] 2021-06-15 11:44 ` [PATCH] drm: display: Fix duplicate field initialization in dcn31 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
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20210615114410.7708-1-wanjiabing@vivo.com \ --to=wanjiabing@vivo.com \ --cc=Dmytro.Laktyushkin@amd.com \ --cc=Rodrigo.Siqueira@amd.com \ --cc=Xinhui.Pan@amd.com \ --cc=airlied@linux.ie \ --cc=alexander.deucher@amd.com \ --cc=amd-gfx@lists.freedesktop.org \ --cc=christian.koenig@amd.com \ --cc=daniel@ffwll.ch \ --cc=dri-devel@lists.freedesktop.org \ --cc=harry.wentland@amd.com \ --cc=linux-kernel@vger.kernel.org \ --cc=nikola.cornij@amd.com \ --cc=roman.li@amd.com \ --cc=sunpeng.li@amd.com \ --cc=yongqiang.sun@amd.com \ --cc=zhan.liu@amd.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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.