Re: [PATCH] drm/amdgpu: Implement mmap of imported dma-bufs

2023-03-03 Thread kernel test robot
nt-mmap-of-imported-dma-bufs/20230303-191145 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/20230303110951.3777850-1-mmaslanka%40chromium.org patch subject: [PATCH] drm/amdgpu: Implement mmap of imported dma-bufs config: sparc-allyesconf

Re: [PATCH] drm/amdgpu: Implement mmap of imported dma-bufs

2023-03-03 Thread Christian König
Well big NAK to this! We have discussed this extensively on the mailing list and absolutely don't want to allow that. Only for some ARM drivers we failed to block that soon enough and will keep the functionality around to not break userspace. Regards, Christian. Am 03.03.23 um 12:09 schrie

[PATCH] drm/amdgpu: Implement mmap of imported dma-bufs

2023-03-03 Thread Marek Maslanka
Use dmabuf mmap from exporting driver to do the mapping. Signed-off-by: Marek Maslanka Signed-off-by: Dominik Behr --- drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c | 46 + drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.h | 2 + drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 2 +-