drm/amd/display: expose plane blend LUT in HW with MCM
authorMelissa Wen <mwen@igalia.com>
Tue, 9 Dec 2025 15:09:06 +0000 (12:09 -0300)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Feb 2026 22:20:53 +0000 (17:20 -0500)
commitff205dc95a897b4b8c093b665702e83bffd04dc9
treec02a99253048c2dc4205a36b511e9c3dd4938d3d
parent39fc2bc4da0082c226cbee331f0a5d44db3997da
drm/amd/display: expose plane blend LUT in HW with MCM

Since commit 39923050615cd ("drm/amd/display: Clear DPP 3DLUT Cap")
there is a flag in the mpc_color_caps that indicates the pre-blend usage
of MPC color caps. Do the same as commit 9e5d4a5e27c6 ("drm/amd/display:
Use mpc.preblend flag to indicate preblend") and use the mpc.preblend
flag to expose plane blend LUT/TF properties on AMD display driver.

CC: Matthew Schwartz <matthew.schwartz@linux.dev>
Signed-off-by: Melissa Wen <mwen@igalia.com>
Tested-by: Matthew Schwartz <matthew.schwartz@linux.dev>
Reviewed-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c