]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/execlists: Add a couple more validity checks to assert_pending()
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 3 Dec 2019 15:26:30 +0000 (15:26 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 3 Dec 2019 15:42:28 +0000 (15:42 +0000)
commit13f67ae1294ba70169c58a0c81a7ca5f4f53432a
tree125dd8c5cbf9292a98361adbda5d69f0d52d4369
parent939fc2c4209e8de4915dbb39c1ab620ca8c13272
drm/i915/execlists: Add a couple more validity checks to assert_pending()

Check the pending request submission is valid: that it at least has a
reference for the submission and that the request is on the active list.

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/20191203152631.3107653-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_lrc.c