]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amd/display: add plane shaper TF support
authorMelissa Wen <mwen@igalia.com>
Thu, 16 Nov 2023 19:58:04 +0000 (18:58 -0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 13 Dec 2023 21:32:43 +0000 (16:32 -0500)
commit99de686115b00e765a5e9345e10c9d7312e4c7ea
treedad228c8c234c4f684de8f675c97f61b71eca4e7
parentaba8b76baabde681ab4ff686452005d80d949345
drm/amd/display: add plane shaper TF support

Enable usage of predefined transfer func in addition to shaper 1D LUT.
That means we can save some complexity by just setting a predefined
curve, instead of programming a custom curve when preparing color space
for applying 3D LUT.

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_color.c