]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit46eee4d9f6c27bb17994c1421d236f4df9d1ac35
treeb6c784d6de1e911f62ce6c5a2e8c37947290b27c
parent320b80f8715c20728beecc0a248a6e1df731249d
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