]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "drm/i915/gem: Split eb_vma into its own allocation"
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Wed, 19 Aug 2020 14:08:44 +0000 (16:08 +0200)
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Mon, 7 Sep 2020 11:29:35 +0000 (14:29 +0300)
commite51a237dce8b9e4e9fadbebc93dd4c2838b5f07a
treee464396ae7c4c09dc3ace5ade2dec014b846ea31
parent48f48afac88edf2e42cd071a7c403f6817d104f9
Revert "drm/i915/gem: Split eb_vma into its own allocation"

This reverts commit e6eae35da514 ("drm/i915/gem: Split eb_vma into
its own allocation") and also moves all unreserving to a single
place at the end, which is a minor simplification.

With the WW locking, we will drop all references only at the
end when unlocking, so refcounting can now be removed.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20200819140904.1708856-5-maarten.lankhorst@linux.intel.com
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c