drm/amd/display: combined user regamma and OS GAMMA_CS_TFM_1D
authorDerek Lai <Derek.Lai@amd.com>
Wed, 14 Oct 2020 04:43:55 +0000 (12:43 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 26 Oct 2020 17:34:54 +0000 (13:34 -0400)
commit5d1b3211da033db56700fbdb3be5d90cea56a0c2
tree16ad10470ad44c1425abf89b996a90a69f924bba
parent7154a51b534707cae0f61190cab8f21cc9b2abdc
drm/amd/display: combined user regamma and OS GAMMA_CS_TFM_1D

[Why]
For user regamma we're missing this function call
to combine user regamma + OS for GAMMA_CS_TFM_1D type.

[How]
Applied 1D LUT in the mod_color_build_user_regamma.
And Set the regamma dirty as updateGamma.

Signed-off-by: Derek Lai <Derek.Lai@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
drivers/gpu/drm/amd/display/modules/color/color_gamma.h