]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/xe/uapi: Add examples of user space code
authorFrancois Dugast <francois.dugast@intel.com>
Fri, 15 Dec 2023 15:45:50 +0000 (15:45 +0000)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 21 Dec 2023 16:47:01 +0000 (11:47 -0500)
commitdb35331176f93125cc4bfa0d05283688607200f5
treedb9f86de0b788be460f082839662b6acfeef50b8
parent33c6fda687a37ef871ca04adf2e05ffc646e3b13
drm/xe/uapi: Add examples of user space code

Complete the documentation of some structs by adding functional
examples of user space code. Those examples are intentionally kept
very simple. Put together, they provide a foundation for a minimal
application that executes a job using the Xe driver.

v2: Remove use of DRM_XE_VM_BIND_FLAG_ASYNC (Francois Dugast)

Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Acked-by: José Roberto de Souza <jose.souza@intel.com>
Acked-by: Mateusz Naklicki <mateusz.naklicki@intel.com>
Signed-off-by: Francois Dugast <francois.dugast@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
include/uapi/drm/xe_drm.h