[igt-dev] [PATCH i-g-t 0/3] Use supported dma-buf regions in prime_mmap*

Zbigniew Kempczyński zbigniew.kempczynski at intel.com
Tue Mar 1 07:58:00 UTC 2022


Contains library helper + changes in prime_mmap*. Additionally removes
prime_mmap_coherency libdrm dependency.

v2: addressing review comments

Cc: Ashutosh Dixit <ashutosh.dixit at intel.com>
Cc: Kamil Konieczny <kamil.konieczny at linux.intel.com>

Ch Sai Gowtham (1):
  tests/prime_mmap_coherency.c: Use intel_bb and intel_buf to remove
    libdrm dependency

Zbigniew Kempczyński (2):
  lib/intel_memory_regions: Add helper which creates supported dma-buf
    set
  tests/prime_mmap: Iterate over dma-buf supported memory regions

 lib/i915/intel_memory_region.c |  61 ++++++++++++++++
 lib/i915/intel_memory_region.h |   3 +
 tests/prime_mmap.c             |  34 ++-------
 tests/prime_mmap_coherency.c   | 128 ++++++++++++++++++++-------------
 4 files changed, 148 insertions(+), 78 deletions(-)

-- 
2.32.0



More information about the igt-dev mailing list