]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm: Add |struct drm_gem_vram_object| callbacks for |struct ttm_bo_driver|
authorThomas Zimmermann <tzimmermann@suse.de>
Wed, 8 May 2019 08:26:12 +0000 (10:26 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 15 May 2019 14:17:05 +0000 (16:17 +0200)
commit6c812bc5074bbc969e78fadfbba7ac41fe61ddeb
treeac2d9c1a6905209d1984e2a63060f920a1ecc3c6
parent85438a8ddf031f416758ecf8c080ff92075acb01
drm: Add |struct drm_gem_vram_object| callbacks for |struct ttm_bo_driver|

The provided helpers can be used for the respective callback functions
in |struct ttm_bo_driver|.

v2:
* drm_is_gem_vram() is now a private function
* documentation fixes

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