[Intel-xe] [RFC PATCH 10/20] drm/xe: Add struct i915_active for Xe

Jouni Högander jouni.hogander at intel.com
Fri May 5 08:29:46 UTC 2023


Add empty definition for struct i915_active to kill ifdefs from
frontbuffer tracking code.

Signed-off-by: Jouni Högander <jouni.hogander at intel.com>
---
 .../drm/xe/compat-i915-headers/i915_active_types.h   | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/drivers/gpu/drm/xe/compat-i915-headers/i915_active_types.h b/drivers/gpu/drm/xe/compat-i915-headers/i915_active_types.h
index e69de29bb2d1..dd0e7b074c98 100644
--- a/drivers/gpu/drm/xe/compat-i915-headers/i915_active_types.h
+++ b/drivers/gpu/drm/xe/compat-i915-headers/i915_active_types.h
@@ -0,0 +1,12 @@
+/*
+ * SPDX-License-Identifier: MIT
+ *
+ * Copyright © 2019 Intel Corporation
+ */
+
+#ifndef _I915_ACTIVE_TYPES_H_
+#define _I915_ACTIVE_TYPES_H_
+
+struct i915_active {};
+
+#endif /* _I915_ACTIVE_TYPES_H_ */
-- 
2.34.1



More information about the Intel-xe mailing list