From: Gurchetan Singh Date: Wed, 2 Sep 2020 21:08:27 +0000 (-0700) Subject: drm/virtio: report uuid in debugfs X-Git-Tag: v5.10-rc1~123^2~10^2~83 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=deb2464e4c6dca2c933a53e2cb8c78a75ad5131c;p=thirdparty%2Flinux.git drm/virtio: report uuid in debugfs In keeping with other features, report this in the debugfs. Signed-off-by: Gurchetan Singh Link: http://patchwork.freedesktop.org/patch/msgid/20200902210847.2689-4-gurchetansingh@chromium.org Signed-off-by: Gerd Hoffmann --- diff --git a/drivers/gpu/drm/virtio/virtgpu_debugfs.c b/drivers/gpu/drm/virtio/virtgpu_debugfs.c index 3221520f61f0c..d5b0c543bd6d7 100644 --- a/drivers/gpu/drm/virtio/virtgpu_debugfs.c +++ b/drivers/gpu/drm/virtio/virtgpu_debugfs.c @@ -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;