[PATCH libdrm 2/3] modetest: Add support for YUV422 and YUV444

2018-07-07 Thread Hyun Kwon
This allows dumb buffer allocation for YUV422 and YUV444 with correct subsampling values. Signed-off-by: Hyun Kwon --- tests/modetest/buffers.c | 29 ++--- 1 file changed, 26 insertions(+), 3 deletions(-) diff --git a/tests/modetest/buffers.c b/tests/modetest/buffers.c i

[PATCH LIBDRM 2/3] modetest: Add support for YUV422 and YUV444

2018-05-04 Thread Hyun Kwon
This allows dumb buffer allocation for YUV422 and YUV444 with correct subsampling values. Signed-off-by: Hyun Kwon --- tests/modetest/buffers.c | 29 ++--- 1 file changed, 26 insertions(+), 3 deletions(-) diff --git a/tests/modetest/buffers.c b/tests/modetest/buffers.c i