summaryrefslogtreecommitdiff
path: root/lib/igt_aux.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2018-07-13 12:34:45 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2018-07-19 11:32:36 +0100
commit86f7b724ef18986bc58d35558d22e1ed3f8df4f9 (patch)
treed4f81c752eac621ab22cba23f9b1303732b12fb0 /lib/igt_aux.h
parent7f85adc4050182f490c7a5c48db3d57cdb00af4e (diff)
lib: Move trash_bos to their only user
Only pm_rpm still uses the igt_trash_aperture() and so we can remove it from the lib and in the process convert it over from the legacy libdrm_intel. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Michał Winiarski <michal.winiarski@intel.com> Reviewed-by: Michał Winiarski <michal.winiarski@intel.com>
Diffstat (limited to 'lib/igt_aux.h')
-rw-r--r--lib/igt_aux.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/igt_aux.h b/lib/igt_aux.h
index 639a9077..ef89faa9 100644
--- a/lib/igt_aux.h
+++ b/lib/igt_aux.h
@@ -28,16 +28,13 @@
#ifndef IGT_AUX_H
#define IGT_AUX_H
-#include <intel_bufmgr.h>
#include <inttypes.h>
#include <stdbool.h>
+#include <stddef.h>
#include <sys/time.h>
#include <i915/gem_submission.h>
-extern drm_intel_bo **trash_bos;
-extern int num_trash_bos;
-
/* signal interrupt helpers */
#define gettid() syscall(__NR_gettid)
#define sigev_notify_thread_id _sigev_un._tid
@@ -122,11 +119,6 @@ bool igt_check_boolean_env_var(const char *env_var, bool default_value);
bool igt_aub_dump_enabled(void);
-/* helpers based upon the libdrm buffer manager */
-void igt_init_aperture_trashers(drm_intel_bufmgr *bufmgr);
-void igt_trash_aperture(void);
-void igt_cleanup_aperture_trashers(void);
-
/* suspend/hibernate and auto-resume system */
/**