Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5ba052a7 authored by David Riley's avatar David Riley Committed by Kaiyi Li
Browse files

BACKPORT: drm/virtio: Use vmalloc for command buffer allocations.



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: default avatarDavid Riley <davidriley@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20190911181403.40909-3-davidriley@chromium.org


Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>

Bug: https://crbug.com/993452


Change-Id: I253a9eb22fdee4836d48abecbe836ee5369e6526
(cherry picked from commit e1218b8c0cc1f8108be67ba3783d63eb4a50d792)
[kaiyili: Resolved minor conflict in drivers/gpu/drm/virtio/virtgpu_vq.c ]
Signed-off-by: default avatarKaiyi Li <kaiyili@google.com>
parent 7c9d656e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment