Skip to content

Commit

Permalink
drm/virtio: Show more capabilities in debugfs
Browse files Browse the repository at this point in the history
Tracked-On: OAM-123143
Signed-off-by: Weifeng Liu <weifeng.liu@intel.com>
  • Loading branch information
phreer committed Aug 7, 2024
1 parent 43e32a6 commit 7bd619c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/gpu/drm/virtio/virtgpu_debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ static int virtio_gpu_features(struct seq_file *m, void *data)

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_bool(m, "scaling", vgdev->has_scaling);
virtio_gpu_add_bool(m, "allow_p2p", vgdev->has_allow_p2p);
virtio_gpu_add_bool(m, "modifier", vgdev->has_modifier);
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) {
Expand Down

0 comments on commit 7bd619c

Please sign in to comment.