[PATCH 0/2] YUV support for VOP2 background color
Andy Yan
andyshrk at 163.com
Mon Jun 1 06:44:15 PDT 2026
Hello Cristian,
At 2026-05-25 00:27:27, "Cristian Ciocaltea" <cristian.ciocaltea at collabora.com> wrote:
>Since commit bec7cbfa7d4f ("drm/rockchip: vop2: Support setting custom
>background color") the VOP2 display controller allows configuring the
>background color of each video output port.
>
>However, this is currently limited to RGB formats. When operating in
>YUV overlay mode, the color must be programmed using YUV format.
>
>Add the necessary RGB-to-YCbCr conversion logic, covering all color
>spaces supported by the display controller: BT601L, BT601F, BT709L and
>BT2020L.
>
Do you currently have a branch that makes dw-hdmi-qp output in YUV mode ?
>Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea at collabora.com>
>---
>Cristian Ciocaltea (2):
> drm/rockchip: vop2: Rename CSC_BT2020 to CSC_BT2020L
> drm/rockchip: vop2: Add YUV support to background color
>
> drivers/gpu/drm/rockchip/rockchip_drm_vop2.c | 154 ++++++++++++++++++++++++---
> drivers/gpu/drm/rockchip/rockchip_drm_vop2.h | 2 +-
> 2 files changed, 139 insertions(+), 17 deletions(-)
>---
>base-commit: 213c92ac9717e4951f052a499f91c89302889813
>change-id: 20260524-vop2-bg-yuv-1b0e6a09c579
>
More information about the linux-arm-kernel
mailing list