]> www.infradead.org Git - users/willy/xarray.git/commitdiff
drm/i915/display: include i915_gpu_error.h where needed
authorJani Nikula <jani.nikula@intel.com>
Wed, 29 May 2024 17:48:07 +0000 (20:48 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 6 Jun 2024 12:59:42 +0000 (15:59 +0300)
Include what you use. With this, we can drop the include from xe compat
i915_drv.h.

Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/a5dbb8d46403761bd8518db45fa71dc55930d3cf.1717004739.git.jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_dmc.c
drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h

index 63fccdda56c0e849e5a2b8036c11f8ec4dcb21da..b5ebb0f5b2693e8d2c53add45ecbbca642dfa22a 100644 (file)
@@ -26,6 +26,7 @@
 #include <linux/firmware.h>
 
 #include "i915_drv.h"
+#include "i915_gpu_error.h"
 #include "i915_reg.h"
 #include "intel_de.h"
 #include "intel_dmc.h"
index f976588ed628978bc0a7d7258df08d44fc2f4f92..bf2f2efe7beb86a783ca16c9f2d9c64799255449 100644 (file)
@@ -19,7 +19,6 @@
 #include "xe_bo.h"
 #include "xe_pm.h"
 #include "xe_step.h"
-#include "i915_gpu_error.h"
 #include "i915_reg_defs.h"
 #include "i915_utils.h"
 #include "intel_step.h"