diff options
author | Francois Dugast <francois.dugast@intel.com> | 2024-03-11 16:23:36 +0000 |
---|---|---|
committer | Kamil Konieczny <kamil.konieczny@linux.intel.com> | 2024-03-12 14:25:26 +0100 |
commit | e590379e8875cfefdd41e33acf3d1533044d2bcd (patch) | |
tree | ea1ab7df5ca077b17bc67287b7a7a85f2ab88d0f /include | |
parent | de6ee519444f9bde21b3ecedcac080a2ebf20230 (diff) |
drm-uapi/xe: Add test to query HuC firmware version
This aligns with kernel commit ("drm/xe: Extend uAPI to query HuC
micro-controler firmware version").
v2:
- Fix printing branch (Francois Dugast)
- Make ENODEV the only accepted error (José Roberto de Souza)
v3: Share code between guc and huc tests (John Harrison)
v4: Better use of asserts to report errors (John Harrison)
v5: Add lore link to corresponding kernel commit (Francois Dugast)
Cc: John Harrison <John.C.Harrison@Intel.com>
Cc: José Roberto de Souza <jose.souza@intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Francois Dugast <francois.dugast@intel.com>
Link: https://lore.kernel.org/intel-xe/20240208183539.185095-2-jose.souza@intel.com/
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/drm-uapi/xe_drm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm-uapi/xe_drm.h b/include/drm-uapi/xe_drm.h index 0d2ff6efd..86b426f49 100644 --- a/include/drm-uapi/xe_drm.h +++ b/include/drm-uapi/xe_drm.h @@ -583,6 +583,7 @@ struct drm_xe_query_engine_cycles { struct drm_xe_query_uc_fw_version { /** @uc_type: The micro-controller type to query firmware version */ #define XE_QUERY_UC_TYPE_GUC_SUBMISSION 0 +#define XE_QUERY_UC_TYPE_HUC 1 __u16 uc_type; /** @pad: MBZ */ |