[igt-dev] [PATCH i-g-t v16 00/15] Remove libdrm in rendercopy
Zbigniew Kempczyński
zbigniew.kempczynski at intel.com
Thu Jul 30 08:51:50 UTC 2020
Try to check how much will be broken when we migrate to no-libdrm
rendercopy.
I still have some doubts in gem_stress, gem_concurrent_blit
so depending on the result we'll decide to spread the change
to smaller series (with introducing _v2 suffix) or will we
be able to do that in single step.
v2: fix invalid offset in bind (gen4)
fix bufops selftest is not executed from default
v3: fix address to be in canonical form
v4: limit 48/47 bit gtt to 46 to avoid using bo with addresses
with 47-bit set
change set-domain to intel_bb_sync in perf.c
v5: dump surface in zlib/base64
v6: back to 1024 px in render test (got hang in gen4 after
change to 512 px)
v7: add dumping bb to base64
add set_domain(wc)
add render-.*-reloc tests
v8: change alignment constraints for tiled buffers on gen4
v9: problem is for gen3 (Grantsdale), not gen4
adding few temporary tests to check stride alignment
v10: change alignment to power of two for gen3
v11: move bb offset to end position for reuse (gen4 and gen6)
in tests which keeps buffer reference (gem_read_read_speed)
v12: add missing set_domain (gtt) in gem_render_tiled_blits
removing hax
v13: change required alignment from 4->2 for non tiled surfaces
enforce sync in tiled_blits for hope gen3 hw will succeed
with flush
v14: try pread instead of gtt mapping for Grantsdale
v15: dump surfaces on gen3
v16: change bufops tiling detection logic
Dominik Grzegorzek (2):
lib/igt_fb: Removal of libdrm dependency
tests/gem|kms: remove libdrm dependency (batch 1)
Zbigniew Kempczyński (13):
lib/intel_bufops: add mapping on cpu / device
lib/intel_bufops: change in hw/sw tiling detection
lib/intel_batchbuffer: add new functions to support rendercopy
lib/intel_batchbuffer: dump bb to base64
tests/gem_caching|partial: adopt to batch flush function cleanup
lib/rendercopy: remove libdrm dependency
tests/api_intel_bb: add render tests
lib/intel_batchbuffer: use canonical addresses for 48bit ppgtt
lib/igt_draw: remove libdrm dependency
tests/gem|kms: remove libdrm dependency (batch 2)
tools/intel_residency: adopt intel_residency to use bufops
tests/perf: remove libdrm dependency for rendercopy
tests/gem_render_tiled_blits: dump gen3 surfaces
lib/Makefile.sources | 2 -
lib/igt_draw.c | 154 ++--
lib/igt_draw.h | 8 +-
lib/igt_fb.c | 96 ++-
lib/intel_aux_pgtable.c | 325 ++++---
lib/intel_aux_pgtable.h | 29 +-
lib/intel_batchbuffer.c | 391 +++++++--
lib/intel_batchbuffer.h | 85 +-
lib/intel_bufops.c | 155 +++-
lib/intel_bufops.h | 15 +-
lib/meson.build | 1 -
lib/rendercopy.h | 102 +--
lib/rendercopy_bufmgr.c | 171 ----
lib/rendercopy_bufmgr.h | 28 -
lib/rendercopy_gen4.c | 571 ++++++------
lib/rendercopy_gen6.c | 593 +++++++------
lib/rendercopy_gen7.c | 612 ++++++-------
lib/rendercopy_gen8.c | 1030 ++++++++++------------
lib/rendercopy_gen9.c | 1145 +++++++++++--------------
lib/rendercopy_i830.c | 278 +++---
lib/rendercopy_i915.c | 281 +++---
lib/veboxcopy.h | 8 +-
lib/veboxcopy_gen12.c | 117 ++-
tests/i915/api_intel_bb.c | 300 ++++++-
tests/i915/gem_caching.c | 5 -
tests/i915/gem_concurrent_all.c | 434 +++++-----
tests/i915/gem_partial_pwrite_pread.c | 3 -
tests/i915/gem_ppgtt.c | 183 ++--
tests/i915/gem_read_read_speed.c | 161 ++--
tests/i915/gem_render_copy.c | 313 +++----
tests/i915/gem_render_copy_redux.c | 67 +-
tests/i915/gem_render_linear_blits.c | 90 +-
tests/i915/gem_render_tiled_blits.c | 162 +++-
tests/i915/gem_stress.c | 244 +++---
tests/i915/perf.c | 655 ++++++--------
tests/kms_big_fb.c | 54 +-
tests/kms_cursor_crc.c | 63 +-
tests/kms_draw_crc.c | 20 +-
tests/kms_frontbuffer_tracking.c | 20 +-
tests/kms_psr.c | 134 +--
tools/intel_residency.c | 10 +-
41 files changed, 4631 insertions(+), 4484 deletions(-)
delete mode 100644 lib/rendercopy_bufmgr.c
delete mode 100644 lib/rendercopy_bufmgr.h
--
2.26.0
More information about the igt-dev
mailing list