diff options
| author | Thomas Zimmermann <[email protected]> | 2021-02-08 11:55:33 +0000 |
|---|---|---|
| committer | Thomas Zimmermann <[email protected]> | 2021-02-08 12:00:06 +0000 |
| commit | db0c6bd2c0c0dada8927cd46a7c34c316a3a6c04 (patch) | |
| tree | 0bcfd9b7693c2658f8bb766b5adf7afcb9e48adf /drivers/gpu/drm/drm_gem.c | |
| parent | drm/simple-kms: Add plane-state helpers (diff) | |
| download | kernel-db0c6bd2c0c0dada8927cd46a7c34c316a3a6c04.tar.gz kernel-db0c6bd2c0c0dada8927cd46a7c34c316a3a6c04.zip | |
drm/gem: Export drm_gem_vmap() and drm_gem_vunmap()
The symbols will be required by the upcoming helpers for shadow-buffered
planes.
Signed-off-by: Thomas Zimmermann <[email protected]>
Tested-by: Gerd Hoffmann <[email protected]>
Acked-by: Gerd Hoffmann <[email protected]>
Reported-by: kernel test robot <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/drm_gem.c')
| -rw-r--r-- | drivers/gpu/drm/drm_gem.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_gem.c b/drivers/gpu/drm/drm_gem.c index c2ce78c4edc3..9989425e9875 100644 --- a/drivers/gpu/drm/drm_gem.c +++ b/drivers/gpu/drm/drm_gem.c @@ -1212,6 +1212,7 @@ int drm_gem_vmap(struct drm_gem_object *obj, struct dma_buf_map *map) return 0; } +EXPORT_SYMBOL(drm_gem_vmap); void drm_gem_vunmap(struct drm_gem_object *obj, struct dma_buf_map *map) { @@ -1224,6 +1225,7 @@ void drm_gem_vunmap(struct drm_gem_object *obj, struct dma_buf_map *map) /* Always set the mapping to NULL. Callers may rely on this. */ dma_buf_map_clear(map); } +EXPORT_SYMBOL(drm_gem_vunmap); /** * drm_gem_lock_reservations - Sets up the ww context and acquires |
