projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3a1cbc
)
drm/amd/display: turn off cursor when disconnect plane
author
Eric Yang
<
[email protected]
>
Fri, 19 Jan 2018 23:10:00 +0000
(18:10 -0500)
committer
Alex Deucher
<
[email protected]
>
Mon, 19 Feb 2018 19:19:31 +0000
(14:19 -0500)
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: Eric Yang <
[email protected]
>
Reviewed-by: Tony Cheng <
[email protected]
>
Acked-by: Harry Wentland <
[email protected]
>
Signed-off-by: Alex Deucher <
[email protected]
>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c
b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c
index 265092b113cbd6476f2d0cef1ac6e99d35b8ba37..57c74ac65beb6563429758312c777c205596e11c 100644
(file)
--- a/
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c
+++ b/
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c
@@
-73,6
+73,9
@@
static void hubp1_disconnect(struct hubp *hubp)
REG_UPDATE(DCHUBP_CNTL,
HUBP_TTU_DISABLE, 1);
+
+ REG_UPDATE(CURSOR_CONTROL,
+ CURSOR_ENABLE, 0);
}
static void hubp1_set_hubp_blank_en(struct hubp *hubp, bool blank)