summaryrefslogtreecommitdiff
path: root/lib/igt_gt.h
diff options
context:
space:
mode:
authorJohn Harrison <John.C.Harrison@Intel.com>2022-01-14 10:17:00 -0800
committerAshutosh Dixit <ashutosh.dixit@intel.com>2022-01-18 12:43:38 -0800
commit35b5acfe4e9a41b5a95cee07b6b530458e50be23 (patch)
tree126c785016201baaba0b2b4100acf912c3b9f925 /lib/igt_gt.h
parentff20e2380eef430035dcf04ab8921e1c0f23352c (diff)
lib/hang: Fix igt_require_hang_ring to work with all engines
The above function was checking for valid rings via the old interface. The new scheme is to check for engines on contexts as there are now more engines than could be supported. Signed-off-by: John Harrison <John.C.Harrison@Intel.com> Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Diffstat (limited to 'lib/igt_gt.h')
-rw-r--r--lib/igt_gt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/igt_gt.h b/lib/igt_gt.h
index c5059817..3d10349e 100644
--- a/lib/igt_gt.h
+++ b/lib/igt_gt.h
@@ -31,7 +31,7 @@
#include "i915/i915_drm_local.h"
#include "i915_drm.h"
-void igt_require_hang_ring(int fd, int ring);
+void igt_require_hang_ring(int fd, uint32_t ctx, int ring);
typedef struct igt_hang {
igt_spin_t *spin;