[PATCH v2] drm/gem: Fix mmap fake offset handling for drm_gem_object_funcs.mmap
Gerd Hoffmann
kraxel at redhat.com
Thu Nov 21 08:10:21 UTC 2019
Hi,
> Aside: the amdgpu isn't great because it's racy, userspace could have
> guessed the fd and already started an mmap before we managed to update
> stuff.
Can't see that race. When I read the code correctly the fd is created
and installed (using dma_buf_fd) only after dmabuf setup is finished.
cheers,
Gerd
More information about the dri-devel
mailing list