Skip to content

Commit b55dbe5

Browse files
Stanley.Yangalexdeucher
authored andcommitted
drm/amd/display: fix typos for dcn20_funcs and dcn21_funcs struct
In dcn20_funcs and dcn21_funcs struct, the member ".dsc_pg_control = NULL" should be removed due to .dsc_pg_control be assigned to dcn20_dsc_pg_control. Signed-off-by: Stanley.Yang <[email protected]> Reviewed-by: Anthony Koo <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 16b78f0 commit b55dbe5

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

drivers/gpu/drm/amd/display/dc/dcn20/dcn20_init.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ static const struct hwseq_private_funcs dcn20_private_funcs = {
108108
.enable_power_gating_plane = dcn20_enable_power_gating_plane,
109109
.dpp_pg_control = dcn20_dpp_pg_control,
110110
.hubp_pg_control = dcn20_hubp_pg_control,
111-
.dsc_pg_control = NULL,
112111
.update_odm = dcn20_update_odm,
113112
.dsc_pg_control = dcn20_dsc_pg_control,
114113
.get_surface_visual_confirm_color = dcn10_get_surface_visual_confirm_color,

drivers/gpu/drm/amd/display/dc/dcn21/dcn21_init.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@ static const struct hwseq_private_funcs dcn21_private_funcs = {
116116
.enable_power_gating_plane = dcn20_enable_power_gating_plane,
117117
.dpp_pg_control = dcn20_dpp_pg_control,
118118
.hubp_pg_control = dcn20_hubp_pg_control,
119-
.dsc_pg_control = NULL,
120119
.update_odm = dcn20_update_odm,
121120
.dsc_pg_control = dcn20_dsc_pg_control,
122121
.get_surface_visual_confirm_color = dcn10_get_surface_visual_confirm_color,

0 commit comments

Comments
 (0)