diff options
| author | Jani Nikula <jani.nikula@intel.com> | 2025-12-11 19:37:11 +0200 |
|---|---|---|
| committer | Jani Nikula <jani.nikula@intel.com> | 2025-12-12 15:17:02 +0200 |
| commit | d6b80e904bb00a188d9a59be6bf7e19b89e3954f (patch) | |
| tree | c9f315adc3a3eb9aa2eba0fbbbf2c418963cea98 | |
| parent | 6a99e91a6ca8fec5882450128fb128265f86b32a (diff) | |
drm/i915/panic: move i915 specific panic implementation to i915
The intel_panic.c implementation is i915 specific, and xe has its
own. Move it to i915 core as i915_panic.c.
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patch.msgid.link/8dc7af0ae1f859d17b0be269a545146c5536d8fc.1765474612.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
| -rw-r--r-- | drivers/gpu/drm/i915/Makefile | 4 | ||||
| -rw-r--r-- | drivers/gpu/drm/i915/i915_panic.c (renamed from drivers/gpu/drm/i915/display/intel_panic.c) | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/drivers/gpu/drm/i915/Makefile b/drivers/gpu/drm/i915/Makefile index ca5c69d1cb08..13b9e71fa993 100644 --- a/drivers/gpu/drm/i915/Makefile +++ b/drivers/gpu/drm/i915/Makefile @@ -76,7 +76,8 @@ i915-$(CONFIG_PERF_EVENTS) += \ # core display adaptation i915-y += \ - i915_hdcp_gsc.o + i915_hdcp_gsc.o \ + i915_panic.o # "Graphics Technology" (aka we talk to the gpu) gt-y += \ @@ -294,7 +295,6 @@ i915-y += \ display/intel_modeset_setup.o \ display/intel_modeset_verify.o \ display/intel_overlay.o \ - display/intel_panic.o \ display/intel_parent.o \ display/intel_pch.o \ display/intel_pch_display.o \ diff --git a/drivers/gpu/drm/i915/display/intel_panic.c b/drivers/gpu/drm/i915/i915_panic.c index 7311ce4e8b6c..028ff83b2519 100644 --- a/drivers/gpu/drm/i915/display/intel_panic.c +++ b/drivers/gpu/drm/i915/i915_panic.c @@ -3,10 +3,10 @@ #include <drm/drm_panic.h> +#include "display/intel_display_types.h" +#include "display/intel_fb.h" +#include "display/intel_panic.h" #include "gem/i915_gem_object.h" -#include "intel_display_types.h" -#include "intel_fb.h" -#include "intel_panic.h" struct intel_panic *intel_panic_alloc(void) { |
