diff options
author | Joshua Ashton <[email protected]> | 2023-11-16 18:57:55 -0100 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2023-12-13 16:08:01 -0500 |
commit | 6bd20f0f165f444c1d8184ebd238dd92966c9dca (patch) | |
tree | c8cd4d594c98fe38faa6ab8314083512d471b871 /drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h | |
parent | 8b6b3f668f31a24b5406661388b9a69202e83e9d (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 <[email protected]>
Signed-off-by: Joshua Ashton <[email protected]>
Co-developed-by: Melissa Wen <[email protected]>
Signed-off-by: Melissa Wen <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h')
0 files changed, 0 insertions, 0 deletions