drm/amd/display: add plane CTM support
authorMelissa Wen <mwen@igalia.com>
Thu, 16 Nov 2023 19:58:11 +0000 (18:58 -0100)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 14 Dec 2023 20:27:20 +0000 (15:27 -0500)
commit3dad69090743c5f4642aeb628b8542a1e335dded
treeb13f7105a4b7f0ca1044adae2d6a6c5175153966
parent34dc227bf2f34085313be39d76b12f08bfe8efc0
drm/amd/display: add plane CTM support

Map the plane CTM driver-specific property to DC plane, instead of DC
stream. The remaining steps to program DPP block are already implemented
on DC shared-code.

v3:
- fix comment about plane and CRTC CTMs priorities (Harry)

Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Melissa Wen <mwen@igalia.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c