1 // Copyright 2024 The Fuchsia Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef MAGMA_VIRTIO_GPU_DEFS_H 6 #define MAGMA_VIRTIO_GPU_DEFS_H 7 8 #include <lib/magma/magma_common_defs.h> 9 10 #define MAGMA_VENDOR_VERSION_VIRTIO 1 11 12 enum MagmaVirtioGpuQuery { 13 // Bits 32..47 indicate the capset id (from virtio spec), bits 48..63 indicate the version. 14 // Returns buffer result. 15 kMagmaVirtioGpuQueryCapset = MAGMA_QUERY_VENDOR_PARAM_0 + 10000, 16 }; 17 18 #endif // MAGMA_VIRTIO_GPU_DEFS_H 19