Commit 1d8579ff authored by Gerd Hoffmann's avatar Gerd Hoffmann Committed by Alistair Delva
Browse files

FROMGIT: drm/virtio: implement blob resources: implement vram object



A virtio-gpu vram object is based on range-based allocation.
No guest shmemfs backing, so we call drm_gem_private_object_init.

This is for host memory without any guest backing (atleast initially).

Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
Acked-by: default avatarTomeu Vizoso <tomeu.vizoso@collabora.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20200924003214.662-12-gurchetansingh@chromium.org


Co-developed-by: default avatarGurchetan Singh <gurchetansingh@chromium.org>
Signed-off-by: default avatarGurchetan Singh <gurchetansingh@chromium.org>
(cherry picked from commit 16845c5d540929d2f4dc845f11fbbb238e69170a
 git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git

 master)

BUG=b:171715474
TEST=compile

Change-Id: I3c153c45768e08720da2e2201c756615763a603f
Signed-off-by: default avatarGuenter Roeck <groeck@chromium.org>
(cherry picked from commit f9e38a7fea5e225db17555128b41c0fd887fadbe)
parent 3019c9cc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment