drm: Add default instance for VRAM MM callback functions
authorThomas Zimmermann <tzimmermann@suse.de>
Wed, 8 May 2019 08:26:17 +0000 (10:26 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 15 May 2019 14:17:06 +0000 (16:17 +0200)
commit5c9dcacfe56673555540933017c54e8f39e947cb
tree9fc985c04a60f9ab129e6324c4be48864a1cefff
parent96352eca5c7c36c3e0eb97a6d68fb170ce643ea5
drm: Add default instance for VRAM MM callback functions

VRAM MM is most likely be used with GEM VRAM. The latter now provides the
required instance of struct drm_vram_mm_funcs for drivers to use.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: http://patchwork.freedesktop.org/patch/msgid/20190508082630.15116-8-tzimmermann@suse.de
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
drivers/gpu/drm/drm_gem_vram_helper.c
include/drm/drm_gem_vram_helper.h