mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-18 22:08:53 +08:00
build: Update to latest eudebug xe uapi
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
d7d6996464
commit
1fa06df956
2
third_party/uapi-eudebug/drm/.version
vendored
2
third_party/uapi-eudebug/drm/.version
vendored
@@ -1,3 +1,3 @@
|
||||
git_url: https://gitlab.freedesktop.org/miku/kernel/-/tree/eudebug-dev
|
||||
git_revision: 7e0438726de3a0175f8a51b029917726cad62868
|
||||
git_revision: 84870d2970d06861d490470d74a60d92b058d6b1
|
||||
|
||||
|
||||
29
third_party/uapi-eudebug/drm/drm_mode.h
vendored
29
third_party/uapi-eudebug/drm/drm_mode.h
vendored
@@ -36,10 +36,10 @@ extern "C" {
|
||||
/**
|
||||
* DOC: overview
|
||||
*
|
||||
* DRM exposes many UAPI and structure definition to have a consistent
|
||||
* and standardized interface with user.
|
||||
* DRM exposes many UAPI and structure definitions to have a consistent
|
||||
* and standardized interface with users.
|
||||
* Userspace can refer to these structure definitions and UAPI formats
|
||||
* to communicate to driver
|
||||
* to communicate to drivers.
|
||||
*/
|
||||
|
||||
#define DRM_CONNECTOR_NAME_LEN 32
|
||||
@@ -540,7 +540,7 @@ struct drm_mode_get_connector {
|
||||
/* the PROP_ATOMIC flag is used to hide properties from userspace that
|
||||
* is not aware of atomic properties. This is mostly to work around
|
||||
* older userspace (DDX drivers) that read/write each prop they find,
|
||||
* witout being aware that this could be triggering a lengthy modeset.
|
||||
* without being aware that this could be triggering a lengthy modeset.
|
||||
*/
|
||||
#define DRM_MODE_PROP_ATOMIC 0x80000000
|
||||
|
||||
@@ -664,7 +664,7 @@ struct drm_mode_fb_cmd {
|
||||
};
|
||||
|
||||
#define DRM_MODE_FB_INTERLACED (1<<0) /* for interlaced framebuffers */
|
||||
#define DRM_MODE_FB_MODIFIERS (1<<1) /* enables ->modifer[] */
|
||||
#define DRM_MODE_FB_MODIFIERS (1<<1) /* enables ->modifier[] */
|
||||
|
||||
/**
|
||||
* struct drm_mode_fb_cmd2 - Frame-buffer metadata.
|
||||
@@ -857,6 +857,17 @@ struct drm_color_lut {
|
||||
__u16 reserved;
|
||||
};
|
||||
|
||||
/**
|
||||
* struct drm_plane_size_hint - Plane size hints
|
||||
*
|
||||
* The plane SIZE_HINTS property blob contains an
|
||||
* array of struct drm_plane_size_hint.
|
||||
*/
|
||||
struct drm_plane_size_hint {
|
||||
__u16 width;
|
||||
__u16 height;
|
||||
};
|
||||
|
||||
/**
|
||||
* struct hdr_metadata_infoframe - HDR Metadata Infoframe Data.
|
||||
*
|
||||
@@ -881,8 +892,8 @@ struct hdr_metadata_infoframe {
|
||||
* These are coded as unsigned 16-bit values in units of
|
||||
* 0.00002, where 0x0000 represents zero and 0xC350
|
||||
* represents 1.0000.
|
||||
* @display_primaries.x: X cordinate of color primary.
|
||||
* @display_primaries.y: Y cordinate of color primary.
|
||||
* @display_primaries.x: X coordinate of color primary.
|
||||
* @display_primaries.y: Y coordinate of color primary.
|
||||
*/
|
||||
struct {
|
||||
__u16 x, y;
|
||||
@@ -892,8 +903,8 @@ struct hdr_metadata_infoframe {
|
||||
* These are coded as unsigned 16-bit values in units of
|
||||
* 0.00002, where 0x0000 represents zero and 0xC350
|
||||
* represents 1.0000.
|
||||
* @white_point.x: X cordinate of whitepoint of color primary.
|
||||
* @white_point.y: Y cordinate of whitepoint of color primary.
|
||||
* @white_point.x: X coordinate of whitepoint of color primary.
|
||||
* @white_point.y: Y coordinate of whitepoint of color primary.
|
||||
*/
|
||||
struct {
|
||||
__u16 x, y;
|
||||
|
||||
26
third_party/uapi-eudebug/drm/xe_drm.h
vendored
26
third_party/uapi-eudebug/drm/xe_drm.h
vendored
@@ -522,7 +522,14 @@ struct drm_xe_query_gt_list {
|
||||
* available per Dual Sub Slices (DSS). For example a query response
|
||||
* containing the following in mask:
|
||||
* ``EU_PER_DSS ff ff 00 00 00 00 00 00``
|
||||
* means each DSS has 16 EU.
|
||||
* means each DSS has 16 SIMD8 EUs. This type may be omitted if device
|
||||
* doesn't have SIMD8 EUs.
|
||||
* - %DRM_XE_TOPO_SIMD16_EU_PER_DSS - To query the mask of SIMD16 Execution
|
||||
* Units (EU) available per Dual Sub Slices (DSS). For example a query
|
||||
* response containing the following in mask:
|
||||
* ``SIMD16_EU_PER_DSS ff ff 00 00 00 00 00 00``
|
||||
* means each DSS has 16 SIMD16 EUs. This type may be omitted if device
|
||||
* doesn't have SIMD16 EUs.
|
||||
*/
|
||||
struct drm_xe_query_topology_mask {
|
||||
/** @gt_id: GT ID the mask is associated with */
|
||||
@@ -532,6 +539,7 @@ struct drm_xe_query_topology_mask {
|
||||
#define DRM_XE_TOPO_DSS_COMPUTE 2
|
||||
#define DRM_XE_TOPO_L3_BANK 3
|
||||
#define DRM_XE_TOPO_EU_PER_DSS 4
|
||||
#define DRM_XE_TOPO_SIMD16_EU_PER_DSS 5
|
||||
/** @type: type of mask */
|
||||
__u16 type;
|
||||
|
||||
@@ -788,7 +796,13 @@ struct drm_xe_gem_create {
|
||||
#define DRM_XE_GEM_CPU_CACHING_WC 2
|
||||
/**
|
||||
* @cpu_caching: The CPU caching mode to select for this object. If
|
||||
* mmaping the object the mode selected here will also be used.
|
||||
* mmaping the object the mode selected here will also be used. The
|
||||
* exception is when mapping system memory (including data evicted
|
||||
* to system) on discrete GPUs. The caching mode selected will
|
||||
* then be overridden to DRM_XE_GEM_CPU_CACHING_WB, and coherency
|
||||
* between GPU- and CPU is guaranteed. The caching mode of
|
||||
* existing CPU-mappings will be updated transparently to
|
||||
* user-space clients.
|
||||
*/
|
||||
__u16 cpu_caching;
|
||||
/** @pad: MBZ */
|
||||
@@ -1609,10 +1623,10 @@ enum drm_xe_oa_property_id {
|
||||
* b. Counter select c. Counter size and d. BC report. Also refer to the
|
||||
* oa_formats array in drivers/gpu/drm/xe/xe_oa.c.
|
||||
*/
|
||||
#define DRM_XE_OA_FORMAT_MASK_FMT_TYPE (0xff << 0)
|
||||
#define DRM_XE_OA_FORMAT_MASK_COUNTER_SEL (0xff << 8)
|
||||
#define DRM_XE_OA_FORMAT_MASK_COUNTER_SIZE (0xff << 16)
|
||||
#define DRM_XE_OA_FORMAT_MASK_BC_REPORT (0xff << 24)
|
||||
#define DRM_XE_OA_FORMAT_MASK_FMT_TYPE (0xffu << 0)
|
||||
#define DRM_XE_OA_FORMAT_MASK_COUNTER_SEL (0xffu << 8)
|
||||
#define DRM_XE_OA_FORMAT_MASK_COUNTER_SIZE (0xffu << 16)
|
||||
#define DRM_XE_OA_FORMAT_MASK_BC_REPORT (0xffu << 24)
|
||||
|
||||
/**
|
||||
* @DRM_XE_OA_PROPERTY_OA_PERIOD_EXPONENT: Requests periodic OA unit
|
||||
|
||||
16
third_party/uapi-eudebug/drm/xe_drm_eudebug.h
vendored
16
third_party/uapi-eudebug/drm/xe_drm_eudebug.h
vendored
@@ -3,8 +3,11 @@
|
||||
* Copyright © 2023 Intel Corporation
|
||||
*/
|
||||
|
||||
#if !defined(_UAPI_XE_DRM_H_)
|
||||
error "Do not include this directly"
|
||||
#ifndef _UAPI_XE_DRM_EUDEBUG_H_
|
||||
#define _UAPI_XE_DRM_EUDEBUG_H_
|
||||
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
@@ -34,7 +37,6 @@ struct drm_xe_eudebug_event {
|
||||
#define DRM_XE_EUDEBUG_EVENT_VM_BIND_UFENCE 8
|
||||
#define DRM_XE_EUDEBUG_EVENT_METADATA 9
|
||||
#define DRM_XE_EUDEBUG_EVENT_VM_BIND_OP_METADATA 10
|
||||
#define DRM_XE_EUDEBUG_EVENT_MAX_EVENT DRM_XE_EUDEBUG_EVENT_VM_BIND_OP_METADATA
|
||||
|
||||
__u16 flags;
|
||||
#define DRM_XE_EUDEBUG_EVENT_CREATE (1 << 0)
|
||||
@@ -171,7 +173,7 @@ struct drm_xe_eudebug_ack_event {
|
||||
__u32 flags; /* MBZ */
|
||||
__u64 seqno;
|
||||
};
|
||||
|
||||
|
||||
struct drm_xe_eudebug_vm_open {
|
||||
/** @extensions: Pointer to the first extension struct, if any */
|
||||
__u64 extensions;
|
||||
@@ -215,3 +217,9 @@ struct drm_xe_eudebug_event_vm_bind_op_metadata {
|
||||
__u64 metadata_handle;
|
||||
__u64 metadata_cookie;
|
||||
};
|
||||
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user