[igt-dev] [PATCH i-g-t 0/3] add support for passing yuv writeback output format
Abhinav Kumar
quic_abhinavk at quicinc.com
Mon Aug 7 22:48:25 UTC 2023
MSM display pipeline has support for writeback to handle YUV formats.
Currently the kms_writeback supports hard-codes the writeback output
format to DRM_FORMAT_XRGB8888. This series makes the necessary changes
in the lib and kms_writeback to allow passing DRM YUV formats to
kms_writeback.
The default kms_writeback shall still use only DRM_FORMAT_XRGB8888.
Additional formats can be passed using the command line.
Sample usage of this would be:
./kms_writeback -f <name of the DRM YUV fmt from igt_fb>
Abhinav Kumar (3):
lib/igt_fb: add a helper to find drm_id from matching string
lib/igt_fb: allow igt_fb_get_fnv1a_crc() to handle YUV formats
tests/kms_writeback: allow writeback to output custom format
lib/igt_fb.c | 33 +++++++++++++++++++++++++++++++--
lib/igt_fb.h | 3 +++
tests/kms_writeback.c | 35 +++++++++++++++++++++++++----------
3 files changed, 59 insertions(+), 12 deletions(-)
--
2.40.1
More information about the igt-dev
mailing list