drm/amd/display: create DCN3-specific log for MPC state
authorMelissa Wen <mwen@igalia.com>
Tue, 28 Nov 2023 17:52:54 +0000 (16:52 -0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 22 Jan 2024 22:13:27 +0000 (17:13 -0500)
commit6348469450d65270e225e1479a97c966975181b2
treed5ec4f8ca0350bd50349894260aa15c923d96f08
parentc597479f27b6b96c61c70cb25b5e1a4f9ea4c7f7
drm/amd/display: create DCN3-specific log for MPC state

Logging DCN3 MPC state was following DCN1 implementation that doesn't
consider new DCN3 MPC color blocks. Create new elements according to
DCN3 MPC color caps and a new DCN3-specific function for reading MPC
data.

v3:
- remove gamut remap reg reading in favor of fixed31_32 matrix data

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_mpc.c
drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h