[igt-dev] [PATCH i-g-t v9 00/17] Remove libdrm in rendercopy

Zbigniew Kempczyński zbigniew.kempczynski at intel.com
Tue Jul 28 05:59:36 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

Dominik Grzegorzek (2):
  lib/igt_fb: Removal of libdrm dependency
  tests/gem|kms: remove libdrm dependency (batch 1)

Zbigniew Kempczyński (15):
  lib/intel_bufops: add mapping on cpu / device
  lib/intel_batchbuffer: add new functions to support rendercopy
  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
  lib/intel_batchbuffer: dump bb to base64
  lib/intel_batchbuffer: change alignment constraints on gen4
  tests/api_intel_bb: base64 dumping code
  api_intel_bb: temporary tests to check stride on gen3
  HAX: run rendercopy tests

 lib/Makefile.sources                  |    2 -
 lib/igt_draw.c                        |  158 ++--
 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               |  387 +++++++--
 lib/intel_batchbuffer.h               |   85 +-
 lib/intel_bufops.c                    |  110 ++-
 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                 |  568 ++++++------
 lib/rendercopy_gen6.c                 |  590 +++++++------
 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             |  311 +++++++
 tests/i915/gem_caching.c              |    5 -
 tests/i915/gem_concurrent_all.c       |  431 +++++-----
 tests/i915/gem_partial_pwrite_pread.c |    3 -
 tests/i915/gem_ppgtt.c                |  183 ++--
 tests/i915/gem_read_read_speed.c      |  160 ++--
 tests/i915/gem_render_copy.c          |  313 +++----
 tests/i915/gem_render_copy_redux.c    |   66 +-
 tests/i915/gem_render_linear_blits.c  |   90 +-
 tests/i915/gem_render_tiled_blits.c   |   85 +-
 tests/i915/gem_stress.c               |  244 +++---
 tests/i915/perf.c                     |  655 ++++++--------
 tests/intel-ci/fast-feedback.testlist |   42 +-
 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 +-
 42 files changed, 4549 insertions(+), 4486 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