]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amd/display: Add 3x4 CTM support for plane CTM
authorJoshua Ashton <joshua@froggi.es>
Thu, 16 Nov 2023 19:58:12 +0000 (18:58 -0100)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 14 Dec 2023 20:27:35 +0000 (15:27 -0500)
commit6872a189be508b9383bc081d462a5d99cbb8319d
tree9767a12366818ad8e0693b9404adb946979d6fda
parent3dad69090743c5f4642aeb628b8542a1e335dded
drm/amd/display: Add 3x4 CTM support for plane CTM

Create drm_color_ctm_3x4 to support 3x4-dimension plane CTM matrix and
convert DRM CTM to DC CSC float matrix.

v3:
- rename ctm2 to ctm_3x4 (Harry)

Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Joshua Ashton <joshua@froggi.es>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c
include/uapi/drm/drm_mode.h