Skip to content

lib/igt_fb: Add support for the NV12 format.

Maarten Lankhorst igt-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 21 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8lib/igt_fb: Add igt_put_cairo_ctx as counter to igt_get_cairo_ctxlib/igt_fb.c lib/igt_fb.h tests/kms_chv_cursor_fail.c +14 more+63 -455 replies
2/8lib/igt_fb: Pass format to igt_calc_fb_sizelib/igt_fb.c lib/igt_fb.h tests/kms_frontbuffer_tracking.c+8 -81 reply
3/8lib/fb: Handle planar formats in igt_calc_fb_size and create_bo_for_fblib/igt_fb.c+123 -456 replies
4/8lib/intel_batchbuffer: Add delta argument to igt_blitter_fast_copy__rawlib/igt_fb.c lib/intel_batchbuffer.c lib/intel_batchbuffer.h+16 -92 replies
5/8lib/intel_batchbuffer: Add src/dst delta arguments to igt_blitter_fast_copy toolib/intel_batchbuffer.c lib/intel_batchbuffer.h+14 -81 reply
6/8lib/fb: Add support for creating planar framebufferslib/igt_fb.c lib/igt_fb.h lib/ioctl_wrappers.c +4 more+80 -273 replies
7/8tests/kms_render: Copy all planes when copying fblib/intel_batchbuffer.c lib/intel_batchbuffer.h tests/gem_concurrent_all.c +2 more+23 -184 replies
8/8lib/igt_fb: Add support for NV12 format through conversionlib/igt_fb.c+318 -726 replies

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchMika KaholaVille Syrjälä
1/8R-b
2/8R-b
3/8R-b
4/8R-b R-b
5/8R-b
6/8R-b
7/8R-b
8/8R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [igt-dev] [PATCH i-g-t 0/8] lib/igt_fb: Add support for the NV12 format.

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(-)
Signature · 6 lines
2.15.1

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev