drm/amd/display: Change power gating off sequence to fix hang
authorYongqiang Sun <yongqiang.sun@amd.com>
Fri, 27 Jan 2017 15:29:01 +0000 (10:29 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 21:12:48 +0000 (17:12 -0400)
commitbb9042da8e8ada796cfae7e432a54e872c5b1784
tree1a0afefd022d236d3264451147fd496eccce70bf
parent75a74755763062b5dd722a19b3fe7a60813ee369
drm/amd/display: Change power gating off sequence to fix hang

Power off plane clear all the reg values includes cursor.
When OS call set cursor position, cursor address reg is cleared,
results in system hard hang.

Signed-off-by: Yongqiang Sun <yongqiang.sun@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/core/dc.c