commit | 24e25ea6d760b2492f2ab16a9bbb098fc3379819 | [log] [tgz] |
---|---|---|
author | Gerd Hoffmann <kraxel@redhat.com> | Wed Oct 16 13:51:58 2019 +0200 |
committer | Gerd Hoffmann <kraxel@redhat.com> | Thu Oct 17 13:59:16 2019 +0200 |
tree | a3b11ef85eb45acc934c056465c5a4e50cb57783 | |
parent | eee9a2e0ad7c4c1fe5fa286dddf822116370f0c7 [diff] |
drm/ttm: factor out ttm_bo_mmap_vma_setup Factor out ttm vma setup to a new function. Reduces code duplication a bit. v2: don't change vm_flags (moved to separate patch). v4: make ttm_bo_mmap_vma_setup static. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Christian König <christian.koenig@amd.com> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/20191016115203.20095-7-kraxel@redhat.com