diff options
| author | Kamil Konieczny <kamil.konieczny@linux.intel.com> | 2025-04-25 19:42:26 +0200 |
|---|---|---|
| committer | Kamil Konieczny <kamil.konieczny@linux.intel.com> | 2025-04-25 20:08:03 +0200 |
| commit | 04e097460245a390cea0e43f0303024f219d3455 (patch) | |
| tree | 9b7171c21fdc7afd7b69a514372136ee471fdee8 /lib/xe/xe_ioctl.c | |
| parent | 41ee4d698fd87085494ceeec1985a2b99222c5b0 (diff) | |
Revert "tests/xe: Add system_allocator test"
This reverts commit 41ee4d698fd87085494ceeec1985a2b99222c5b0.
Fix compilation failure on our containers:
../tests/intel/xe_exec_system_allocator.c: In function test_exec:
../tests/intel/xe_exec_system_allocator.c:1210:21: error: MREMAP_DONTUNMAP undeclared (first use in this function); did you mean DONTUNMAP?
remap_flags |= MREMAP_DONTUNMAP;
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: Jonathan Cavitt <jonathan.cavitt@intel.com>
Cc: Francois Dugast <francois.dugast@intel.com>
Signed-off-by: Kamil Konieczny <kamil.konieczny@linux.intel.com>
Reviewed-by: Zbigniew KempczyĆski <zbigniew.kempczynski@intel.com>
Diffstat (limited to 'lib/xe/xe_ioctl.c')
| -rw-r--r-- | lib/xe/xe_ioctl.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/xe/xe_ioctl.c b/lib/xe/xe_ioctl.c index 785fc9184..fb8c4aef1 100644 --- a/lib/xe/xe_ioctl.c +++ b/lib/xe/xe_ioctl.c @@ -440,18 +440,6 @@ void *xe_bo_map(int fd, uint32_t bo, size_t size) return __xe_bo_map(fd, bo, size, PROT_WRITE); } -void *xe_bo_map_fixed(int fd, uint32_t bo, size_t size, uint64_t addr) -{ - uint64_t mmo; - void *map; - - mmo = xe_bo_mmap_offset(fd, bo); - map = mmap((void *)addr, size, PROT_WRITE, MAP_SHARED | MAP_FIXED, fd, mmo); - igt_assert(map != MAP_FAILED); - - return map; -} - void *xe_bo_mmap_ext(int fd, uint32_t bo, size_t size, int prot) { return __xe_bo_map(fd, bo, size, prot); |
