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: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://lore.kernel.org/r/68ec70f6880b7af19bc93b9817959299634a555d.1744364975.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
This commit is contained in:
Jani Nikula 2025-04-11 12:54:14 +03:00
parent 3090ea0344
commit 6a5cfab072
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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"

View File

@ -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