Add support for XV15 & XV20 formats.

Signed-off-by: Tomi Valkeinen <tomi.valkei...@ideasonboard.com>
---
 drivers/gpu/drm/xlnx/zynqmp_disp.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/drivers/gpu/drm/xlnx/zynqmp_disp.c 
b/drivers/gpu/drm/xlnx/zynqmp_disp.c
index 3d4ade571f0f..32031f52e114 100644
--- a/drivers/gpu/drm/xlnx/zynqmp_disp.c
+++ b/drivers/gpu/drm/xlnx/zynqmp_disp.c
@@ -297,6 +297,16 @@ static const struct zynqmp_disp_format avbuf_vid_fmts[] = {
                .buf_fmt        = ZYNQMP_DISP_AV_BUF_FMT_NL_VID_YV16CI_420,
                .swap           = true,
                .sf             = scaling_factors_888,
+       }, {
+               .drm_fmt        = DRM_FORMAT_XV15,
+               .buf_fmt        = ZYNQMP_DISP_AV_BUF_FMT_NL_VID_YV16CI_420_10,
+               .swap           = false,
+               .sf             = scaling_factors_101010,
+       }, {
+               .drm_fmt        = DRM_FORMAT_XV20,
+               .buf_fmt        = ZYNQMP_DISP_AV_BUF_FMT_NL_VID_YV16CI_10,
+               .swap           = false,
+               .sf             = scaling_factors_101010,
        },
 };
 

-- 
2.43.0

Reply via email to