diff options
-rw-r--r-- | drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h | 1 | ||||
-rw-r--r-- | drivers/gpu/drm/xe/compat-i915-headers/i915_vma.h | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/xe/compat-i915-headers/intel_gt_types.h | 11 |
3 files changed, 14 insertions, 0 deletions
diff --git a/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h b/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h index e5d1a4a3d8b4..5d2a77b52db4 100644 --- a/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h +++ b/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h @@ -24,6 +24,7 @@ #include "i915_gpu_error.h" #include "i915_reg_defs.h" #include "i915_utils.h" +#include "intel_gt_types.h" #include "intel_step.h" #include "intel_uc_fw.h" #include "intel_uncore.h" diff --git a/drivers/gpu/drm/xe/compat-i915-headers/i915_vma.h b/drivers/gpu/drm/xe/compat-i915-headers/i915_vma.h index 88771f5e03cc..a20d2638ea7a 100644 --- a/drivers/gpu/drm/xe/compat-i915-headers/i915_vma.h +++ b/drivers/gpu/drm/xe/compat-i915-headers/i915_vma.h @@ -24,6 +24,8 @@ struct i915_vma { #define i915_ggtt_clear_scanout(bo) do { } while (0) +#define i915_vma_fence_id(vma) -1 + static inline u32 i915_ggtt_offset(const struct i915_vma *vma) { return vma->node.start; diff --git a/drivers/gpu/drm/xe/compat-i915-headers/intel_gt_types.h b/drivers/gpu/drm/xe/compat-i915-headers/intel_gt_types.h new file mode 100644 index 000000000000..c15806d6c4f7 --- /dev/null +++ b/drivers/gpu/drm/xe/compat-i915-headers/intel_gt_types.h @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: MIT */ +/* + * Copyright © 2023 Intel Corporation + */ + +#ifndef __INTEL_GT_TYPES__ +#define __INTEL_GT_TYPES__ + +#define intel_gt_support_legacy_fencing(gt) 0 + +#endif |