summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h
diff options
context:
space:
mode:
authorJernej Skrabec <jernej.skrabec@siol.net>2019-07-13 14:03:46 +0200
committerMaxime Ripard <maxime.ripard@bootlin.com>2019-07-20 07:38:09 +0200
commitb72cb0dc4c46fe75a52a9adb4a13ba1213e50000 (patch)
tree66ca73f53da7b226cc26dc2d2a7d80f594322fec /drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h
parentab38c3b7c3472a6626aceb12fc2a23828152daf3 (diff)
downloadlinux-b72cb0dc4c46fe75a52a9adb4a13ba1213e50000.tar.bz2
drm/sun4i: sun8i-csc: Add support for color encoding and range
Conversion from YUV to RGB depends on range (limited or full) and encoding (BT.601 or BT.709). Current code doesn't consider this and always uses BT.601 encoding and limited range. Fix this by introducing new CSC matrices, which are selected based on range and encoding parameters. Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190713120346.30349-4-jernej.skrabec@siol.net
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h')
0 files changed, 0 insertions, 0 deletions