]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: remove writeback hook
authorMatthew Auld <matthew.auld@intel.com>
Wed, 15 Dec 2021 11:07:45 +0000 (11:07 +0000)
committerMatthew Auld <matthew.auld@intel.com>
Mon, 10 Jan 2022 10:49:48 +0000 (10:49 +0000)
commit2912a6828150cb57c07e014ebe641d93824dc13e
treec61563f49dc561a4c54a51e7147a626ee25f653b
parent07a2347c51933b9a78618f148b94796f49fbd05a
drm/i915: remove writeback hook

Ditch the writeback hook and drop i915_gem_object_writeback(). We
already support the shrinker_release_pages hook which can just call
shmem_writeback directly.

Suggested-by: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211215110746.865-1-matthew.auld@intel.com
drivers/gpu/drm/i915/gem/i915_gem_object.h
drivers/gpu/drm/i915/gem/i915_gem_object_types.h
drivers/gpu/drm/i915/gem/i915_gem_pages.c
drivers/gpu/drm/i915/gem/i915_gem_shmem.c
drivers/gpu/drm/i915/gem/i915_gem_shrinker.c