diff options
author | Joshua Ashton <joshua@froggi.es> | 2023-11-16 22:57:55 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-12-14 00:08:01 +0300 |
commit | 6bd20f0f165f444c1d8184ebd238dd92966c9dca (patch) | |
tree | c8cd4d594c98fe38faa6ab8314083512d471b871 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 8b6b3f668f31a24b5406661388b9a69202e83e9d (diff) | |
download | linux-6bd20f0f165f444c1d8184ebd238dd92966c9dca.tar.xz |
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 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions