]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/amd/display: fill up DCN3 DPP color state
authorMelissa Wen <mwen@igalia.com>
Tue, 28 Nov 2023 17:52:52 +0000 (16:52 -0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 22 Jan 2024 22:13:26 +0000 (17:13 -0500)
commite808825c6c380516fe4b73532d197caee6ba2cba
tree311c254ed717762cfbabca0cb708f5fc43a7d982
parentf26407564f1e2897550ef6c4ecf5cf18c7e08d22
drm/amd/display: fill up DCN3 DPP color state

DCN3 DPP color state was uncollected and some state elements from DCN1
doesn't fit DCN3. Create new elements according to DCN3 color caps and
fill them up for DTN log output.

rfc-v2:
- fix reading of gamcor and blnd gamma states
- remove gamut remap register in favor of gamut remap matrix reading

Signed-off-by: Melissa Wen <mwen@igalia.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_dpp.c
drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h