OSDN Git Service

drm/virtio: implement blob resources: probe for host visible region
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 24 Sep 2020 00:32:04 +0000 (17:32 -0700)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 29 Sep 2020 09:23:22 +0000 (11:23 +0200)
commit6076a9711dc535f1deca8014949beb7fcae8de34
treeb225a9fbdfa9c2b05c68dddd4f73507039ccaf62
parent6815cfe602d03df1b3029081e1c4fb81a224d9fb
drm/virtio: implement blob resources: probe for host visible region

The availability of the host visible region means host 3D
allocations can be directly mapped in the guest.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20200924003214.662-9-gurchetansingh@chromium.org
Co-developed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Signed-off-by: Gurchetan Singh <gurchetansingh@chromium.org>
drivers/gpu/drm/virtio/virtgpu_debugfs.c
drivers/gpu/drm/virtio/virtgpu_drv.h
drivers/gpu/drm/virtio/virtgpu_kms.c