summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorWan Jiabing <wanjiabing@vivo.com>2021-06-15 14:44:01 +0300
committerAlex Deucher <alexander.deucher@amd.com>2021-06-16 00:25:42 +0300
commita4b0b97aace09716a635e1a64c7e54e51f4a0f51 (patch)
tree57510d5c63d8669b1135c54d7007b971112b350a /drivers
parenta7b2451d31cfa2e8aeccf3b35612ce33f02371fc (diff)
downloadlinux-a4b0b97aace09716a635e1a64c7e54e51f4a0f51.tar.xz
drm: display: Fix duplicate field initialization in dcn31
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 Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Signed-off-by: Wan Jiabing <wanjiabing@vivo.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c1
1 files changed, 0 insertions, 1 deletions
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,