Skip to content

Commit

Permalink
drm/virtio: Change value of feature ALLOW_P2P to 13
Browse files Browse the repository at this point in the history
Original value 31 is reserved for extensions to the queue and feature
negotiation mechanisms by virtio spec (Chapter 2, Section 2.2). To avoid
violation to the spec, change the value to 13, which is within the range
for specific virtio device type.

Test-done:
- Boot AAOS with dGPU SR-IOV VF and virtio-GPU backed by dGPU display.

Tracked-On: OAM-124694
Signed-off-by: Weifeng Liu <weifeng.liu@intel.com>
  • Loading branch information
phreer authored and sysopenci committed Sep 14, 2024
1 parent c7d7809 commit ebf0a9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/uapi/linux/virtio_gpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@

#define VIRTIO_GPU_F_VBLANK 7

#define VIRTIO_GPU_F_ALLOW_P2P 31
#define VIRTIO_GPU_F_ALLOW_P2P 13

/*
* VIRTIO_GPU_CMD_FLUSH_SPRITE
Expand Down

0 comments on commit ebf0a9a

Please sign in to comment.