]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amd/display: Fix gamma 2.2 colorop TF direction in tests
authorAlex Hung <alex.hung@amd.com>
Thu, 21 May 2026 02:10:42 +0000 (20:10 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 3 Jun 2026 17:40:37 +0000 (13:40 -0400)
commit533de2d4d5879704cfe83f3b7929e6528fbfa95b
tree17e9287795e614bd6e0bcd1d48e36d53842a434e
parent52c2bc3097153b4c06c209e32d604b085602d69d
drm/amd/display: Fix gamma 2.2 colorop TF direction in tests

[Why & How]
Correct the gamma 2.2 TF direction used in the supported-TF bitmask
tests. Degam and blnd use DRM_COLOROP_1D_CURVE_GAMMA22 (EOTF
direction); shaper uses DRM_COLOROP_1D_CURVE_GAMMA22_INV (inverse
EOTF direction).

This aligns the tests with commit d8f9f42effd7
("drm/amd/display: Fix gamma 2.2 colorop TFs").

Assisted-by: Copilot:Claude-Sonnet-4.6
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Ray Wu <ray.wu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_colorop_test.c