]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Implement custom degamma lut on dcn
authorDavid Francis <David.Francis@amd.com>
Thu, 12 Jul 2018 19:46:41 +0000 (15:46 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 6 Aug 2018 19:35:25 +0000 (14:35 -0500)
commitf1e8bb6826cc22035180724d4d3fedc25fd4a269
tree6fa8772651eff98d82abad618374a3117bc4a948
parent8b65268d090245ff7ce3e564bb32b48104a53a5c
drm/amd/display: Implement custom degamma lut on dcn

[Why]
Custom degamma lut functions are a feature we would
like to support on compatible hardware

[How]
In atomic check, convert from array of drm_color_lut to
dc_transfer_func.  On hardware commit, allow for possibility
of custom degamma.  Both are based on the equivalent
regamma pipeline.

Signed-off-by: David Francis <David.Francis@amd.com>
Reviewed-by: Krunoslav Kovac <Krunoslav.Kovac@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c
drivers/gpu/drm/amd/display/dc/dc_hw_types.h
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c
drivers/gpu/drm/amd/display/modules/color/color_gamma.c