drm: Add simple PRIME helpers for GEM VRAM
authorThomas Zimmermann <tzimmermann@suse.de>
Wed, 8 May 2019 08:26:15 +0000 (10:26 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 15 May 2019 14:17:06 +0000 (16:17 +0200)
commit1f460b497890d6bf54aba6e41fe24bba2217141a
tree2c2d57e20b409033bfbec8cdcd80acb5733768a3
parentfed1eec080b9b23f5a80a0c4f19ae49a2d14c69e
drm: Add simple PRIME helpers for GEM VRAM

These basic helper functions for GEM VRAM allow for pinning and mapping
GEM VRAM objects via the PRIME interfaces. It's not a full implementation,
but complete enough for generic fbcon.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: http://patchwork.freedesktop.org/patch/msgid/20190508082630.15116-6-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