diff options
author | Jernej Skrabec <[email protected]> | 2021-08-31 20:48:19 +0200 |
---|---|---|
committer | Maxime Ripard <[email protected]> | 2021-09-01 11:44:10 +0200 |
commit | c302c98da646409d657a473da202f10f417f3ff1 (patch) | |
tree | f2d9444fd03fe221aabcedf4aefaf3d82e47857b /tools/perf/scripts/python/export-to-sqlite.py | |
parent | f5df171f93d31348fa133368edf77aa8a0314467 (diff) |
drm/sun4i: Fix macros in sun8i_csc.h
Macros SUN8I_CSC_CTRL() and SUN8I_CSC_COEFF() don't follow usual
recommendation of having arguments enclosed in parenthesis. While that
didn't change anything for quite sometime, it actually become important
after CSC code rework with commit ea067aee45a8 ("drm/sun4i: de2/de3:
Remove redundant CSC matrices").
Without this fix, colours are completely off for supported YVU formats
on SoCs with DE2 (A64, H3, R40, etc.).
Fix the issue by enclosing macro arguments in parenthesis.
Cc: [email protected] # 5.12+
Fixes: 883029390550 ("drm/sun4i: Add DE2 CSC library")
Reported-by: Roman Stratiienko <[email protected]>
Signed-off-by: Jernej Skrabec <[email protected]>
Reviewed-by: Chen-Yu Tsai <[email protected]>
Signed-off-by: Maxime Ripard <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions