]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Flush the preemption request before waiting
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 22 Dec 2020 11:35:35 +0000 (11:35 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 22 Dec 2020 14:38:10 +0000 (14:38 +0000)
commit862fb2c482bf8cdfd5191583f84a7d49c239230a
treeb0644bf21c03d675c60f059ef7ac863db3219c66
parentf0708d6d7bff71ec3824ba0b90a95c216b21d3bc
drm/i915/selftests: Flush the preemption request before waiting

Make sure that the request has been submitted to HW before we begin our
wait. This reduces our reliance on the semaphore yield interrupt driving
the preemption request.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201222113536.3775-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/selftest_lrc.c