]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Support plane level CTM
authorStylon Wang <stylon.wang@amd.com>
Tue, 10 Mar 2020 19:09:29 +0000 (15:09 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 31 Mar 2020 16:26:14 +0000 (12:26 -0400)
commitaa5d396117b13c1c4fc79f8e53a8a0c587404c82
tree2746f8929d3b52a962e337ac9a5c14639fad31b6
parentb9b5ef0749e20cfafa22f1f66e30d6bc2d5c480b
drm/amd/display: Support plane level CTM

[Why]
CTM was only supported at CRTC level and we need color space conversion
in linear space at plane level.

[How]
- Add plane-level CTM to dc interface
- Program plane-level CTM in DCN

Signed-off-by: Stylon Wang <stylon.wang@amd.com>
Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c
drivers/gpu/drm/amd/display/dc/dc.h
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c