[PATCH v6 04/20] drm/imagination/uapi: Add PowerVR driver UAPI
Dave Airlie
airlied at gmail.com
Mon Sep 25 00:41:18 UTC 2023
> +struct drm_pvr_dev_query_gpu_info {
> + /**
> + * @gpu_id: GPU identifier.
> + *
> + * For all currently supported GPUs this is the BVNC encoded as a 64-bit
> + * value as follows:
> + *
> + * +--------+--------+--------+-------+
> + * | 63..48 | 47..32 | 31..16 | 15..0 |
> + * +========+========+========+=======+
> + * | B | V | N | C |
> + * +--------+--------+--------+-------+
> + */
> + __u64 gpu_id;
> +
> + /**
> + * @num_phantoms: Number of Phantoms present.
> + */
> + __u32 num_phantoms;
> +};
I think this one needs __u32 padding; of some sort.
Dave.
More information about the dri-devel
mailing list