]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Explicitly pin the logical context for execbuf
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 25 Apr 2019 05:01:43 +0000 (06:01 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 25 Apr 2019 05:35:35 +0000 (06:35 +0100)
commitf25619fc4d19e1f4853719bf8e501d368ae1e851
tree6053cf1b717f04ef7256a7af32dadb958b396f92
parent14ab88e3a04893686d80f11b0cf69c3044cf42e9
drm/i915: Explicitly pin the logical context for execbuf

In order to separate the reservation phase of building a request from
its emission phase, we need to pull some of the request alloc activities
from deep inside i915_request to the surface, GEM_EXECBUFFER.

v2: Be frivolous, use a local drm_i915_private.

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/20190425050143.811-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_execbuffer.c
drivers/gpu/drm/i915/i915_request.c