]> www.infradead.org Git - nvme.git/commitdiff
drm/i915/display: include intel_uncore.h where needed
authorJani Nikula <jani.nikula@intel.com>
Wed, 29 May 2024 17:48:08 +0000 (20:48 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 6 Jun 2024 12:59:50 +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/bc3a722413e20db905671e58627ba6d757f41c63.1717004739.git.jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_bios.c
drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h

index 128fe9250f4001b3892ac25028556337159f91f8..def2ade619548e1b0d93c5639b79406408a8cf8c 100644 (file)
@@ -36,6 +36,7 @@
 #include "intel_display.h"
 #include "intel_display_types.h"
 #include "intel_gmbus.h"
+#include "intel_uncore.h"
 
 #define _INTEL_BIOS_PRIVATE
 #include "intel_vbt_defs.h"
index bf2f2efe7beb86a783ca16c9f2d9c64799255449..3b3533ec07a4430e92d7c68b98aebea67c6d865a 100644 (file)
@@ -22,7 +22,6 @@
 #include "i915_reg_defs.h"
 #include "i915_utils.h"
 #include "intel_step.h"
-#include "intel_uncore.h"
 #include "intel_runtime_pm.h"
 #include <linux/pm_runtime.h>