aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_vma.h
diff options
context:
space:
mode:
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2021-03-23 16:49:58 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2021-03-24 11:50:27 +0100
commita85fffe3032d9918c78e3a71821a6133707ae42d (patch)
tree530ad68f40d4821bb33ecb398d8e05f926fd7f3c /drivers/gpu/drm/i915/i915_vma.h
parentdrm/i915: Rework struct phys attachment handling (diff)
downloadlinux-dev-a85fffe3032d9918c78e3a71821a6133707ae42d.tar.xz
linux-dev-a85fffe3032d9918c78e3a71821a6133707ae42d.zip
drm/i915: Convert i915_gem_object_attach_phys() to ww locking, v2.
Simple adding of i915_gem_object_lock, we may start to pass ww to get_pages() in the future, but that won't be the case here; We override shmem's get_pages() handling by calling i915_gem_object_get_pages_phys(), no ww is needed. Changes since v1: - Call shmem put pages directly, the callback would go down the phys free path. Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20210323155059.628690-10-maarten.lankhorst@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_vma.h')
0 files changed, 0 insertions, 0 deletions