drm/vram: Don't export driver callback functions for PRIME
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 2 Jul 2019 11:50:12 +0000 (13:50 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Wed, 3 Jul 2019 07:32:36 +0000 (09:32 +0200)
commit0ccf52badd40efd3d5c8df91845df4d65e7caab9
treeb6c784d6de1e911f62ce6c5a2e8c37947290b27c
parentbf2791eb5cf699a3eec0ca5bda2b17cec6a74bdb
drm/vram: Don't export driver callback functions for PRIME

PRIME functionality is now provided by GEM object functions. The driver
callback functions are obsolete. So this patch renames them and turns
them into static internal functions of the VRAM helper library. The
implementation of gem_prime_mmap is now unused and the patch removes it.

v3:
* kept each renamed function at its original location within file
* kept documentation

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190702115012.4418-6-tzimmermann@suse.de
Documentation/gpu/todo.rst
drivers/gpu/drm/drm_gem_vram_helper.c
include/drm/drm_gem_vram_helper.h