]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915: Remove deadcode
authorDr. David Alan Gilbert <linux@treblig.org>
Fri, 27 Dec 2024 11:37:52 +0000 (11:37 +0000)
committerAndi Shyti <andi.shyti@kernel.org>
Mon, 30 Dec 2024 00:31:31 +0000 (01:31 +0100)
commitbc6b027e6d735bde7622f3bbf809de5b911b49e9
tree714dcdf26cd32b798fe341a4dbb813af7fc57001
parent835443da6f50d9516b58bba5a4fdf9e563d961c7
drm/i915: Remove deadcode

i915_active_acquire_for_context() was added in 2020 by
commit 5d9341370f57 ("drm/i915: Export a preallocate variant of
i915_active_acquire()") but has never been used.

The last use of __i915_gem_object_is_lmem() was removed in 2021 by
commit ff20afc4cee7 ("drm/i915: Update error capture code to avoid using
the current vma state")

Remove them.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Signed-off-by: Tvrtko Ursulin <tursulin@igalia.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241227113754.25871-1-tursulin@igalia.com
drivers/gpu/drm/i915/gem/i915_gem_lmem.c
drivers/gpu/drm/i915/gem/i915_gem_lmem.h
drivers/gpu/drm/i915/i915_active.c
drivers/gpu/drm/i915/i915_active.h