1
0
Fork 0
alistair23-linux/drivers/gpu/drm/arm
Mihail Atanassov 6e810eb508 drm: mali-dp: Add YUV->RGB conversion support for video layers
Internally Mali DP uses an RGB pipeline so video layers that support
YUV input buffers need to convert the input data to RGB. The YUV
buffers can have various encodings and this patch introduces support
for BT.601, BT.709 and BT.2020 encodings, both limited and full ranges.

This patch adds support for specifying the color encoding of the
input buffers for the planes that are backed by the video layers
and programs the YUV2RGB coefficients into hardware based on the
selected encoding.

Signed-off-by: Mihail Atanassov <mihail.atanassov@arm.com>
[updated to use standard properties]
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
2018-03-14 11:41:01 +00:00
..
Kconfig drm/arm: make fbdev support really optional 2016-07-18 09:11:42 +02:00
Makefile drm/arm: Add support for Mali Display Processors 2016-06-15 17:29:22 +01:00
hdlcd_crtc.c drm: Don't pass clip to drm_atomic_helper_check_plane_state() 2018-03-05 20:48:25 +02:00
hdlcd_drv.c Merge tag 'drm-misc-next-2017-11-30' of git://anongit.freedesktop.org/drm/drm-misc into drm-next 2017-12-04 05:42:49 +10:00
hdlcd_drv.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hdlcd_regs.h drm: Add support for ARM's HDLCD controller. 2016-02-10 13:44:16 +00:00
malidp_crtc.c drm: arm: malidp: Don't destroy planes manually in error handlers 2018-03-14 11:38:02 +00:00
malidp_drv.c drm: mali-dp: Turn off CRTC vblank when removing module. 2018-03-14 11:38:03 +00:00
malidp_drv.h drm: arm: malidp: Don't destroy planes manually in error handlers 2018-03-14 11:38:02 +00:00
malidp_hw.c drm: mali-dp: Add YUV->RGB conversion support for video layers 2018-03-14 11:41:01 +00:00
malidp_hw.h drm: mali-dp: Add YUV->RGB conversion support for video layers 2018-03-14 11:41:01 +00:00
malidp_planes.c drm: mali-dp: Add YUV->RGB conversion support for video layers 2018-03-14 11:41:01 +00:00
malidp_regs.h drm: mali-dp: Add YUV->RGB conversion support for video layers 2018-03-14 11:41:01 +00:00