@@ -284,8 +284,6 @@ static void ttm_bo_cleanup_memtype_use(struct ttm_buffer_object *bo)
{
if (bo->bdev->driver->invalidate_notify)
bo->bdev->driver->invalidate_notify(bo);
- else if (bo->bdev->driver->move_notify)
- bo->bdev->driver->move_notify(bo, false, NULL);
ttm_bo_tt_destroy(bo);
ttm_resource_free(bo, &bo->mem);
@@ -155,17 +155,6 @@ struct ttm_bo_driver {
int (*verify_access)(struct ttm_buffer_object *bo,
struct file *filp);
- /**
- * Hook to notify driver about a driver move so it
- * can do tiling things and book-keeping.
- *
- * @evict: whether this move is evicting the buffer from the graphics
- * address space
- */
- void (*move_notify)(struct ttm_buffer_object *bo,
- bool evict,
- struct ttm_resource *new_mem);
-
/**
* Hook to notify driver about a bo being torn down.
* can be used for invalidation instead of move_notify.