diff options
author | Leo (Sunpeng) Li <sunpeng.li@amd.com> | 2018-02-23 12:59:03 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-03-14 15:08:43 -0500 |
commit | 5e3e341cee51a755b81a660806bfcad3fdcfc906 (patch) | |
tree | 739a6c034d7022c0ba23958842579ec04ebbe41d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a7596f25db13b1f5a2f8a068d8e9a60a23e34451 (diff) |
drm/amd/display: Convert CTM to 2's complement
DRM's documentation for the color transform matrix does not specify
whether the values are in signed-magnitude, or 2's complement.
Therefore, it was assumed to use 2's complement.
However, existing usermode implementations use signed-magnitude.
Therefore, conform to existing standards, and convert to 2's complement
internally.
Signed-off-by: Leo (Sunpeng) Li <sunpeng.li@amd.com>
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