]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Remove redundant trailing request flush
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 28 Dec 2018 17:16:36 +0000 (17:16 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 31 Dec 2018 15:35:45 +0000 (15:35 +0000)
commit08a4ee63a159988e21aec3ec7e02cee10b3e51cc
treede4024f52d0dc38dbe3f413b74549087c10192db
parent6a6cca4ab28fe3f7797f7e33cf8352c7e9629119
drm/i915: Remove redundant trailing request flush

Now that we perform the request flushing inline with emitting the
breadcrumb, we can remove the now redundant manual flush. And we can
also remove the infrastructure that remained only for its purpose.

v2: emit_breadcrumb_sz is in dwords, but rq->reserved_space is in bytes

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/20181228171641.16531-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_request.c
drivers/gpu/drm/i915/intel_ringbuffer.c
drivers/gpu/drm/i915/intel_ringbuffer.h
drivers/gpu/drm/i915/selftests/mock_engine.c