drm/amd/display: turn off cursor when disconnect plane
authorEric Yang <Eric.Yang2@amd.com>
Fri, 19 Jan 2018 23:10:00 +0000 (18:10 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:19:31 +0000 (14:19 -0500)
commit5af9d013ef389ca283d4940d199bc026f2de9e69
tree68059ec1b7b4a25209fed5827362f287c5eba25b
parentb3a1cbc0c5463b27e9c616c9aea342d90c992c8f
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: Eric Yang <Eric.Yang2@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c