summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/modules/inc
diff options
context:
space:
mode:
authorAnthony Koo <Anthony.Koo@amd.com>2016-12-15 00:26:27 +0300
committerAlex Deucher <alexander.deucher@amd.com>2017-09-27 00:05:22 +0300
commitea24af3e21192a719603ed02ec42e549e3c4a66a (patch)
treeaf55b02e31bf1a5b35b99be011ec285d77791d09 /drivers/gpu/drm/amd/display/modules/inc
parentb90a2b23edeb1f5181c7baf0ecd305c7e6ab20b4 (diff)
downloadlinux-ea24af3e21192a719603ed02ec42e549e3c4a66a.tar.xz
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 <anthony.koo@amd.com> Reviewed-by: Aric Cyr <Aric.Cyr@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/modules/inc')
-rw-r--r--drivers/gpu/drm/amd/display/modules/inc/mod_color.h4
1 files changed, 2 insertions, 2 deletions
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;
};