commit | d822ccae8e60c2603391ba9cd285333163897678 | [log] [tgz] |
---|---|---|
author | Gerd Hoffmann <kraxel@redhat.com> | Tue Feb 11 14:50:46 2020 +0100 |
committer | Gerd Hoffmann <kraxel@redhat.com> | Thu Feb 13 11:11:59 2020 +0100 |
tree | cb8a70d02e70c06542f7b113c30eec4a0c1dd169 | |
parent | 0f0658636dab369f000430bc2858acbc30d9d5d9 [diff] |
drm/virtio: fix virtio_gpu_execbuffer_ioctl locking Lockdep says we can't call vmemdup() while having objects reserved because it needs the mmap semaphore. So reorder the calls reserve the objects later. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Chia-I Wu <olvaffe@gmail.com> Link: http://patchwork.freedesktop.org/patch/msgid/20200211135047.22261-2-kraxel@redhat.com