drm/amd/display: Add HUBP surface flip interrupt handler
authorAurabindo Pillai <aurabindo.pillai@amd.com>
Thu, 6 Oct 2022 21:17:40 +0000 (17:17 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 12 Oct 2022 15:27:41 +0000 (11:27 -0400)
Add the hubp surface flip handler. This fixes some flip timeout issues.

Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org # 6.0.x
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hubp.c

index f4b901d393ebca0ed0722d22ad27ab16101e4998..ac1c6458dd55a8f6702b0b011e861e27cd14e8be 100644 (file)
@@ -181,6 +181,7 @@ static struct hubp_funcs dcn32_hubp_funcs = {
        .hubp_init = hubp3_init,
        .set_unbounded_requesting = hubp31_set_unbounded_requesting,
        .hubp_soft_reset = hubp31_soft_reset,
+       .hubp_set_flip_int = hubp1_set_flip_int,
        .hubp_in_blank = hubp1_in_blank,
        .hubp_update_force_pstate_disallow = hubp32_update_force_pstate_disallow,
        .phantom_hubp_post_enable = hubp32_phantom_hubp_post_enable,