gpu: remove unused duplicate constants
Remove capset constants definitions in protocol.rs, these are unecessary, because we use the constants defined in the Rutabaga crate. Signed-off-by: Matej Hrica <mhrica@redhat.com>
This commit is contained in:
parent
4c090cf776
commit
a2f0f91857
1 changed files with 0 additions and 7 deletions
|
|
@ -479,13 +479,6 @@ pub struct virtio_gpu_cmd_submit {
|
|||
// reading its content from byte array.
|
||||
unsafe impl ByteValued for virtio_gpu_cmd_submit {}
|
||||
|
||||
pub const VIRTIO_GPU_CAPSET_VIRGL: u32 = 1;
|
||||
pub const VIRTIO_GPU_CAPSET_VIRGL2: u32 = 2;
|
||||
#[cfg(feature = "gfxstream")]
|
||||
pub const VIRTIO_GPU_CAPSET_GFXSTREAM: u32 = 3;
|
||||
pub const VIRTIO_GPU_CAPSET_VENUS: u32 = 4;
|
||||
pub const VIRTIO_GPU_CAPSET_CROSS_DOMAIN: u32 = 5;
|
||||
|
||||
// VIRTIO_GPU_CMD_GET_CAPSET_INFO
|
||||
#[derive(Copy, Clone, Debug, Default, PartialEq, Eq)]
|
||||
#[repr(C)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue