Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <Stanley.Yang@amd.com>
Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Stanley.Yang and committed by
Alex Deucher
b55dbe59 16b78f05

-2
-1
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_init.c
··· 108 108 .enable_power_gating_plane = dcn20_enable_power_gating_plane, 109 109 .dpp_pg_control = dcn20_dpp_pg_control, 110 110 .hubp_pg_control = dcn20_hubp_pg_control, 111 - .dsc_pg_control = NULL, 112 111 .update_odm = dcn20_update_odm, 113 112 .dsc_pg_control = dcn20_dsc_pg_control, 114 113 .get_surface_visual_confirm_color = dcn10_get_surface_visual_confirm_color,
-1
drivers/gpu/drm/amd/display/dc/dcn21/dcn21_init.c
··· 116 116 .enable_power_gating_plane = dcn20_enable_power_gating_plane, 117 117 .dpp_pg_control = dcn20_dpp_pg_control, 118 118 .hubp_pg_control = dcn20_hubp_pg_control, 119 - .dsc_pg_control = NULL, 120 119 .update_odm = dcn20_update_odm, 121 120 .dsc_pg_control = dcn20_dsc_pg_control, 122 121 .get_surface_visual_confirm_color = dcn10_get_surface_visual_confirm_color,