Re: [PATCH v4 2/2] drm/virtio: Use vmalloc for command buffer allocations.

2019-09-12 Thread Gerd Hoffmann
On Wed, Sep 11, 2019 at 11:14:03AM -0700, David Riley wrote: > Userspace requested command buffer allocations could be too large > to make as a contiguous allocation. Use vmalloc if necessary to > satisfy those allocations. Both applied to drm-misc-next. thanks, Gerd

[PATCH v4 2/2] drm/virtio: Use vmalloc for command buffer allocations.

2019-09-11 Thread David Riley
Userspace requested command buffer allocations could be too large to make as a contiguous allocation. Use vmalloc if necessary to satisfy those allocations. Signed-off-by: David Riley --- drivers/gpu/drm/virtio/virtgpu_ioctl.c | 4 +- drivers/gpu/drm/virtio/virtgpu_vq.c| 78 +++