diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2020-05-05 12:34:03 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2020-05-07 14:19:37 +0100 |
commit | ce0ec5c84bb4beaf578d96ea50c90d798aee11cd (patch) | |
tree | ae8f4c0640ebdb714c86831c0613170c8f7548df /tests/i915/sysfs_heartbeat_interval.c | |
parent | 50868ab3c532a86aa147fb555b69a1078c572b13 (diff) |
lib/i915: Split igt_require_gem() into i915/
igt_require_gem() is a pecularity of i915/, move it out of the core.
Similar opportunistic move of gem_reopen_driver() and
gem_quiescent_gpu().
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests/i915/sysfs_heartbeat_interval.c')
-rw-r--r-- | tests/i915/sysfs_heartbeat_interval.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/i915/sysfs_heartbeat_interval.c b/tests/i915/sysfs_heartbeat_interval.c index 662f4865..6266f3e8 100644 --- a/tests/i915/sysfs_heartbeat_interval.c +++ b/tests/i915/sysfs_heartbeat_interval.c @@ -31,15 +31,15 @@ #include <sys/wait.h> #include <unistd.h> -#include "drmtest.h" /* gem_quiescent_gpu()! */ +#include "drmtest.h" +#include "i915/gem.h" +#include "i915/gem_context.h" #include "i915/gem_engine_topology.h" +#include "igt_debugfs.h" #include "igt_dummyload.h" #include "igt_sysfs.h" -#include "ioctl_wrappers.h" /* igt_require_gem()! */ #include "sw_sync.h" -#include "igt_debugfs.h" - #define ATTR "heartbeat_interval_ms" #define RESET_TIMEOUT 50 /* milliseconds, at least one jiffie for kworker */ |