]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
drm/amd/display: Add PState change high hook for DCN32
authorRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Tue, 20 Sep 2022 19:46:58 +0000 (15:46 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 6 Oct 2022 16:03:36 +0000 (12:03 -0400)
For some reason, we missed the PState check for DCN32 which may cause
issues for clock transition. This commit add that required hook.

Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hubbub.c

index f6d3da475835b54248e9095c4eb8150ce54633cf..9fbb72369c10e4afd60054d16ab4d16e095d1337 100644 (file)
@@ -936,6 +936,7 @@ static const struct hubbub_funcs hubbub32_funcs = {
        .program_watermarks = hubbub32_program_watermarks,
        .allow_self_refresh_control = hubbub1_allow_self_refresh_control,
        .is_allow_self_refresh_enabled = hubbub1_is_allow_self_refresh_enabled,
+       .verify_allow_pstate_change_high = hubbub1_verify_allow_pstate_change_high,
        .force_wm_propagate_to_pipes = hubbub32_force_wm_propagate_to_pipes,
        .force_pstate_change_control = hubbub3_force_pstate_change_control,
        .init_watermarks = hubbub32_init_watermarks,