mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 23:03:02 +08:00
build: update i915 prelim headers
third_party/uapi/prelim/drm from prelim v2.0-rc23 https://github.com/intel-gpu/drm-uapi-helper Related-To: GSD-5673 Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
ffecca86ac
commit
e8192a2b85
17
third_party/uapi/prelim/drm/i915_drm.h
vendored
17
third_party/uapi/prelim/drm/i915_drm.h
vendored
@@ -27,7 +27,11 @@
|
||||
#ifndef _I915_DRM_H_
|
||||
#define _I915_DRM_H_
|
||||
|
||||
#ifdef BPM_HEADER_PATH_ALIGN
|
||||
#include_next <uapi/drm/drm.h>
|
||||
#else
|
||||
#include "drm.h"
|
||||
#endif
|
||||
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
@@ -2430,7 +2434,18 @@ struct drm_i915_reset_stats {
|
||||
/* Number of batches lost pending for execution, for this context */
|
||||
__u32 batch_pending;
|
||||
|
||||
__u32 pad;
|
||||
__u32 status;
|
||||
#define I915_RESET_STATS_BANNED (1 << 0)
|
||||
|
||||
struct {
|
||||
/* Page-aligned virtual address of first reported invalid fault */
|
||||
__u64 addr;
|
||||
__u16 type;
|
||||
__u16 level;
|
||||
__u16 access;
|
||||
__u16 flags;
|
||||
#define I915_RESET_STATS_FAULT_VALID (1 << 0)
|
||||
} fault;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
@@ -6,7 +6,11 @@
|
||||
#ifndef __I915_DRM_PRELIM_H__
|
||||
#define __I915_DRM_PRELIM_H__
|
||||
|
||||
#ifdef BPM_HEADER_PATH_ALIGN
|
||||
#include_next <uapi/drm/drm.h>
|
||||
#else
|
||||
#include "i915_drm.h"
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Modifications to structs/values defined here are subject to
|
||||
|
||||
Reference in New Issue
Block a user