[Intel-gfx] [PATCH i-g-t 0/2] Add support for NV12

Vidya Srinivas vidya.srinivas at intel.com
Tue Oct 10 12:15:13 UTC 2017


This series adds NV12 support to IGT
and a test case for checking NV12 functionality.

The series is based on the initial version posted by Chandra Konduru
during 2015 based on the IGT framework available then.
Previous version reference links:
https://patchwork.freedesktop.org/patch/57590/
https://patchwork.freedesktop.org/patch/59067/

chandra konduru (2):
  Prep work for adding NV12 testcase
  tests/test_nv12.c: Add test to cover NV12 format testing

 lib/igt_draw.c                   |   2 +-
 lib/igt_fb.c                     | 189 ++++++++++--
 lib/igt_fb.h                     |  14 +-
 lib/igt_kms.c                    |  50 +++-
 lib/igt_kms.h                    |   2 +
 lib/intel_batchbuffer.c          |  14 +-
 lib/intel_batchbuffer.h          |   3 +-
 lib/intel_reg.h                  |   1 +
 lib/ioctl_wrappers.c             |   9 +
 lib/ioctl_wrappers.h             |   1 +
 tests/Makefile.sources           |   1 +
 tests/NV12_Image0.png            | Bin 0 -> 42502 bytes
 tests/NV12_Image1.png            | Bin 0 -> 179559 bytes
 tests/NV12_Image2.png            | Bin 0 -> 6385 bytes
 tests/kms_draw_crc.c             |   2 +-
 tests/kms_frontbuffer_tracking.c |   6 +-
 tests/kms_render.c               |   4 +-
 tests/kms_rotation_crc.c         |   8 +-
 tests/prime_vgem.c               |   2 +-
 tests/test_nv12.c                | 621 +++++++++++++++++++++++++++++++++++++++
 20 files changed, 876 insertions(+), 53 deletions(-)
 create mode 100644 tests/NV12_Image0.png
 create mode 100644 tests/NV12_Image1.png
 create mode 100644 tests/NV12_Image2.png
 create mode 100644 tests/test_nv12.c

-- 
1.9.1



More information about the Intel-gfx mailing list