summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
diff options
context:
space:
mode:
authorJoshua Ashton <joshua@froggi.es>2023-11-16 18:57:55 -0100
committerAlex Deucher <alexander.deucher@amd.com>2023-12-13 16:08:01 -0500
commit6bd20f0f165f444c1d8184ebd238dd92966c9dca (patch)
treec8cd4d594c98fe38faa6ab8314083512d471b871 /drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
parent8b6b3f668f31a24b5406661388b9a69202e83e9d (diff)
drm/amd/display: add CRTC gamma TF support
Add predefined transfer function programming. There is no post-blending out gamma ROM for hardcoded curves, but we can use AMD color modules to program LUT parameters from pre-defined coefficients and an empty regamma LUT (or bump up LUT parameters with pre-defined TF values). v2: - update crtc color mgmt if regamma TF differs between states (Joshua) - map inverse EOTF to DC transfer function (Melissa) v3: - update AMDGPU TF list v4: - update comment regarding regamma behavior Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Joshua Ashton <joshua@froggi.es> Co-developed-by: Melissa Wen <mwen@igalia.com> 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/dce_v6_0.c')
0 files changed, 0 insertions, 0 deletions