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 16:27:28 +0300 |
commit | d4d4992b0e6f3a570ed1fe1fa7bb22f0fe0cc098 (patch) | |
tree | e0f9ae23b72f70b3f338e8f9dce92df237e17954 /lib/igt_gt.h | |
parent | c50504c58f8ba75a31dd24570efe9775f546fd18 (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; |