[PATCH i-g-t 0/7] intel-buf changes for xe render-copy tests
Zbigniew Kempczyński
zbigniew.kempczynski at intel.com
Wed Feb 28 14:54:00 UTC 2024
We're missing xe render-copy tests. I learned this hard way on
kms-big-fb in which blits which are not started on (0, 0) are
wrong (see https://patchwork.freedesktop.org/series/130379/ for
reference).
I'm working on xe_render_copy tests (which will vary than
gem_render_copy counterpart) but before sending them I want
to separate library part changes - those are also used in i915
so I need to ensure no regression will be introduced due to
width/height separation and simplification of stride/height
calculation.
Cc: Matthew Auld <matthew.auld at intel.com>
Zbigniew Kempczyński (7):
lib/intel_batchbuffer: Add I915_TILING_64 definition
lib/intel_batchbuffer: Fix intel_bb_dump for Xe
lib/intel_bufops: Add width and height to intel_buf
lib/intel_bufops: Simplify buffer dimension calculations
lib/intel_bufops: Use common helper to fill buffer with pattern
lib/intel_bufops: Add png dump helper without detiling
tests/xe_intel_bb: Dump do png without detiling
lib/intel_batchbuffer.c | 29 ++++-
lib/intel_batchbuffer.h | 5 +-
lib/intel_bufops.c | 204 +++++++++++++++++++++++++---------
lib/intel_bufops.h | 11 +-
lib/rendercopy_gen7.c | 2 +-
lib/rendercopy_gen8.c | 2 +-
lib/rendercopy_gen9.c | 2 +-
tests/intel/api_intel_bb.c | 84 ++------------
tests/intel/gem_render_copy.c | 68 +-----------
tests/intel/xe_intel_bb.c | 84 ++------------
10 files changed, 216 insertions(+), 275 deletions(-)
--
2.34.1
More information about the igt-dev
mailing list