Documentation/amdgpu/display: add DC color caps info
authorMelissa Wen <mwen@igalia.com>
Thu, 4 Aug 2022 15:01:05 +0000 (14:01 -0100)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 16 Aug 2022 22:14:32 +0000 (18:14 -0400)
commit78e16ac1e764def96f4c89b433d379acd68881c7
tree23c650a0cad0bee3d48c6d86e6423faf1bfc69d6
parentcdeec9a11c3c95f33a3e2be36ef3fabd60b8ebf2
Documentation/amdgpu/display: add DC color caps info

Add details about color correction capabilities and explain a bit about
differences between DC hw generations and also how they are mapped
between DRM and DC interface. Two schemas for DCN 2.0 and 3.0 (converted
to svg from the original png) is included to illustrate it. They were
obtained from a discussion[1] in the amd-gfx mailing list.

[1] https://lore.kernel.org/amd-gfx/20220422142811.dm6vtk6v64jcwydk@mail.igalia.com/

v1:
- remove redundant comments (Harry)
- fix typos (Harry)

v2:
- reword introduction of color section
- add co-dev tag for Harry - who provided most of the info
- fix typos (Tales)
- describe missing struct parameters (Tales and Siqueira)

Co-developed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Melissa Wen <mwen@igalia.com>
Reviewed-by: Tales Aparecida <tales.aparecida@gmail.com>
Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Documentation/gpu/amdgpu/display/dcn2_cm_drm_current.svg [new file with mode: 0644]
Documentation/gpu/amdgpu/display/dcn3_cm_drm_current.svg [new file with mode: 0644]
Documentation/gpu/amdgpu/display/display-manager.rst
drivers/gpu/drm/amd/display/dc/dc.h