drm/i915/ttm: remove the virtualized start hack
authorMatthew Auld <matthew.auld@intel.com>
Tue, 20 Dec 2022 11:27:36 +0000 (11:27 +0000)
committerMatthew Auld <matthew.auld@intel.com>
Fri, 24 Feb 2023 11:39:15 +0000 (11:39 +0000)
commitda6198afb01df0dce47fde23b53183cc0009b6a2
tree28f22759bd301e5e513a07d171b097d5f3ba2d73
parent957565a473a630a3d01932c7173860b33e7acdbd
drm/i915/ttm: remove the virtualized start hack

This was mostly needed to differentiate between mappable and
non-mappable lmem, such that ttm would understand non-mappable ->
mappable moves (or vice versa), and not just turn them into noops. We
have since gained proper .intersects() and .compatible() hooks for the
resource manager, which takes care of this for us.

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Nirmoy Das <nirmoy.das@intel.com>
Cc: Andrzej Hajda <andrzej.hajda@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221220112736.161642-1-matthew.auld@intel.com
drivers/gpu/drm/i915/i915_ttm_buddy_manager.c