diff options
| author | Harry Wentland <harry.wentland@amd.com> | 2026-09-11 16:58:57 -0400 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-10-07 12:05:55 -0400 |
| commit | e69156294e47185ba96f879d6ddf9d092a61b74d (patch) | |
| tree | 3e94b1fe435be8819317f2e25f59bffed56595b4 /scripts/patch-kernel | |
| parent | 45e781c8b0dabc1c1e3f6a879c06b3457dacb966 (diff) | |
| download | linux-next-e69156294e47185ba96f879d6ddf9d092a61b74d.tar.gz linux-next-e69156294e47185ba96f879d6ddf9d092a61b74d.zip | |
drm/amd/display: log MCM shaper and 3D LUT mode in the DTN log
On DCN4 the per-plane MCM shaper and 3D LUT state wasn't visible in the
DTN log: dcn401 wired read_mpcc_state to mpc1_read_mpcc_state, which only
reads the base MPCC blend registers, and the MPCC section didn't print the
LUT fields even where they were populated.
Add mpc401_read_mpcc_state to also read MPCC_MCM_3DLUT_MODE (mode current
and size) and MPCC_MCM_SHAPER_CONTROL (mode current), and print SHAPER,
3DLUT and 3DLUT_SIZE columns in the MPCC section. Mode is 0 bypass, 1
RAM_A, 2 RAM_B; 3DLUT_SIZE is 0 for 17x17x17 and 1 for 9x9x9.
Assisted-by: Copilot:claude-opus-4.8
Reviewed-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Roman Li <roman.li@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
