]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
drm/i915/selftests: Wait only on the expected barrier
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 29 Nov 2019 10:34:55 +0000 (10:34 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 29 Nov 2019 14:23:53 +0000 (14:23 +0000)
commit0cb7da1062f44281f0a8c5a137b1c9af91b6bfd5
tree97a91b265cce45424946c9b8e19fb3d81d386a71
parentb006869c6e79792cecf27662190f5c5cb73d26fb
drm/i915/selftests: Wait only on the expected barrier

Wait on only the last request on the kernel_context after emitting a
barrier so that we do not wait for everything in general and by doing so
cause an accidental emission of the barrier!

Bugzilla; https://bugs.freedesktop.org/show_bug.cgi?id=112405
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/20191129103455.744389-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/selftest_engine_heartbeat.c