drm/amd/display: hook up DCN30 color blocks data to DTN log
authorMelissa Wen <mwen@igalia.com>
Tue, 28 Nov 2023 17:52:55 +0000 (16:52 -0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 22 Jan 2024 22:13:28 +0000 (17:13 -0500)
commit060963bf7759d8b9f6d0ce27224c221f383bcf5b
treeff17b79d5e084723a5969fa387ee89c63a8b40f8
parent9bfb1a538a252cc6764dec1eb3697aac71eaec7f
drm/amd/display: hook up DCN30 color blocks data to DTN log

Color caps changed between HW versions, which caused the DCN10 color
state sections in the DTN log to no longer match DCN3+ state. Create a
color state log specific to DCN3.0 and hook it up to DCN3.0+ and DCN3.1+
drivers.

rfc-v2:
- detail RAM mode for gamcor and blnd gamma blocks
- add MPC gamut remap matrix log

v3:
- read MPC gamut remap matrix in fixed 31.32 format
- extend to DCN3.0+ and DCN3.1+ drivers (Harry)

Signed-off-by: Melissa Wen <mwen@igalia.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/hwss/dcn30/dcn30_hwseq.c
drivers/gpu/drm/amd/display/dc/hwss/dcn30/dcn30_hwseq.h
drivers/gpu/drm/amd/display/dc/hwss/hw_sequencer.h