]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Replace open-coded intel_engine_stop_cs()
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 13 Jan 2021 20:47:09 +0000 (20:47 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 13 Jan 2021 22:35:58 +0000 (22:35 +0000)
commitfb4a2306a3e557c1b6bf2dcde95f0da6648393db
tree0660340c182fab94420635aa9f437429247b130e
parent96f3518b40768e5a1424a528be5de94620cd8cff
drm/i915/gt: Replace open-coded intel_engine_stop_cs()

In the legacy ringbuffer submission, we still had an open-coded version
of intel_engine_stop_cs() with one additional verification step. Transfer
that verification to intel_engine_stop_cs() itself, and call it.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210113204709.15020-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_engine_cs.c
drivers/gpu/drm/i915/gt/intel_ring_submission.c