[igt-dev] [PATCH i-g-t 0/8] lib/igt_fb: Add support for the NV12 format.
Maarten Lankhorst
maarten.lankhorst at linux.intel.com
Tue Jan 23 12:56:34 UTC 2018
This patch series will allow us to create framebuffers with NV12 support.
Tests don't have to handle NV12 differently, and can draw to it the same
way as any other format.
I've validated this against kms_plane.pixel-format-pipe-*-planes and
kms_plane_scaling, which will automatically use NV12 if available
because it filters usable formats through igt_get_all_cairo_formats().
Maarten Lankhorst (8):
lib/igt_fb: Add igt_put_cairo_ctx as counter to igt_get_cairo_ctx
lib/igt_fb: Pass format to igt_calc_fb_size
lib/fb: Handle planar formats in igt_calc_fb_size and create_bo_for_fb
lib/intel_batchbuffer: Add delta argument to
igt_blitter_fast_copy__raw
lib/intel_batchbuffer: Add src/dst delta arguments to
igt_blitter_fast_copy too
lib/fb: Add support for creating planar framebuffers
tests/kms_render: Copy all planes when copying fb
lib/igt_fb: Add support for NV12 format through conversion
lib/igt_fb.c | 629 ++++++++++++++++++++++++++++++--------
lib/igt_fb.h | 13 +-
lib/intel_batchbuffer.c | 41 ++-
lib/intel_batchbuffer.h | 16 +-
lib/ioctl_wrappers.c | 11 +-
lib/ioctl_wrappers.h | 2 +-
tests/gem_concurrent_all.c | 4 +-
tests/gem_read_read_speed.c | 4 +-
tests/kms_chv_cursor_fail.c | 3 +-
tests/kms_color.c | 4 +-
tests/kms_concurrent.c | 3 +-
tests/kms_crtc_background_color.c | 2 +-
tests/kms_cursor_crc.c | 23 +-
tests/kms_draw_crc.c | 2 +-
tests/kms_flip.c | 3 +-
tests/kms_frontbuffer_tracking.c | 4 +-
tests/kms_mmap_write_crc.c | 4 +-
tests/kms_plane.c | 9 +-
tests/kms_plane_multiple.c | 3 +-
tests/kms_plane_scaling.c | 3 +-
tests/kms_psr_sink_crc.c | 2 +-
tests/kms_render.c | 17 +-
tests/kms_rotation_crc.c | 7 +-
tests/kms_setmode.c | 2 +-
tests/prime_vgem.c | 2 +-
tests/testdisplay.c | 8 +-
26 files changed, 617 insertions(+), 204 deletions(-)
--
2.15.1
More information about the igt-dev
mailing list