Update linux header same with the related linux patches. kernel headers, which introduces: - VIRTIO_GPU_F_RESOURCE_USERPTR feature flag - VIRTIO_GPU_BLOB_FLAG_USE_USERPTR blob flag
Signed-off-by: Honglei Huang <[email protected]> --- include/standard-headers/linux/virtio_gpu.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/standard-headers/linux/virtio_gpu.h b/include/standard-headers/linux/virtio_gpu.h index 00cd3f04af..b562f5d6a0 100644 --- a/include/standard-headers/linux/virtio_gpu.h +++ b/include/standard-headers/linux/virtio_gpu.h @@ -64,6 +64,10 @@ * context_init and multiple timelines */ #define VIRTIO_GPU_F_CONTEXT_INIT 4 +/* + * VIRTGPU_BLOB_FLAG_USE_USERPTR + */ +#define VIRTIO_GPU_F_RESOURCE_USERPTR 5 enum virtio_gpu_ctrl_type { VIRTIO_GPU_UNDEFINED = 0, @@ -405,6 +409,7 @@ struct virtio_gpu_resource_create_blob { #define VIRTIO_GPU_BLOB_FLAG_USE_MAPPABLE 0x0001 #define VIRTIO_GPU_BLOB_FLAG_USE_SHAREABLE 0x0002 #define VIRTIO_GPU_BLOB_FLAG_USE_CROSS_DEVICE 0x0004 +#define VIRTIO_GPU_BLOB_FLAG_USE_USERPTR 0x0008 /* zero is invalid blob mem */ uint32_t blob_mem; uint32_t blob_flags; -- 2.34.1
