]> Git Repo - linux.git/commitdiff
drm/virtio: report uuid in debugfs
authorGurchetan Singh <[email protected]>
Wed, 2 Sep 2020 21:08:27 +0000 (14:08 -0700)
committerGerd Hoffmann <[email protected]>
Wed, 9 Sep 2020 06:54:26 +0000 (08:54 +0200)
In keeping with other features, report this in the debugfs.

Signed-off-by: Gurchetan Singh <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Gerd Hoffmann <[email protected]>
drivers/gpu/drm/virtio/virtgpu_debugfs.c

index 3221520f61f0cc2ecb3f8030532e64ce2564ff04..d5b0c543bd6d72b0fc55a3b873e227b1d8466f24 100644 (file)
@@ -48,6 +48,7 @@ static int virtio_gpu_features(struct seq_file *m, void *data)
        virtio_add_bool(m, "virgl", vgdev->has_virgl_3d);
        virtio_add_bool(m, "edid", vgdev->has_edid);
        virtio_add_bool(m, "indirect", vgdev->has_indirect);
+       virtio_add_bool(m, "resource uuid", vgdev->has_resource_assign_uuid);
        virtio_add_int(m, "cap sets", vgdev->num_capsets);
        virtio_add_int(m, "scanouts", vgdev->num_scanouts);
        return 0;
This page took 0.058836 seconds and 4 git commands to generate.