summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/xe/display/ext
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2025-10-22 18:17:14 +0300
committerJani Nikula <jani.nikula@intel.com>2025-10-31 13:24:28 +0200
commitba9bf3b8ddbfae8a2237e1e5bea694d792a1c6f8 (patch)
tree1db2de21663b0d0d804f44c18060a11ddcf79811 /drivers/gpu/drm/xe/display/ext
parentb062cf5456bfdf8976ac279953af29456cac13e5 (diff)
drm/xe/compat: reduce i915_utils.[ch]
Reduce the compat i915_utils.h to only cover the requirements of MISSING_CASE() in soc/ and the few i915_inject_probe_failure() instances, instead of including the entire i915_utils.h from i915. This prevents new users for the utilities from cropping up. With this, we can remove the xe/display/ext/i915_utils.c altogether. Reviewed-by: Luca Coelho <luciano.coelho@intel.com> Link: https://patch.msgid.link/c02f82e45f31caf95bd1339080b9099c3b7190be.1761146196.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'drivers/gpu/drm/xe/display/ext')
-rw-r--r--drivers/gpu/drm/xe/display/ext/i915_utils.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/gpu/drm/xe/display/ext/i915_utils.c b/drivers/gpu/drm/xe/display/ext/i915_utils.c
deleted file mode 100644
index af9ec2abbaa1..000000000000
--- a/drivers/gpu/drm/xe/display/ext/i915_utils.c
+++ /dev/null
@@ -1,17 +0,0 @@
-// SPDX-License-Identifier: MIT
-/*
- * Copyright © 2023 Intel Corporation
- */
-
-#include "i915_utils.h"
-
-#if IS_ENABLED(CONFIG_DRM_I915_DEBUG)
-
-/* i915 specific, just put here for shutting it up */
-int __i915_inject_probe_error(struct drm_i915_private *i915, int err,
- const char *func, int line)
-{
- return 0;
-}
-
-#endif