aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJani Nikula <[email protected]>2024-05-29 20:48:08 +0300
committerJani Nikula <[email protected]>2024-06-06 15:59:50 +0300
commit37310936c36bd3e4d2a6415f3ca0dc5e1eae899a (patch)
treeb1add3dbca6839460c745788f25a6ec4a1ed8c16
parent8411aa0c5541a1f2f03938c83445e2a1e7ce84a5 (diff)
drm/i915/display: include intel_uncore.h where needed
Include what you use. With this, we can drop the include from xe compat i915_drv.h. Reviewed-by: Rodrigo Vivi <[email protected]> Acked-by: Rodrigo Vivi <[email protected]> Signed-off-by: Jani Nikula <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/bc3a722413e20db905671e58627ba6d757f41c63.1717004739.git.jani.nikula@intel.com
-rw-r--r--drivers/gpu/drm/i915/display/intel_bios.c1
-rw-r--r--drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_bios.c b/drivers/gpu/drm/i915/display/intel_bios.c
index 128fe9250f40..def2ade61954 100644
--- a/drivers/gpu/drm/i915/display/intel_bios.c
+++ b/drivers/gpu/drm/i915/display/intel_bios.c
@@ -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"
diff --git a/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h b/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h
index bf2f2efe7beb..3b3533ec07a4 100644
--- a/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h
+++ b/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h
@@ -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>