]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/xe/compat: remove unused i915_active.h and i915_active_types.h
authorJani Nikula <jani.nikula@intel.com>
Mon, 1 Dec 2025 17:10:50 +0000 (19:10 +0200)
committerJani Nikula <jani.nikula@intel.com>
Tue, 2 Dec 2025 09:35:38 +0000 (11:35 +0200)
Commit 965930962a41 ("drm/i915/frontbuffer: Fix intel_frontbuffer
lifetime handling") dropped the last xe display users of the
headers. They're still used in intel_overlay.c, but it's not built as
part of xe.

Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patch.msgid.link/20251201171050.2145833-1-jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/xe/compat-i915-headers/i915_active.h [deleted file]
drivers/gpu/drm/xe/compat-i915-headers/i915_active_types.h [deleted file]

diff --git a/drivers/gpu/drm/xe/compat-i915-headers/i915_active.h b/drivers/gpu/drm/xe/compat-i915-headers/i915_active.h
deleted file mode 100644 (file)
index 6f0ab37..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-/* SPDX-License-Identifier: MIT */
-/*
- * Copyright © 2022 Intel Corporation
- */
-
-#ifndef _I915_ACTIVE_H_
-#define _I915_ACTIVE_H_
-
-#include "i915_active_types.h"
-
-static inline void i915_active_init(struct i915_active *ref,
-                                   int (*active)(struct i915_active *ref),
-                                   void (*retire)(struct i915_active *ref),
-                                   unsigned long flags)
-{
-       (void) active;
-       (void) retire;
-}
-
-#define i915_active_fini(active) do { } while (0)
-
-#endif
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
deleted file mode 100644 (file)
index 8c31f9a..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-/*
- * SPDX-License-Identifier: MIT
- *
- * Copyright © 2019 Intel Corporation
- */
-
-#ifndef _I915_ACTIVE_TYPES_H_
-#define _I915_ACTIVE_TYPES_H_
-
-struct i915_active {};
-#define I915_ACTIVE_RETIRE_SLEEPS 0
-
-#endif /* _I915_ACTIVE_TYPES_H_ */