[Intel-xe] [RFC PATCH 11/20] drm/xe: Add i915_active.h compatibility header
Jouni Högander
jouni.hogander at intel.com
Fri May 5 08:29:47 UTC 2023
Add empty definitions for i915_active_init/fini to kill ifdefs from
frontbuffer tracking code.
Signed-off-by: Jouni Högander <jouni.hogander at intel.com>
---
drivers/gpu/drm/xe/compat-i915-headers/i915_active.h | 12 ++++++++++++
1 file changed, 12 insertions(+)
create mode 100644 drivers/gpu/drm/xe/compat-i915-headers/i915_active.h
diff --git a/drivers/gpu/drm/xe/compat-i915-headers/i915_active.h b/drivers/gpu/drm/xe/compat-i915-headers/i915_active.h
new file mode 100644
index 000000000000..c4bf3764f7f0
--- /dev/null
+++ b/drivers/gpu/drm/xe/compat-i915-headers/i915_active.h
@@ -0,0 +1,12 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * Copyright © 2022 Intel Corporation
+ */
+
+#ifndef _I915_ACTIVE_H_
+#define _I915_ACTIVE_H_
+
+#define i915_active_init(ref, active, retire, flags) do { } while (0)
+#define i915_active_fini(active) do { } while (0)
+
+#endif
--
2.34.1
More information about the Intel-xe
mailing list