Commit 0cb925e7 authored by Chris Wilson's avatar Chris Wilson

prime_vgem: Fix typo in checking for invalid engines

Move the stray ')' from

	gem_can_store_dword(exec_id) | exec_flags

to

	gem_can_store_dword(exec_id | exec_flags)

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110764Signed-off-by: 's avatarChris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: 's avatarPetri Latvala <petri.latvala@intel.com>
parent b7e70056
......@@ -845,7 +845,7 @@ igt_main
e->exec_id == 0 ? "basic-" : "",
e->name) {
gem_require_ring(i915, e->exec_id | e->flags);
igt_require(gem_can_store_dword(i915, e->exec_id) | e->flags);
igt_require(gem_can_store_dword(i915, e->exec_id | e->flags));
gem_quiescent_gpu(i915);
test_sync(i915, vgem, e->exec_id, e->flags);
......@@ -857,7 +857,7 @@ igt_main
e->exec_id == 0 ? "basic-" : "",
e->name) {
gem_require_ring(i915, e->exec_id | e->flags);
igt_require(gem_can_store_dword(i915, e->exec_id) | e->flags);
igt_require(gem_can_store_dword(i915, e->exec_id | e->flags));
gem_quiescent_gpu(i915);
test_busy(i915, vgem, e->exec_id, e->flags);
......@@ -869,7 +869,7 @@ igt_main
e->exec_id == 0 ? "basic-" : "",
e->name) {
gem_require_ring(i915, e->exec_id | e->flags);
igt_require(gem_can_store_dword(i915, e->exec_id) | e->flags);
igt_require(gem_can_store_dword(i915, e->exec_id | e->flags));
gem_quiescent_gpu(i915);
test_wait(i915, vgem, e->exec_id, e->flags);
......@@ -892,7 +892,7 @@ igt_main
e->exec_id == 0 ? "basic-" : "",
e->name) {
gem_require_ring(i915, e->exec_id | e->flags);
igt_require(gem_can_store_dword(i915, e->exec_id) | e->flags);
igt_require(gem_can_store_dword(i915, e->exec_id | e->flags));
gem_quiescent_gpu(i915);
test_fence_wait(i915, vgem, e->exec_id, e->flags);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment