Mutter needs a pure 2.4 power curve. The color pipeline only has 2.2. This series adds 2.4, and 2.6 for completeness.
Tested on Navi 48. IGT patches for the Gamma 2.4 and 2.6 tests are on the igt-dev mailing list. Harry Wentland (4): drm/colorop: Define Gamma 2.4 and 2.6 and its Inverse drm/amd/display: Use the wide CM3 curve for gamma 2.4 and 2.6 drm/amd/display: Add support for 2.4 and 2.6 Gamma and its Inverse drm/amd/display: Add KUnit cases for gamma 2.4 and 2.6 colorops .../amd/display/amdgpu_dm/amdgpu_dm_color.c | 6 +++ .../amd/display/amdgpu_dm/amdgpu_dm_colorop.c | 12 +++-- .../amdgpu_dm/tests/amdgpu_dm_color_test.c | 18 +++++++ .../amdgpu_dm/tests/amdgpu_dm_colorop_test.c | 54 +++++++++++++++++-- .../amd/display/dc/dcn30/dcn30_cm_common.c | 2 + drivers/gpu/drm/drm_colorop.c | 4 ++ include/drm/drm_colorop.h | 39 ++++++++++++++ 7 files changed, 129 insertions(+), 6 deletions(-) -- 2.56.1
