drm/amd/display: Fix Gamma Adjustment
authorAmy Zhang <Amy.Zhang@amd.com>
Mon, 12 Dec 2016 15:32:24 +0000 (10:32 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 21:04:48 +0000 (17:04 -0400)
commit89e8963036085e4e0e9a993d2e1bdbb931d53794
tree48bd4ccc7ce371d0536aeff8a29eb88764688e34
parent9474980ac470a20d244318db9a7c12be01437805
drm/amd/display: Fix Gamma Adjustment

- Gamma correction is not properly copied to the surface after refactor
- Make sure gamma correction is copied with correct retain

Signed-off-by: Amy Zhang <Amy.Zhang@amd.com>
Reviewed-by: Anthony Koo <Anthony.Koo@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
drivers/gpu/drm/amd/display/dc/core/dc_surface.c
drivers/gpu/drm/amd/display/dc/dc.h