drm/amd/display: add get_gamut_remap helper for MPC3
authorMelissa Wen <mwen@igalia.com>
Tue, 28 Nov 2023 17:52:53 +0000 (16:52 -0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 22 Jan 2024 22:13:26 +0000 (17:13 -0500)
commitaa708057c410175879dcdcdc8bdccd9b1f06e413
tree88ac496c5e4db7a8a73c180f2544c8a27eb7bbd0
parente808825c6c380516fe4b73532d197caee6ba2cba
drm/amd/display: add get_gamut_remap helper for MPC3

We want to be able to read the MPC's gamut remap matrix similar to
what we do with .dpp_get_gamut_remap functions. On the other hand, we
don't need a hook here because only DCN3+ has the MPC gamut remap
block, being absent in previous families.

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/dcn30/dcn30_mpc.h