diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2020-02-11 14:50:46 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2020-02-13 11:11:59 +0100 |
commit | d822ccae8e60c2603391ba9cd285333163897678 (patch) | |
tree | cb8a70d02e70c06542f7b113c30eec4a0c1dd169 /drivers/fpga/altera-fpga2sdram.c | |
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
Diffstat (limited to 'drivers/fpga/altera-fpga2sdram.c')
0 files changed, 0 insertions, 0 deletions