drm/tests/modetest
Jonas Karlman de88f74df9 modetest: add support for DRM_FORMAT_NV{15,20,30}
Add smpte and tiles pattern for 10-bit NV15, NV20 and NV30 pixel formats
based on the existing pattern for NV12 with colors simply scaled from
8-bit to 10-bit.

These pixel formats are typically used by video decoder and display
pipeline on Rockchip SoCs, e.g. on RK322X, RK3288, RK3328 and RK3399
the video decoder produce 10-bit video frames in NV15 and NV20 format.

NV20 and NV30 pixel formats was added in drm-misc commit 728c15b4b5f3
("drm/fourcc: Add NV20 and NV30 YUV formats").

This can be tested/validated on Rockchip SoCs with drm-misc commit
d4b384228562 ("drm/rockchip: vop: Add NV15, NV20 and NV30 support").

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Christopher Obbard <chris.obbard@collabora.com>
Tested-by: Christopher Obbard <chris.obbard@collabora.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-10-30 12:25:09 +00:00
..
Android.mk android: introduce Android.common.mk to reduce boilerplate 2017-01-27 15:48:16 +00:00
Makefile.sources modetest: move sources lists to makefiles.sources 2014-09-28 17:09:34 +01:00
buffers.c modetest: add support for DRM_FORMAT_NV{15,20,30} 2023-10-30 12:25:09 +00:00
buffers.h modetest: add support for writeback connector 2023-09-08 16:27:39 +00:00
cursor.c meson,configure: include config.h automatically 2018-03-20 18:19:26 +00:00
cursor.h modetest: add cursor support 2014-04-22 11:14:12 -04:00
meson.build modetest: custom mode support 2023-09-08 18:19:31 +00:00
modetest.c modetest: add SMPTE pattern support for C[124] formats 2023-10-24 09:45:14 +02:00