aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c
diff options
context:
space:
mode:
authorMelissa Wen <mwen@igalia.com>2023-11-16 18:57:52 -0100
committerAlex Deucher <alexander.deucher@amd.com>2023-12-13 16:08:01 -0500
commit0f5afa190b890052cae187496f660699f00067ef (patch)
tree1b7086a5871af0048b141d67c76abe247966441c /drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c
parent0ef47454dc82358b62a424b37c7520a84f307edb (diff)
downloadlinux-0f5afa190b890052cae187496f660699f00067ef.tar.gz
linux-0f5afa190b890052cae187496f660699f00067ef.tar.bz2
linux-0f5afa190b890052cae187496f660699f00067ef.zip
drm/amd/display: add CRTC gamma TF driver-specific property
Add AMD pre-defined transfer function property to default DRM CRTC gamma to convert to wire encoding with or without a user gamma LUT. There is no post-blending regamma ROM for pre-defined TF. When setting Gamma TF (!= Identity) and LUT at the same time, the color module will combine the pre-defined TF and the custom LUT values into the LUT that's actually programmed. v2: - enable CRTC prop in the end of driver-specific prop sequence - define inverse EOTFs as supported regamma TFs - reword driver-specific function doc to remove shaper/3D LUT v3: - spell out TF+LUT behavior in the commit and comments (Harry) Reviewed-by: Harry Wentland <harry.wentland@amd.com> Co-developed-by: Joshua Ashton <joshua@froggi.es> 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_vm_pt.c')
0 files changed, 0 insertions, 0 deletions