drm/amd/display: Add double buffer machanism to OCSC
authorXingyue Tao <xingyue.tao@amd.com>
Fri, 16 Mar 2018 19:20:48 +0000 (15:20 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 11 Apr 2018 18:07:46 +0000 (13:07 -0500)
commit5813dd1c0c4e06b3321142cd2da99909a1f41707
tree751d2612276b120d45b782fa2446e04276b76f8f
parent6e5b3587dbf6aaf7f9eef4956a3fce12bf7e9ffa
drm/amd/display: Add double buffer machanism to OCSC

- Added double buffer mechanism to output CSC
so that there's no tearing when adjusting brightness
from Radeon settings

Signed-off-by: Xingyue Tao <xingyue.tao@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_dpp.h
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_cm.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c