diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2022-09-19 19:36:29 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-10-11 18:33:31 +0300 |
commit | a895014853ea6df2778533e2a0bb7a0d53f02ec2 (patch) | |
tree | 6d3374acc17f08e4cc2ab010ee03b860cc0d10bd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f00844daa5212aac609d9cb97ce5e0a74c67890a (diff) | |
download | linux-a895014853ea6df2778533e2a0bb7a0d53f02ec2.tar.xz |
drm/amd/display: fix transfer function passed to build_coefficients()
The default argument should be enum TRANSFER_FUNCTION_SRGB rather than
the current boolean value which improperly maps to
TRANSFER_FUNCTION_BT709.
Commit 9b3d76527f6e ("drm/amd/display: Revert adding degamma coefficients")
looks to have improperly reverted
commit d02097095916 ("drm/amd/display: Add regamma/degamma coefficients and set sRGB when TF is BT709")
replacing the enum value with a boolean value.
Cc: Krunoslav Kovac <Krunoslav.Kovac@amd.com>
Cc: Jaehyun Chung <jaehyun.chung@amd.com>
Cc: Zeng Heng <zengheng4@huawei.com>
Fixes: 9b3d76527f6e ("drm/amd/display: Revert adding degamma coefficients")
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions