Commit 6a5cfab0 authored by Jani Nikula's avatar Jani Nikula
Browse files

drm/i915/pch: clean up includes



We no longer need i915_drv.h in intel_pch.c, and we no longer need
intel_pch.h universally.

With intel_pch.h being included from intel_display_core.h, it's still
included pretty much everywhere, but there's no need to include it
explicitly from i915_drv.h or xe_device_types.h.

Reviewed-by: default avatarLucas De Marchi <lucas.demarchi@intel.com>
Link: https://lore.kernel.org/r/68ec70f6880b7af19bc93b9817959299634a555d.1744364975.git.jani.nikula@intel.com


Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
parent 3090ea03
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -3,8 +3,10 @@
 * Copyright 2025 Intel Corporation.
 */

#include "i915_drv.h"
#include <drm/drm_print.h>

#include "i915_utils.h"
#include "intel_display_core.h"
#include "intel_pch.h"

#define INTEL_PCH_DEVICE_ID_MASK		0xff80
+0 −1
Original line number Diff line number Diff line
@@ -38,7 +38,6 @@

#include "display/intel_display_limits.h"
#include "display/intel_display_core.h"
#include "display/intel_pch.h"

#include "gem/i915_gem_context_types.h"
#include "gem/i915_gem_shrinker.h"
+0 −1
Original line number Diff line number Diff line
@@ -30,7 +30,6 @@
#endif

#if IS_ENABLED(CONFIG_DRM_XE_DISPLAY)
#include "intel_pch.h"
#include "intel_display_core.h"
#include "intel_display_device.h"
#endif