OSDN Git Service

drm/amd/display: improve cursor programming reliability
authorDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Fri, 21 Apr 2017 13:34:09 +0000 (09:34 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 22:06:35 +0000 (18:06 -0400)
commitbeb16b6a0f921f66472e4946a4955f07942fa9d8
treed1d1a6c02a70b3351f447b8e189674bb55af7482
parent03f5c686c3900f74853539cdebe4c25190106402
drm/amd/display: improve cursor programming reliability

This change will cache cursor attributes and reprogram them
when enabling cursor after power gating if the attributes were not
yet reprogrammed

Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_stream.c
drivers/gpu/drm/amd/display/dc/dc.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/dce120/dce120_ipp.h
drivers/gpu/drm/amd/display/dc/dce120/dce120_ipp_cursor.c
drivers/gpu/drm/amd/display/dc/inc/hw/ipp.h