summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/dce110/dce110_opp_v.c
diff options
context:
space:
mode:
authorAric Cyr <aric.cyr@amd.com>2016-12-21 04:24:24 +0300
committerAlex Deucher <alexander.deucher@amd.com>2017-09-27 00:06:52 +0300
commitd7194cf6b8ddf0344e70834397d0b1af2cc5fe05 (patch)
tree5cf6188fb1d2d3b9974d396dc03b08b79609ba30 /drivers/gpu/drm/amd/display/dc/dce110/dce110_opp_v.c
parent3c25e920f011d785725985733ca2625defbf680f (diff)
downloadlinux-d7194cf6b8ddf0344e70834397d0b1af2cc5fe05.tar.xz
drm/amd/display: Implement gamma correction using input LUT
The dc_gamma in dc_surface will be programmed to the input LUT if provided. If dc_gamma is not provided in dc_surface regamma may be used to emulate gamma. Some refactor and cleanup included as well. Signed-off-by: Aric Cyr <aric.cyr@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>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dce110/dce110_opp_v.c')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dce110/dce110_opp_v.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dce110/dce110_opp_v.c b/drivers/gpu/drm/amd/display/dc/dce110/dce110_opp_v.c
index dfd63a71d214..0a9b384303d0 100644
--- a/drivers/gpu/drm/amd/display/dc/dce110/dce110_opp_v.c
+++ b/drivers/gpu/drm/amd/display/dc/dce110/dce110_opp_v.c
@@ -32,8 +32,6 @@
#include "dce/dce_opp.h"
#include "dce110_opp_v.h"
-#include "gamma_types.h"
-
/*****************************************/
/* Constructor, Destructor */
/*****************************************/