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

Zbigniew Kempczyński zbigniew.kempczynski at intel.com
Mon Feb 28 13:03:25 UTC 2022


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

Cc: Ashutosh Dixit <ashutosh.dixit at 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   | 125 ++++++++++++++++++++-------------
 4 files changed, 145 insertions(+), 78 deletions(-)

-- 
2.32.0



More information about the igt-dev mailing list