drm/xe: Document structures for device query
authorFrancois Dugast <francois.dugast@intel.com>
Fri, 9 Jun 2023 07:37:12 +0000 (07:37 +0000)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 21 Dec 2023 16:34:56 +0000 (11:34 -0500)
commitffd6620fb746c59ad82070f1975c4a0e3d30520e
tree024dad03469bd2855ca9e2f1145bc001ea577dfd
parent5db4afe1db56c10b6edef41ad9309bf0bed87f34
drm/xe: Document structures for device query

This adds documentation to the various structures used to query
memory, GTs, topology, engines, and so on. It includes a functional
code snippet to query engines.

v2:
  - Rebase on drm-xe-next
  - Also document structures related to drm_xe_device_query, changed
    pseudo code to snippet (Lucas De Marchi)
v3:
  - Move changelog to commit
  - Fix warnings showed only using dim checkpath

Reported-by: Oded Gabbay <ogabbay@kernel.org>
Link: https://lists.freedesktop.org/archives/intel-xe/2023-May/004704.html
Signed-off-by: Francois Dugast <francois.dugast@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
include/uapi/drm/xe_drm.h