drm/amd/display: Add a flags union for 3dlut transformation matrix
authorVitaly Prosyak <vitaly.prosyak@amd.com>
Tue, 19 Mar 2019 20:46:50 +0000 (15:46 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Sat, 22 Jun 2019 14:34:08 +0000 (09:34 -0500)
commitc5d3a38b1a18a0bcdfd4cc54e4396cce2aabc968
treee3dcb46d0fdb6e7b0002f45c516d51d316124743
parent00999d991fdebc1ee2d0b06342c6d10e3c51d4c8
drm/amd/display: Add a flags union for 3dlut transformation matrix

[Why & How]
When TM is enabled with 3dlut, we apply conversion to
dcip3 in gamut remap matrix, if source area less than
dcip3. If it is bigger, we remap to bt2020. The added
flags will be used to facilitate this logic.

Signed-off-by: Vitaly Prosyak <vitaly.prosyak@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Krunoslav Kovac <Krunoslav.Kovac@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/modules/color/color_gamma.h