[PATCH] drm/xe/compat: remove unused i915_gpu_error.h

Nirmoy Das nirmoy.das at linux.intel.com
Tue Oct 1 09:16:35 UTC 2024


On 9/30/2024 6:40 PM, Jani Nikula wrote:
> The last user of the compat header was removed in commit d6b933912df0
> ("drm/i915/dmc: convert intel_dmc_print_error_state() to drm_printer").
>
> Signed-off-by: Jani Nikula <jani.nikula at intel.com>

Reviewed-by: Nirmoy Das <nirmoy.das at intel.com>


> ---
>  .../drm/xe/compat-i915-headers/i915_gpu_error.h | 17 -----------------
>  1 file changed, 17 deletions(-)
>  delete mode 100644 drivers/gpu/drm/xe/compat-i915-headers/i915_gpu_error.h
>
> diff --git a/drivers/gpu/drm/xe/compat-i915-headers/i915_gpu_error.h b/drivers/gpu/drm/xe/compat-i915-headers/i915_gpu_error.h
> deleted file mode 100644
> index 98e9dd78f670..000000000000
> --- a/drivers/gpu/drm/xe/compat-i915-headers/i915_gpu_error.h
> +++ /dev/null
> @@ -1,17 +0,0 @@
> -/* SPDX-License-Identifier: MIT */
> -/*
> - * Copyright © 2023 Intel Corporation
> - */
> -
> -#ifndef _I915_GPU_ERROR_H_
> -#define _I915_GPU_ERROR_H_
> -
> -struct drm_i915_error_state_buf;
> -
> -__printf(2, 3)
> -static inline void
> -i915_error_printf(struct drm_i915_error_state_buf *e, const char *f, ...)
> -{
> -}
> -
> -#endif


More information about the Intel-xe mailing list