Commit 5af9d013 authored by Eric Yang's avatar Eric Yang Committed by Alex Deucher

drm/amd/display: turn off cursor when disconnect plane

As a precaution to prevent cases where cursor is enabled on a pipe
that is disabled, always turn off cursor when disconnecting plane.
Signed-off-by: default avatarEric Yang <Eric.Yang2@amd.com>
Reviewed-by: default avatarTony Cheng <Tony.Cheng@amd.com>
Acked-by: default avatarHarry Wentland <harry.wentland@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent b3a1cbc0
...@@ -73,6 +73,9 @@ static void hubp1_disconnect(struct hubp *hubp) ...@@ -73,6 +73,9 @@ static void hubp1_disconnect(struct hubp *hubp)
REG_UPDATE(DCHUBP_CNTL, REG_UPDATE(DCHUBP_CNTL,
HUBP_TTU_DISABLE, 1); HUBP_TTU_DISABLE, 1);
REG_UPDATE(CURSOR_CONTROL,
CURSOR_ENABLE, 0);
} }
static void hubp1_set_hubp_blank_en(struct hubp *hubp, bool blank) static void hubp1_set_hubp_blank_en(struct hubp *hubp, bool blank)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment