Skip to contentSkip to conversation

drm/amd/display: Add HUBP surface flip interrupt handler

PATCH In review Rodrigo Siqueira 2 participants 2 messages Oct 11, 2022

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amd/display: Add HUBP surface flip interrupt handler

From: Aurabindo Pillai <[email protected]>

Add the hubp surface flip handler. This fixes some flip timeout issues.

---
 drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hubp.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hubp.c +1 -0
index f4b901d393eb..ac1c6458dd55 100644
@@ -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,
Signature · 1 line
2.35.1
Acked-by on v1 1/1
#1 lore raw
Quoted 7 lines · Rodrigo Siqueira

From: Aurabindo Pillai <[email protected]>

Add the hubp surface flip handler. This fixes some flip timeout issues.

Quoted 19 lines
---
 drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hubp.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hubp.c +1 -1
index f4b901d393eb..ac1c6458dd55 100644
@@ -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,
--

2.35.1