mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 01:04:57 +08:00
ci: update uapi headers to 6.9.9
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
432ecbc8f4
commit
400f2d03dc
2
third_party/uapi/.version
vendored
Normal file
2
third_party/uapi/.version
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
git_revision: v6.9.9
|
||||
git_url: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
|
||||
2
third_party/uapi/README.md
vendored
2
third_party/uapi/README.md
vendored
@@ -11,7 +11,7 @@ Source locations of Linux kernel interface headers:
|
||||
|
||||
1. https://repositories.intel.com/graphics/kernel-api/index.html
|
||||
- dg1/i915_drm.h
|
||||
2. https://git.kernel.org/stable/h/v6.8.1
|
||||
2. https://git.kernel.org/stable/h/v6.9.9
|
||||
- drm/drm.h
|
||||
- drm/drm_mode.h
|
||||
- drm/drm_fourcc.h
|
||||
|
||||
16
third_party/uapi/i915/i915_drm.h
vendored
16
third_party/uapi/i915/i915_drm.h
vendored
@@ -3013,6 +3013,7 @@ struct drm_i915_query_item {
|
||||
* - %DRM_I915_QUERY_MEMORY_REGIONS (see struct drm_i915_query_memory_regions)
|
||||
* - %DRM_I915_QUERY_HWCONFIG_BLOB (see `GuC HWCONFIG blob uAPI`)
|
||||
* - %DRM_I915_QUERY_GEOMETRY_SUBSLICES (see struct drm_i915_query_topology_info)
|
||||
* - %DRM_I915_QUERY_GUC_SUBMISSION_VERSION (see struct drm_i915_query_guc_submission_version)
|
||||
*/
|
||||
__u64 query_id;
|
||||
#define DRM_I915_QUERY_TOPOLOGY_INFO 1
|
||||
@@ -3021,6 +3022,7 @@ struct drm_i915_query_item {
|
||||
#define DRM_I915_QUERY_MEMORY_REGIONS 4
|
||||
#define DRM_I915_QUERY_HWCONFIG_BLOB 5
|
||||
#define DRM_I915_QUERY_GEOMETRY_SUBSLICES 6
|
||||
#define DRM_I915_QUERY_GUC_SUBMISSION_VERSION 7
|
||||
/* Must be kept compact -- no holes and well documented */
|
||||
|
||||
/**
|
||||
@@ -3566,6 +3568,20 @@ struct drm_i915_query_memory_regions {
|
||||
struct drm_i915_memory_region_info regions[];
|
||||
};
|
||||
|
||||
/**
|
||||
* struct drm_i915_query_guc_submission_version - query GuC submission interface version
|
||||
*/
|
||||
struct drm_i915_query_guc_submission_version {
|
||||
/** @branch: Firmware branch version. */
|
||||
__u32 branch;
|
||||
/** @major: Firmware major version. */
|
||||
__u32 major;
|
||||
/** @minor: Firmware minor version. */
|
||||
__u32 minor;
|
||||
/** @patch: Firmware patch version. */
|
||||
__u32 patch;
|
||||
};
|
||||
|
||||
/**
|
||||
* DOC: GuC HWCONFIG blob uAPI
|
||||
*
|
||||
|
||||
31
third_party/uapi/xe/xe_drm.h
vendored
31
third_party/uapi/xe/xe_drm.h
vendored
@@ -574,6 +574,36 @@ struct drm_xe_query_engine_cycles {
|
||||
__u64 cpu_delta;
|
||||
};
|
||||
|
||||
/**
|
||||
* struct drm_xe_query_uc_fw_version - query a micro-controller firmware version
|
||||
*
|
||||
* Given a uc_type this will return the branch, major, minor and patch version
|
||||
* of the micro-controller firmware.
|
||||
*/
|
||||
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
|
||||
__u16 uc_type;
|
||||
|
||||
/** @pad: MBZ */
|
||||
__u16 pad;
|
||||
|
||||
/** @branch_ver: branch uc fw version */
|
||||
__u32 branch_ver;
|
||||
/** @major_ver: major uc fw version */
|
||||
__u32 major_ver;
|
||||
/** @minor_ver: minor uc fw version */
|
||||
__u32 minor_ver;
|
||||
/** @patch_ver: patch uc fw version */
|
||||
__u32 patch_ver;
|
||||
|
||||
/** @pad2: MBZ */
|
||||
__u32 pad2;
|
||||
|
||||
/** @reserved: Reserved */
|
||||
__u64 reserved;
|
||||
};
|
||||
|
||||
/**
|
||||
* struct drm_xe_device_query - Input of &DRM_IOCTL_XE_DEVICE_QUERY - main
|
||||
* structure to query device information
|
||||
@@ -643,6 +673,7 @@ struct drm_xe_device_query {
|
||||
#define DRM_XE_DEVICE_QUERY_HWCONFIG 4
|
||||
#define DRM_XE_DEVICE_QUERY_GT_TOPOLOGY 5
|
||||
#define DRM_XE_DEVICE_QUERY_ENGINE_CYCLES 6
|
||||
#define DRM_XE_DEVICE_QUERY_UC_FW_VERSION 7
|
||||
/** @query: The type of data to query */
|
||||
__u32 query;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user