diff options
author | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2020-01-22 15:23:49 +0000 |
---|---|---|
committer | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2020-01-23 11:39:38 +0000 |
commit | b8d03fef6f135c27b3f45f820e62d40aac956471 (patch) | |
tree | c8d891f7d01ab6a3db9fa25c7051db5baca46450 /lib/igt_gt.h | |
parent | 6fa36c0233afb2cf98ed41c2b2255ab484e79add (diff) |
i915/gem_engine_topology: Fix virtual engine check
Engine class/instance have to be u16 for the virtual engine check to work.
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reported-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'lib/igt_gt.h')
-rw-r--r-- | lib/igt_gt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/igt_gt.h b/lib/igt_gt.h index 6a8eceb6..e880cd4e 100644 --- a/lib/igt_gt.h +++ b/lib/igt_gt.h @@ -96,8 +96,8 @@ bool gem_class_can_store_dword(int fd, int class); extern const struct intel_execution_engine2 { char name[16]; - int class; - int instance; + uint16_t class; + uint16_t instance; uint64_t flags; bool is_virtual; } intel_execution_engines2[]; |