drm/vram: Add infrastructure for move_notify()
authorThomas Zimmermann <tzimmermann@suse.de>
Fri, 6 Sep 2019 12:20:55 +0000 (14:20 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Mon, 9 Sep 2019 10:52:21 +0000 (12:52 +0200)
commitf3309105b87956bdadfcc35bf0cefc463f427c9b
treed9ad0521fed52a438f9d31a1b77897314cdc9e68
parentbc25bb9192c0438d84bf69ab72de02d3a4c3f827
drm/vram: Add infrastructure for move_notify()

This patch prepares VRAM helpers for lazy unmapping of buffer objects.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reported-and-tested-by: Davidlohr Bueso <dbueso@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20190906122056.32018-4-tzimmermann@suse.de
drivers/gpu/drm/drm_vram_mm_helper.c
include/drm/drm_vram_mm_helper.h