Skip to content

Commit

Permalink
drm: display: Fix duplicate field initialization in dcn31
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Wan Jiabing authored and Alex Deucher committed Jun 15, 2021
1 parent a7b2451 commit a4b0b97
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a4b0b97

Please sign in to comment.