projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drm/i915/selftests: Flush the active barriers before asserting
[linux-2.6-microblaze.git]
/
drivers
/
gpu
/
drm
/
i915
/
gt
/
selftest_context.c
diff --git
a/drivers/gpu/drm/i915/gt/selftest_context.c
b/drivers/gpu/drm/i915/gt/selftest_context.c
index
52af1ce
..
1f4020e
100644
(file)
--- a/
drivers/gpu/drm/i915/gt/selftest_context.c
+++ b/
drivers/gpu/drm/i915/gt/selftest_context.c
@@
-68,6
+68,8
@@
static int context_sync(struct intel_context *ce)
} while (!err);
mutex_unlock(&tl->mutex);
+ /* Wait for all barriers to complete (remote CPU) before we check */
+ i915_active_unlock_wait(&ce->active);
return err;
}