[PATCH 21/45] drm/vram_helper: call move notify from the move callback.
Dave Airlie
airlied at gmail.com
Thu Sep 24 05:18:21 UTC 2020
From: Dave Airlie <airlied at redhat.com>
Signed-off-by: Dave Airlie <airlied at redhat.com>
---
drivers/gpu/drm/drm_gem_vram_helper.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/drm_gem_vram_helper.c b/drivers/gpu/drm/drm_gem_vram_helper.c
index 9fd80a3643f6..5d4182f5c22f 100644
--- a/drivers/gpu/drm/drm_gem_vram_helper.c
+++ b/drivers/gpu/drm/drm_gem_vram_helper.c
@@ -605,6 +605,7 @@ static int drm_gem_vram_bo_driver_move(struct drm_gem_vram_object *gbo,
struct ttm_operation_ctx *ctx,
struct ttm_resource *new_mem)
{
+ drm_gem_vram_bo_driver_move_notify(gbo, evict, new_mem);
return ttm_bo_move_memcpy(&gbo->bo, ctx, new_mem);
}
--
2.27.0
More information about the dri-devel
mailing list