Revert "feature(debugger): online page fault event handling"

This reverts commit 0c6444aab7.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
Compute-Runtime-Validation
2023-08-24 03:39:37 +02:00
committed by Compute-Runtime-Automation
parent d1f096ad14
commit e61c5af7ec
12 changed files with 60 additions and 485 deletions

View File

@@ -772,8 +772,7 @@ struct prelim_drm_i915_debug_event {
#define PRELIM_DRM_I915_DEBUG_EVENT_CONTEXT_PARAM 7
#define PRELIM_DRM_I915_DEBUG_EVENT_EU_ATTENTION 8
#define PRELIM_DRM_I915_DEBUG_EVENT_ENGINES 9
#define PRELIM_DRM_I915_DEBUG_EVENT_PAGE_FAULT 10
#define PRELIM_DRM_I915_DEBUG_EVENT_MAX_EVENT PRELIM_DRM_I915_DEBUG_EVENT_PAGE_FAULT
#define PRELIM_DRM_I915_DEBUG_EVENT_MAX_EVENT PRELIM_DRM_I915_DEBUG_EVENT_ENGINES
__u32 flags;
#define PRELIM_DRM_I915_DEBUG_EVENT_CREATE (1 << 31)
@@ -871,34 +870,6 @@ struct prelim_drm_i915_debug_event_eu_attention {
__u8 bitmask[0];
} __attribute__((packed));
struct prelim_drm_i915_debug_event_page_fault {
struct prelim_drm_i915_debug_event base;
__u64 client_handle;
__u64 ctx_handle;
__u64 lrc_handle;
__u32 flags;
struct i915_engine_class_instance ci;
__u64 page_fault_address;
/**
* Size of one bitmask: sum of size before/after/resolved att bits.
* It has three times the size of prelim_drm_i915_debug_event_eu_attention.bitmask_size.
*/
__u32 bitmask_size;
/**
* Bitmask of thread attentions starting from natural
* hardware order of slice=0,subslice=0,eu=0, 8 attention
* bits per eu.
* The order of the bitmask array is before, after, resolved.
*/
__u8 bitmask[0];
} __attribute__((packed));
struct prelim_drm_i915_debug_read_uuid {
__u64 client_handle;
__u64 handle;