drm/i915/pci: move intel_pci_config.h under include/drm/intel
authorJani Nikula <jani.nikula@intel.com>
Tue, 7 Apr 2026 19:36:30 +0000 (22:36 +0300)
committerJani Nikula <jani.nikula@intel.com>
Wed, 8 Apr 2026 09:29:59 +0000 (12:29 +0300)
commit8b1858aaaa20255a42d8eefe7e913c161331af0c
tree38e34121f4cc631f0ace04309968a59f967982ca
parent65d2b7bf1a4f7c765a2c8dfa9254aa799c55040b
drm/i915/pci: move intel_pci_config.h under include/drm/intel

Since the PCI registers are used from both i915 display and core, move
intel_pci_config.h to include/drm/intel/pci_config.h. Drop the intel_
prefix from the name to reduce tautology.

With this, we can drop the corresponding xe display compat header.

v2: Rebase

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patch.msgid.link/5aac6c711c3f0a09fc52f322455a4a4b35f80a82.1775590536.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
17 files changed:
drivers/gpu/drm/i915/display/i9xx_display_sr.c
drivers/gpu/drm/i915/display/intel_backlight.c
drivers/gpu/drm/i915/display/intel_cdclk.c
drivers/gpu/drm/i915/display/intel_lpe_audio.c
drivers/gpu/drm/i915/display/intel_opregion.c
drivers/gpu/drm/i915/gem/i915_gem_stolen.c
drivers/gpu/drm/i915/gt/intel_ggtt.c
drivers/gpu/drm/i915/gt/intel_gt.c
drivers/gpu/drm/i915/gt/intel_region_lmem.c
drivers/gpu/drm/i915/gt/intel_reset.c
drivers/gpu/drm/i915/gvt/cfg_space.c
drivers/gpu/drm/i915/i915_gmch.c
drivers/gpu/drm/i915/i915_overlay.c
drivers/gpu/drm/i915/i915_pci.c
drivers/gpu/drm/i915/intel_pci_config.h [deleted file]
drivers/gpu/drm/xe/compat-i915-headers/intel_pci_config.h [deleted file]
include/drm/intel/pci_config.h [new file with mode: 0644]