diff options
| author | Jani Nikula <jani.nikula@intel.com> | 2025-12-01 19:10:50 +0200 |
|---|---|---|
| committer | Jani Nikula <jani.nikula@intel.com> | 2025-12-02 11:35:38 +0200 |
| commit | 156fd724e18dd099267b4ceab485a995b8ba54bb (patch) | |
| tree | 55e8b66629e2a6361599371c5c504ef30bf39068 /drivers | |
| parent | 450f04569ffd21e3caef878f22676694bbeadee0 (diff) | |
drm/xe/compat: remove unused i915_active.h and i915_active_types.h
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>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/gpu/drm/xe/compat-i915-headers/i915_active.h | 22 | ||||
| -rw-r--r-- | drivers/gpu/drm/xe/compat-i915-headers/i915_active_types.h | 13 |
2 files changed, 0 insertions, 35 deletions
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 index 6f0ab3753563..000000000000 --- a/drivers/gpu/drm/xe/compat-i915-headers/i915_active.h +++ /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 index 8c31f9a8b168..000000000000 --- a/drivers/gpu/drm/xe/compat-i915-headers/i915_active_types.h +++ /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_ */ |
