drm/vram-helper: remove a redundant iosys_map_clear call in move_notify
Commit Message
As it is already called in ttm_bo_vunmap()
Signed-off-by: Sui Jingfeng <15330273260@189.cn>
---
drivers/gpu/drm/drm_gem_vram_helper.c | 1 -
1 file changed, 1 deletion(-)
@@ -558,7 +558,6 @@ static void drm_gem_vram_bo_driver_move_notify(struct drm_gem_vram_object *gbo)
return;
ttm_bo_vunmap(bo, &gbo->map);
- iosys_map_clear(&gbo->map); /* explicitly clear mapping for next vmap call */
}
static int drm_gem_vram_bo_driver_move(struct drm_gem_vram_object *gbo,