OSDN Git Service

drm/i915: Don't pin the object pages during pending vma binds
authorThomas Hellström <thomas.hellstrom@linux.intel.com>
Mon, 10 Jan 2022 17:22:16 +0000 (18:22 +0100)
committerThomas Hellström <thomas.hellstrom@linux.intel.com>
Tue, 11 Jan 2022 09:54:11 +0000 (10:54 +0100)
commitebf3c361f43b1c1fd254be5a6d12bd37b922e6b7
tree812572bcc8eba4dea01eecc8b69156fe8ae2c7b0
parent39a2bd34c933b00f7c7ada923c212b3ff826fb5d
drm/i915: Don't pin the object pages during pending vma binds

A pin-count is already held by vma->pages so taking an additional pin
during async binds is not necessary.

When we introduce async unbinding we have other means of keeping the
object pages alive.

Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220110172219.107131-4-thomas.hellstrom@linux.intel.com
drivers/gpu/drm/i915/i915_vma.c