diff options
author | Joshua Ashton <joshua@froggi.es> | 2023-11-16 18:57:59 -0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-12-13 16:08:01 -0500 |
commit | 980f8710075acaeb226a94cde6dda8ffad30123c (patch) | |
tree | 67f76e4b9885fba7ccf09b465c7ae7981fab099e /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | 683b8c7e7a94fb7445b8d300c7404322ad040bab (diff) | |
download | linux-980f8710075acaeb226a94cde6dda8ffad30123c.tar.gz linux-980f8710075acaeb226a94cde6dda8ffad30123c.tar.bz2 linux-980f8710075acaeb226a94cde6dda8ffad30123c.zip |
drm/amd/display: add plane degamma TF and LUT support
Set DC plane with user degamma LUT or predefined TF from driver-specific
plane color properties. If plane and CRTC degamma are set in the same
time, plane degamma has priority. That means, we only set CRTC degamma
if we don't have plane degamma LUT or TF to configure. We return -EINVAL
if we don't have plane degamma settings, so we can continue and check
CRTC degamma.
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Joshua Ashton <joshua@froggi.es>
Signed-off-by: Melissa Wen <mwen@igalia.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions