drm/amd/display: 4k split black out due to incorrect cursor
authorTony Cheng <tony.cheng@amd.com>
Mon, 19 Dec 2016 17:54:40 +0000 (12:54 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 21:06:31 +0000 (17:06 -0400)
commitb76794d2e7198cf7c73f1b65dbc6dc796ac92685
tree7d92f0c61e4c06b32b390deaf386067293fb9db6
parent6f3f8d48664d0cecc559ea8c093838c13ba21192
drm/amd/display: 4k split black out due to incorrect cursor

- add handling to program both cursor for left and right pipe
- add guard to disable cursor in case where cursor isn't visible to prevent pipe hang

Signed-off-by: Tony Cheng <tony.cheng@amd.com>
Reviewed-by: Yongqiang Sun <yongqiang.sun@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_target.c
drivers/gpu/drm/amd/display/dc/dc_hw_types.h
drivers/gpu/drm/amd/display/dc/dce110/dce110_ipp.h
drivers/gpu/drm/amd/display/dc/dce110/dce110_ipp_cursor.c
drivers/gpu/drm/amd/display/dc/inc/hw/ipp.h