[PATCH V2 05/10] accel/amdxdna: Add GEM buffer object management
Jeffrey Hugo
quic_jhugo at quicinc.com
Fri Aug 9 16:39:56 UTC 2024
On 8/5/2024 11:39 AM, Lizhi Hou wrote:
> +/**
> + * struct amdxdna_drm_create_bo - Create a buffer object.
> + * @flags: Buffer flags. MBZ.
> + * @type: Buffer type.
> + * @vaddr: User VA of buffer if applied. MBZ.
> + * @size: Size in bytes.
> + * @handle: Returned DRM buffer object handle.
> + */
> +struct amdxdna_drm_create_bo {
> + __u64 flags;
> + __u32 type;
> + __u32 _pad;
> + __u64 vaddr;
> + __u64 size;
> + __u32 handle;
> +};
Needs padding
More information about the dri-devel
mailing list