commit | e1cda6a529aa1f310badcb20d63d9cd1d1f164a1 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Mon Dec 02 14:01:33 2019 +0000 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Mon Dec 02 21:57:23 2019 +0000 |
tree | 7f5b2642d766db78336025931b49b14e9fe8f574 | |
parent | ae30300490fe9790857d3780f46aa5ad926d6261 [diff] |
drm/i915: Serialise i915_active_wait() with its retirement As the i915_active.retire() may be running on another CPU as we detect that the i915_active is idle, we may not wait for the retirement itself. Wait for the remote callback by waiting for the retirement worker. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=112424 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20191202140133.2444217-2-chris@chris-wilson.co.uk