[igt-dev] [PATCH i-g-t v27 00/30] Remove libdrm in rendercopy

Zbigniew Kempczyński
2020-08-10T09:47:14Z

Cleaning the code / addressing reviews.

v20: allowing bpp == 64 in intel_buf
reset flags in intel_bb_reset(ibb, false)
add intel_buf in intel_bb_emit_blt to properly pass
EXEC_OBJECT_WRITE flag for dst buffer
v21: try full run
v22: try to fix kms_psr, isolate it in BAT run
v23: try full run
v24: change render in api_intel_bb to dynamic subtest
print dest buffer in perf
v25: try coherent mapping on Geminilake
v26: use device mapping instead of cpu mapping (GEM_MMAP_OFFSET)
on !llc platforms. It seems caches are not flushed before
execbuf (GEM_MMAP works properly).
v27: extracting get_stride() in bufops
split tests commits - each test has single commit now

Dominik Grzegorzek (6):
lib/igt_fb: Removal of libdrm dependency
tests/kms_psr: remove libdrm dependency
tests/kms_fronbuffer_tracking: remove libdrm dependency
tests/kms_draw_crc: remove libdrm dependency
tests/gem_ppgtt: remove libdrm dependency
tests/gem_concurrent_all: remove libdrm dependency

Zbigniew Kempczyński (24):
lib/intel_bufops: add mapping on cpu / device
lib/intel_bufops: change in hw/sw tiling detection
lib/intel_bufops: change stride requirements for Grantsdale
lib/intel_bufops: add support for 64bit bpp
lib/intel_bufops: extract getting the stride
lib/intel_batchbuffer: add new functions to support rendercopy
lib/intel_batchbuffer: dump bb to base64
lib/intel_batchbuffer: use canonical addresses for 48bit ppgtt
tests/api_intel_bb: test flags are cleared on bb reset
tests/gem_caching|partial: adopt to batch flush function cleanup
lib/rendercopy: remove libdrm dependency
tests/api_intel_bb: add render tests
lib/igt_draw: remove libdrm dependency
tests/kms_cursor_crc: remove libdrm dependency
tests/kms_big_fb: remove libdrm dependency
tests/gem_stress: remove libdrm dependency
tests/gem_render_copy: remove libdrm dependency
tests/gem_render_copy_redux: remove libdrm dependency
tests/gem_render_linear_blits: remove libdrm dependency
tests/gem_render_tiled_blits: remove libdrm dependency
tests/gem_read_read_speed: remove libdrm dependency
lib/rendercopy_bufmgr: remove rendercopy_bufmgr
tools/intel_residency: adopt intel_residency to use bufops
tests/perf: remove libdrm dependency for rendercopy

lib/Makefile.sources | 2 -
lib/igt_draw.c | 155 ++--
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 | 422 +++++++--
lib/intel_batchbuffer.h | 87 +-
lib/intel_bufops.c | 190 +++-
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 | 394 ++++++++-
tests/i915/gem_caching.c | 5 -
tests/i915/gem_concurrent_all.c | 439 +++++-----
tests/i915/gem_partial_pwrite_pread.c | 3 -
tests/i915/gem_ppgtt.c | 189 ++--
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 | 93 +-
tests/i915/gem_stress.c | 244 +++---
tests/i915/perf.c | 675 +++++++--------
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 | 137 +--
tools/intel_residency.c | 10 +-
41 files changed, 4742 insertions(+), 4501 deletions(-)
delete mode 100644 lib/rendercopy_bufmgr.c
delete mode 100644 lib/rendercopy_bufmgr.h