]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Perform execbuffer object locking as a separate step
authorThomas Hellström <thomas.hellstrom@linux.intel.com>
Tue, 15 Jun 2021 11:36:00 +0000 (13:36 +0200)
committerMatthew Auld <matthew.auld@intel.com>
Thu, 17 Jun 2021 13:39:58 +0000 (14:39 +0100)
commit5cd57f676bb946a00275408f0dd0d75dbc466d25
tree27926127e06141541210279cf86584d17a2716f7
parent99919be74aa37537850a7b453f2a3e3260e0d50e
drm/i915: Perform execbuffer object locking as a separate step

To help avoid evicting already resident buffers from the batch we're
processing, perform locking as a separate step.

Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Ramalingam C <ramalingam.c@intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210615113600.30660-1-thomas.hellstrom@linux.intel.com
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c