Skip to content
Commit 2f2aa137 authored by Gerd Hoffmann's avatar Gerd Hoffmann
Browse files

drm/virtio: move virtio_gpu_mem_entry initialization to new function



Introduce new virtio_gpu_object_shmem_init() helper function which will
create the virtio_gpu_mem_entry array, containing the backing storage
information for the host.  For the most path this just moves code from
virtio_gpu_object_attach().

Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20200207074638.26386-5-kraxel@redhat.com


Reviewed-by: default avatarChia-I Wu <olvaffe@gmail.com>
parent 2fe4ca9d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment