drm/amd/display: Refactor to move color helper into module
authorAnthony Koo <Anthony.Koo@amd.com>
Wed, 14 Dec 2016 21:26:27 +0000 (16:26 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 21:05:22 +0000 (17:05 -0400)
commitea24af3e21192a719603ed02ec42e549e3c4a66a
treeaf55b02e31bf1a5b35b99be011ec285d77791d09
parentb90a2b23edeb1f5181c7baf0ecd305c7e6ab20b4
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>
drivers/gpu/drm/amd/display/modules/color/color_helper.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/modules/color/color_helper.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/modules/inc/mod_color.h