summaryrefslogtreecommitdiffstats
path: root/include/pcmcia
diff options
context:
space:
mode:
authorFrancois Dugast <francois.dugast@intel.com>2023-11-22 14:38:26 +0000
committerRodrigo Vivi <rodrigo.vivi@intel.com>2023-12-21 11:45:19 -0500
commit60a6a849fcb338b8a3f3d1ec9ec50c002add925a (patch)
tree09700cc110ab65ccb4d075d8d48a626cb4a168ac /include/pcmcia
parent71c625aa770d4bd2b0901a9da3820fb89636e1a1 (diff)
downloadlinux-stable-60a6a849fcb338b8a3f3d1ec9ec50c002add925a.tar.gz
linux-stable-60a6a849fcb338b8a3f3d1ec9ec50c002add925a.tar.bz2
linux-stable-60a6a849fcb338b8a3f3d1ec9ec50c002add925a.zip
drm/xe/uapi: Align on a common way to return arrays (engines)
The uAPI provides queries which return arrays of elements. As of now the format used in the struct is different depending on which element is queried. Fix this for engines by applying the pattern below: struct drm_xe_query_Xs { __u32 num_Xs; struct drm_xe_X Xs[]; ... } Instead of directly returning an array of struct drm_xe_query_engine_info, a new struct drm_xe_query_engines is introduced. It contains itself an array of struct drm_xe_engine which holds the information about each engine. v2: Use plural for struct drm_xe_query_engines as multiple engines are returned (José Roberto de Souza) Signed-off-by: Francois Dugast <francois.dugast@intel.com> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'include/pcmcia')
0 files changed, 0 insertions, 0 deletions