drm/amd/display: read gamut remap matrix in fixed-point 31.32 format
authorMelissa Wen <mwen@igalia.com>
Tue, 28 Nov 2023 17:52:51 +0000 (16:52 -0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 22 Jan 2024 22:13:26 +0000 (17:13 -0500)
commitf26407564f1e2897550ef6c4ecf5cf18c7e08d22
tree9771f365fbd055c07bc5bc516946d7b1bc94e096
parent07b2483ee1d0a0e64eef81e653f6eaffc6392092
drm/amd/display: read gamut remap matrix in fixed-point 31.32 format

Instead of read gamut remap data from hw values, convert HW register
values (S2D13) into a fixed-point 31.32 matrix for color state log.
Change DCN10 log to print data in the format of the gamut remap matrix.

Signed-off-by: Melissa Wen <mwen@igalia.com>
Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c
drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h