drm/amd/display: Check cursor address before program.
authorYongqiang Sun <yongqiang.sun@amd.com>
Tue, 17 Oct 2017 18:54:58 +0000 (14:54 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 4 Dec 2017 21:33:20 +0000 (16:33 -0500)
commit4c7d45fae841a7f3e2d129185acf66f1c7ae37e5
tree37c8de351568f4def83fc61f69eb2ce7cc573351
parent3dc780ec3473200ef870eae9b19169445d76be4c
drm/amd/display: Check cursor address before program.

Program cursor attributes during set mode is only needed
in case of pipe slipt, bottom pipe should be programmed
same as top pipe. Need to program if address is 0.

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/dcn10/dcn10_hw_sequencer.c