diff options
| author | Gerd Hoffmann <[email protected]> | 2019-10-16 11:52:00 +0000 |
|---|---|---|
| committer | Gerd Hoffmann <[email protected]> | 2019-10-17 11:59:16 +0000 |
| commit | 231927d939f073ffee24a5e7acb5b5621ba8b7c8 (patch) | |
| tree | 17f5e0eceee1eef90e8c8fce21b341a06814b4d5 /drivers/gpu/drm/lima/lima_gem.c | |
| parent | drm/ttm: rename ttm_fbdev_mmap (diff) | |
| download | kernel-231927d939f073ffee24a5e7acb5b5621ba8b7c8.tar.gz kernel-231927d939f073ffee24a5e7acb5b5621ba8b7c8.zip | |
drm/ttm: add drm_gem_ttm_mmap()
Add helper function to mmap ttm bo's using &drm_gem_object_funcs.mmap().
Note that with this code path access verification is done by
drm_gem_mmap() (which calls drm_vma_node_is_allowed(()).
The &ttm_bo_driver.verify_access() callback is is not used.
v3: use ttm_bo_mmap_obj instead of ttm_bo_mmap_vma_setup
Signed-off-by: Gerd Hoffmann <[email protected]>
Reviewed-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/lima/lima_gem.c')
0 files changed, 0 insertions, 0 deletions
