lkml.org 
[lkml]   [2019]   [Sep]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v4 0/2] drm/virtio: Use vmalloc for command buffer alllocations.
Date
Userspace requested command buffer allocations could be too large
to make as a contiguous allocation. Use vmalloc if necessary to
satisfy those allocations.

v1: Initial version.
v2: Properly account for number of free descriptors required.
v3: Remove offset handling for vmalloc'd buffers.
v4: Rebase onto drm-misc-next.

David Riley (2):
drm/virtio: Rewrite virtio_gpu_queue_ctrl_buffer using fenced version.
drm/virtio: Use vmalloc for command buffer allocations.

drivers/gpu/drm/virtio/virtgpu_ioctl.c | 4 +-
drivers/gpu/drm/virtio/virtgpu_vq.c | 98 ++++++++++++++++++++------
2 files changed, 79 insertions(+), 23 deletions(-)

--
2.23.0.162.g0b9fbb3734-goog

\
 
 \ /
  Last update: 2019-09-11 20:14    [W:0.122 / U:1.708 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site