aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma-buf/sync_file.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2018-11-14 13:20:29 +0100
committerGerd Hoffmann <kraxel@redhat.com>2018-11-16 08:50:53 +0100
commit5c074eeabbd332b11559f7fc1e89d456f94801fb (patch)
treedcd9cb8d2ca28efa019a418594150aea703f6c20 /drivers/dma-buf/sync_file.c
parentdrm/vc4: Set ->legacy_cursor_update to false when doing non-async updates (diff)
downloadlinux-dev-5c074eeabbd332b11559f7fc1e89d456f94801fb.tar.xz
linux-dev-5c074eeabbd332b11559f7fc1e89d456f94801fb.zip
udmabuf: set read/write flag when exporting
Otherwise, mmap fails when done with PROT_WRITE. Suggested-by: Gurchetan Singh <gurchetansingh@chromium.org> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org> Tested-by: Gurchetan Singh <gurchetansingh@chromium.org> Link: http://patchwork.freedesktop.org/patch/msgid/20181114122029.16766-1-kraxel@redhat.com
Diffstat (limited to 'drivers/dma-buf/sync_file.c')
0 files changed, 0 insertions, 0 deletions