mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/
synced 2026-04-18 14:43:42 -04:00
drm/virtio: implement context init: probe for feature
Let's probe for VIRTIO_GPU_F_CONTEXT_INIT. Create a new DRM_INFO(..) line since the current one is getting too long. Signed-off-by: Anthoine Bourgeois <anthoine.bourgeois@gmail.com> Acked-by: Lingfeng Yang <lfy@google.com> Link: http://patchwork.freedesktop.org/patch/msgid/20210921232024.817-5-gurchetansingh@chromium.org Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
committed by
Gerd Hoffmann
parent
1925d6a7e0
commit
6198770a1f
@@ -52,6 +52,7 @@ static int virtio_gpu_features(struct seq_file *m, void *data)
|
||||
vgdev->has_resource_assign_uuid);
|
||||
|
||||
virtio_gpu_add_bool(m, "blob resources", vgdev->has_resource_blob);
|
||||
virtio_gpu_add_bool(m, "context init", vgdev->has_context_init);
|
||||
virtio_gpu_add_int(m, "cap sets", vgdev->num_capsets);
|
||||
virtio_gpu_add_int(m, "scanouts", vgdev->num_scanouts);
|
||||
if (vgdev->host_visible_region.len) {
|
||||
|
||||
Reference in New Issue
Block a user