From ea24af3e21192a719603ed02ec42e549e3c4a66a Mon Sep 17 00:00:00 2001 From: Anthony Koo Date: Wed, 14 Dec 2016 16:26:27 -0500 Subject: drm/amd/display: Refactor to move color helper into module Refactor part 2 - Moving color helper into color module The color module will need table defined in the helper in order to calculate the logical regamma curve, and also to fully handle gamut remapping. Signed-off-by: Anthony Koo Reviewed-by: Aric Cyr Acked-by: Harry Wentland Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/display/modules/inc/mod_color.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers/gpu/drm/amd/display/modules/inc') diff --git a/drivers/gpu/drm/amd/display/modules/inc/mod_color.h b/drivers/gpu/drm/amd/display/modules/inc/mod_color.h index 91abc173444a..787c2c0a0e14 100644 --- a/drivers/gpu/drm/amd/display/modules/inc/mod_color.h +++ b/drivers/gpu/drm/amd/display/modules/inc/mod_color.h @@ -28,6 +28,7 @@ #define MOD_COLOR_H_ #include "dm_services.h" +#include "color_helper.h" struct mod_color { int dummy; @@ -54,7 +55,6 @@ struct gamut_space_coordinates { }; struct gamut_space_entry { - unsigned int index; unsigned int redX; unsigned int redY; unsigned int greenX; @@ -75,7 +75,7 @@ struct white_point_coodinates { }; struct white_point_coodinates_entry { - unsigned int index; + unsigned int temperature; unsigned int whiteX; unsigned int whiteY; }; -- cgit v1.2.3