mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 07:03:03 +02:00
drm/i915: stop including display/intel_display_{core, limits}.h from i915_drv.h
Make i915->display pointer opaque to most of core i915 driver. Lots of places now need explicit include of intel_display_core.h, or a more specific header. With this dependency broken, changes in display should cause radically less recompilation of i915. Reviewed-by: Chaitanya Kumar Borah <chaitanya.kumar.borah@intel.com> Link: https://lore.kernel.org/r/b381b59acb7e4f600e0282935a68aedf77768109.1747907216.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com>
This commit is contained in:
parent
6f142c52d3
commit
62384da2a0
|
|
@ -37,6 +37,7 @@
|
|||
|
||||
#include "i915_drv.h"
|
||||
#include "intel_display.h"
|
||||
#include "intel_display_core.h"
|
||||
#include "intel_display_rpm.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_gmbus.h"
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
/* Copyright © 2024 Intel Corporation */
|
||||
|
||||
#include "i915_drv.h"
|
||||
#include "intel_display_conversion.h"
|
||||
|
||||
struct intel_display *__i915_to_display(struct drm_i915_private *i915)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@
|
|||
#include "intel_cdclk.h"
|
||||
#include "intel_color.h"
|
||||
#include "intel_crtc.h"
|
||||
#include "intel_display_core.h"
|
||||
#include "intel_display_debugfs.h"
|
||||
#include "intel_display_driver.h"
|
||||
#include "intel_display_irq.h"
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@
|
|||
#include "i915_drv.h"
|
||||
#include "intel_clock_gating.h"
|
||||
#include "intel_cx0_phy.h"
|
||||
#include "intel_display_core.h"
|
||||
#include "intel_display_driver.h"
|
||||
#include "intel_display_reset.h"
|
||||
#include "intel_display_types.h"
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
/* Copyright © 2025 Intel Corporation */
|
||||
|
||||
#include "i915_drv.h"
|
||||
#include "intel_display_core.h"
|
||||
#include "intel_display_rpm.h"
|
||||
#include "intel_runtime_pm.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@
|
|||
#include "gt/intel_rps.h"
|
||||
#include "i915_drv.h"
|
||||
#include "i915_reg.h"
|
||||
#include "intel_display_core.h"
|
||||
#include "intel_display_irq.h"
|
||||
#include "intel_display_rps.h"
|
||||
#include "intel_display_types.h"
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@
|
|||
#include "gt/gen8_ppgtt.h"
|
||||
|
||||
#include "i915_drv.h"
|
||||
#include "intel_display_core.h"
|
||||
#include "intel_display_rpm.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_dpt.h"
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
#include <linux/workqueue.h>
|
||||
|
||||
#include "i915_drv.h"
|
||||
|
||||
#include "intel_display_core.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_encoder.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@
|
|||
#include "intel_atomic_plane.h"
|
||||
#include "intel_bo.h"
|
||||
#include "intel_display.h"
|
||||
#include "intel_display_core.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_dpt.h"
|
||||
#include "intel_fb.h"
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@
|
|||
#include "gem/i915_gem_object.h"
|
||||
|
||||
#include "i915_drv.h"
|
||||
#include "intel_display_core.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_fb.h"
|
||||
#include "intel_fb_bo.h"
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@
|
|||
|
||||
#include "i915_drv.h"
|
||||
#include "intel_atomic_plane.h"
|
||||
#include "intel_display_core.h"
|
||||
#include "intel_display_rpm.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_dpt.h"
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@
|
|||
#include "gem/i915_gem_lmem.h"
|
||||
|
||||
#include "i915_drv.h"
|
||||
#include "intel_display_core.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_fb.h"
|
||||
#include "intel_fbdev_fb.h"
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@
|
|||
#include "i915_irq.h"
|
||||
#include "intel_connector.h"
|
||||
#include "intel_display_power.h"
|
||||
#include "intel_display_core.h"
|
||||
#include "intel_display_rpm.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_hdcp.h"
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@
|
|||
#include "i915_drv.h"
|
||||
#include "intel_acpi.h"
|
||||
#include "intel_backlight.h"
|
||||
#include "intel_display_core.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_opregion.h"
|
||||
#include "intel_pci_config.h"
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@
|
|||
#include "intel_atomic_plane.h"
|
||||
#include "intel_crtc.h"
|
||||
#include "intel_display.h"
|
||||
#include "intel_display_core.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_fb.h"
|
||||
#include "intel_frontbuffer.h"
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@
|
|||
|
||||
#include "i915_selftest.h"
|
||||
|
||||
#include "display/intel_display_core.h"
|
||||
#include "gt/intel_context.h"
|
||||
#include "gt/intel_engine_regs.h"
|
||||
#include "gt/intel_engine_user.h"
|
||||
|
|
|
|||
|
|
@ -6,6 +6,8 @@
|
|||
#include <linux/string_helpers.h>
|
||||
#include <linux/suspend.h>
|
||||
|
||||
#include "display/intel_display_power.h"
|
||||
|
||||
#include "i915_drv.h"
|
||||
#include "i915_irq.h"
|
||||
#include "i915_params.h"
|
||||
|
|
|
|||
|
|
@ -50,6 +50,7 @@
|
|||
#include "trace.h"
|
||||
|
||||
#include "display/i9xx_plane_regs.h"
|
||||
#include "display/intel_display_core.h"
|
||||
#include "display/intel_sprite_regs.h"
|
||||
#include "gem/i915_gem_context.h"
|
||||
#include "gem/i915_gem_pm.h"
|
||||
|
|
|
|||
|
|
@ -43,6 +43,7 @@
|
|||
#include "display/intel_crt_regs.h"
|
||||
#include "display/intel_cursor_regs.h"
|
||||
#include "display/intel_display.h"
|
||||
#include "display/intel_display_core.h"
|
||||
#include "display/intel_dpio_phy.h"
|
||||
#include "display/intel_sprite_regs.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@
|
|||
#include <drm/display/drm_dp.h>
|
||||
|
||||
#include "display/intel_dp_aux_regs.h"
|
||||
#include "display/intel_gmbus.h"
|
||||
#include "display/intel_gmbus_regs.h"
|
||||
#include "gvt.h"
|
||||
#include "i915_drv.h"
|
||||
|
|
|
|||
|
|
@ -42,6 +42,7 @@
|
|||
|
||||
#include "display/i9xx_plane_regs.h"
|
||||
#include "display/intel_cursor_regs.h"
|
||||
#include "display/intel_display_core.h"
|
||||
#include "display/intel_sprite_regs.h"
|
||||
#include "display/skl_universal_plane_regs.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -47,6 +47,7 @@
|
|||
#include "display/i9xx_plane_regs.h"
|
||||
#include "display/intel_crt_regs.h"
|
||||
#include "display/intel_cursor_regs.h"
|
||||
#include "display/intel_display_core.h"
|
||||
#include "display/intel_display_types.h"
|
||||
#include "display/intel_dmc_regs.h"
|
||||
#include "display/intel_dp_aux_regs.h"
|
||||
|
|
|
|||
|
|
@ -51,6 +51,7 @@
|
|||
#include "display/intel_bw.h"
|
||||
#include "display/intel_cdclk.h"
|
||||
#include "display/intel_crtc.h"
|
||||
#include "display/intel_display_core.h"
|
||||
#include "display/intel_display_driver.h"
|
||||
#include "display/intel_dmc.h"
|
||||
#include "display/intel_dp.h"
|
||||
|
|
@ -58,6 +59,7 @@
|
|||
#include "display/intel_encoder.h"
|
||||
#include "display/intel_fbdev.h"
|
||||
#include "display/intel_hotplug.h"
|
||||
#include "display/intel_opregion.h"
|
||||
#include "display/intel_overlay.h"
|
||||
#include "display/intel_pch_refclk.h"
|
||||
#include "display/intel_pps.h"
|
||||
|
|
|
|||
|
|
@ -32,13 +32,11 @@
|
|||
|
||||
#include <uapi/drm/i915_drm.h>
|
||||
|
||||
#include <linux/pci.h>
|
||||
#include <linux/pm_qos.h>
|
||||
|
||||
#include <drm/ttm/ttm_device.h>
|
||||
|
||||
#include "display/intel_display_limits.h"
|
||||
#include "display/intel_display_core.h"
|
||||
|
||||
#include "gem/i915_gem_context_types.h"
|
||||
#include "gem/i915_gem_shrinker.h"
|
||||
#include "gem/i915_gem_stolen.h"
|
||||
|
|
@ -63,8 +61,9 @@
|
|||
#include "intel_uncore.h"
|
||||
|
||||
struct drm_i915_clock_gating_funcs;
|
||||
struct vlv_s0ix_state;
|
||||
struct intel_display;
|
||||
struct intel_pxp;
|
||||
struct vlv_s0ix_state;
|
||||
|
||||
#define GEM_QUIRK_PIN_SWIZZLED_PAGES BIT(0)
|
||||
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@
|
|||
|
||||
#include <drm/drm_drv.h>
|
||||
|
||||
#include "display/intel_display_core.h"
|
||||
#include "display/intel_display_irq.h"
|
||||
#include "display/intel_hotplug.h"
|
||||
#include "display/intel_hotplug_irq.h"
|
||||
|
|
|
|||
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
#include <linux/vga_switcheroo.h>
|
||||
|
||||
#include "display/intel_display_core.h"
|
||||
|
||||
#include "i915_driver.h"
|
||||
#include "i915_drv.h"
|
||||
#include "i915_switcheroo.h"
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@
|
|||
|
||||
#include "display/i9xx_plane_regs.h"
|
||||
#include "display/intel_display.h"
|
||||
#include "display/intel_display_core.h"
|
||||
|
||||
#include "gt/intel_engine_regs.h"
|
||||
#include "gt/intel_gt.h"
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@
|
|||
#include "display/intel_color_regs.h"
|
||||
#include "display/intel_crt_regs.h"
|
||||
#include "display/intel_cursor_regs.h"
|
||||
#include "display/intel_display_core.h"
|
||||
#include "display/intel_display_types.h"
|
||||
#include "display/intel_dmc_regs.h"
|
||||
#include "display/intel_dp_aux_regs.h"
|
||||
|
|
|
|||
|
|
@ -24,6 +24,8 @@
|
|||
#include <drm/drm_managed.h>
|
||||
#include <linux/pm_runtime.h>
|
||||
|
||||
#include "display/intel_display_core.h"
|
||||
|
||||
#include "gt/intel_gt.h"
|
||||
#include "gt/intel_engine_regs.h"
|
||||
#include "gt/intel_gt_regs.h"
|
||||
|
|
|
|||
|
|
@ -28,6 +28,8 @@
|
|||
|
||||
#include <drm/drm_managed.h>
|
||||
|
||||
#include "display/intel_display_device.h"
|
||||
|
||||
#include "gt/intel_gt.h"
|
||||
#include "gt/intel_gt_requests.h"
|
||||
#include "gt/mock_engine.h"
|
||||
|
|
|
|||
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
#include <linux/string_helpers.h>
|
||||
|
||||
#include "../display/intel_display_core.h" /* FIXME */
|
||||
|
||||
#include "i915_drv.h"
|
||||
#include "i915_reg.h"
|
||||
#include "intel_dram.h"
|
||||
|
|
|
|||
|
|
@ -10,6 +10,8 @@
|
|||
#include <drm/drm_managed.h>
|
||||
#include <drm/intel/i915_drm.h>
|
||||
|
||||
#include "../display/intel_display_core.h" /* FIXME */
|
||||
|
||||
#include "i915_drv.h"
|
||||
#include "intel_gmch.h"
|
||||
#include "intel_pci_config.h"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user