]> 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)
commit5c1699956b5c9b5be559c035d551a46b589c2ad0
treeb6c784d6de1e911f62ce6c5a2e8c37947290b27c
parent3784e105e009184d271e61b68c17e74b27b93be4
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