diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2019-11-27 12:25:23 +0300 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-12-06 13:18:11 +0300 |
commit | b3fac52c519358b93f6c5eee62f7458a481d985d (patch) | |
tree | 5dbb350cd271011779dc07eab3aec93a22a4fad3 /drivers/gpu/drm/udl | |
parent | e5516553999f7352bce3d921441b1288eb0a1bb7 (diff) | |
download | linux-b3fac52c519358b93f6c5eee62f7458a481d985d.tar.xz |
drm: share address space for dma bufs
Use the shared address space of the drm device (see drm_open() in
drm_file.c) for dma-bufs too. That removes a difference betweem drm
device mmap vmas and dma-buf mmap vmas and fixes corner cases like
dropping ptes (using madvise(DONTNEED) for example) not working
properly.
Also remove amdgpu driver's private dmabuf update. It is not needed
any more now that we are doing this for everybody.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20191127092523.5620-3-kraxel@redhat.com
Diffstat (limited to 'drivers/gpu/drm/udl')
0 files changed, 0 insertions, 0 deletions