diff options
author | Andi Shyti <andi.shyti@intel.com> | 2019-03-28 16:48:54 +0200 |
---|---|---|
committer | Andi Shyti <andi.shyti@intel.com> | 2019-05-13 02:17:35 +0300 |
commit | b202d929a5899aab499c2f89b00684e63507009b (patch) | |
tree | f4e11c0374b65c6e8cf629d29baee1666d308478 /lib/igt_gt.h | |
parent | 3f0a6eedc61c7616f8f2648b457dc433e95d160d (diff) |
lib: igt_gt: make gem_engine_can_store_dword() check engine class
Engines referred by class and instance are getting more popular,
gem_engine_can_store_dword() should handle the situation.
Suggested-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Andi Shyti <andi.shyti@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Diffstat (limited to 'lib/igt_gt.h')
-rw-r--r-- | lib/igt_gt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/igt_gt.h b/lib/igt_gt.h index 8ceed142..0b5c7fcb 100644 --- a/lib/igt_gt.h +++ b/lib/igt_gt.h @@ -90,6 +90,7 @@ bool gem_ring_is_physical_engine(int fd, unsigned int ring); bool gem_ring_has_physical_engine(int fd, unsigned int ring); bool gem_can_store_dword(int fd, unsigned int engine); +bool gem_class_can_store_dword(int fd, int class); extern const struct intel_execution_engine2 { const char *name; |