Re: [PATCH 5/8] drm/ttm: add drm_gem_ttm_mmap()

2019-09-13 Thread Thomas Zimmermann
Hi Am 13.09.19 um 14:29 schrieb Gerd Hoffmann: > 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

[PATCH 5/8] drm/ttm: add drm_gem_ttm_mmap()

2019-09-13 Thread Gerd Hoffmann
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. Signed-off-by: Gerd Hoffmann --- include/drm