[PATCH i-g-t 00/14] intel: igt_draw and intel_bufops improvements

Ville Syrjala ville.syrjala at linux.intel.com
Fri Oct 4 10:41:07 UTC 2024


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

Bunch of improvements to igt_draw and intel_bufops:
- full 8bpp and 64bpp support
- hook in all gen2/gen3 tile layouts
- pread/pwrite fallback in intel_bufops for !WC systems
- new gem_draw test to validate igt_draw mmap cpu/wc and pwrite
  support w/o display limitations getting in the way

Ville Syrjälä (14):
  lib/igt_draw: Use void* where appopriate
  lib/igt_draw: Extend the API to support 64bpp colors
  lib/igt_draw: Support 64bpp int the mmap/pwrite paths
  lib/igt_draw: Support 8bpp int the mmap/pwrite paths
  lib/igt_draw: Use function pointers for the linear<->tiled conversion
  lib/igt_draw: Add support for gen2 and i915 tiling layouts
  lib/igt_draw: Add 64bpp support to the XY_FAST_COLOR_BLT path
  lib/igt_draw: Add 64bpp support for the non-XY_FAST_COLOR_BLT path
  lib/intel_bufops: Add support for gen2 and i915 tiling layouts
  lib/intel_bufops: Provide pread/pwrite based fallback when we don't
    have WC
  lib/rendercopy: Use igt_require() to validate gen2/3 surface size
  tests/kms_draw_crc: Test 64bpp
  lib/igt_aux: Add igt_ror() and igt_rol()
  tests/gem_draw: Test igt_draw without kms

 lib/igt_aux.h              |   7 +
 lib/igt_draw.c             | 266 ++++++++++++++++++++++++++-----------
 lib/igt_draw.h             |   6 +-
 lib/intel_bufops.c         | 151 +++++++++++++++------
 lib/intel_reg.h            |   2 +
 lib/rendercopy_i830.c      |   8 +-
 lib/rendercopy_i915.c      |   8 +-
 tests/intel/gem_draw.c     | 235 ++++++++++++++++++++++++++++++++
 tests/intel/kms_draw_crc.c |  19 ++-
 tests/meson.build          |   1 +
 10 files changed, 574 insertions(+), 129 deletions(-)
 create mode 100644 tests/intel/gem_draw.c

-- 
2.45.2



More information about the igt-dev mailing list