mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-24 06:43:01 +00:00
tests: add gem_mmap_offset_exhaustion
This also adds a gem_madvise helper to lib/drmtest.c Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
@@ -51,6 +51,7 @@ uint32_t gem_create(int fd, int size);
|
||||
void *gem_mmap(int fd, uint32_t handle, int size, int prot);
|
||||
uint64_t gem_aperture_size(int fd);
|
||||
uint64_t gem_mappable_aperture_size(void);
|
||||
int gem_madvise(int fd, uint32_t handle, int state);
|
||||
|
||||
/* generally useful helpers */
|
||||
void drmtest_fork_signal_helper(void);
|
||||
|
||||
Reference in New Issue
Block a user