1
0

drm/xe: stop including intel_display_{core, device}.h from xe_device_types.h

Make xe->display pointer opaque to most of core xe driver. A few places
now need explicit include of intel_display_core.h.

With this dependency broken, changes in display should cause radically
less recompilation of xe.

Acked-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Chaitanya Kumar Borah <chaitanya.kumar.borah@intel.com>
Link: https://lore.kernel.org/r/a12918f4d404e2d6d4e963126ce96df01d5064f3.1747907216.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
This commit is contained in:
Jani Nikula
2025-05-22 12:48:44 +03:00
parent 62384da2a0
commit e6ba431676
8 changed files with 9 additions and 8 deletions

View File

@@ -5,6 +5,7 @@
#include <drm/drm_fb_helper.h>
#include "intel_display_core.h"
#include "intel_display_types.h"
#include "intel_fb.h"
#include "intel_fbdev_fb.h"

View File

@@ -20,6 +20,7 @@
#include "intel_audio.h"
#include "intel_bw.h"
#include "intel_display.h"
#include "intel_display_core.h"
#include "intel_display_driver.h"
#include "intel_display_irq.h"
#include "intel_display_types.h"

View File

@@ -1,6 +1,7 @@
// SPDX-License-Identifier: MIT
/* Copyright © 2025 Intel Corporation */
#include "intel_display_core.h"
#include "intel_display_rpm.h"
#include "xe_device.h"
#include "xe_device_types.h"

View File

@@ -3,8 +3,8 @@
* Copyright © 2024 Intel Corporation
*/
#include "intel_display_core.h"
#include "intel_display_wa.h"
#include "xe_device.h"
#include "xe_wa.h"

View File

@@ -6,6 +6,7 @@
#include <drm/ttm/ttm_bo.h>
#include "i915_vma.h"
#include "intel_display_core.h"
#include "intel_display_types.h"
#include "intel_dpt.h"
#include "intel_fb.h"

View File

@@ -14,6 +14,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_fb_pin.h"

View File

@@ -3,9 +3,9 @@
* Copyright © 2024 Intel Corporation
*/
#include "xe_device.h"
#include "intel_display_types.h"
#include "intel_display_core.h"
#include "intel_tdf.h"
#include "xe_device.h"
void intel_td_flush(struct intel_display *display)
{

View File

@@ -30,11 +30,7 @@
#define TEST_VM_OPS_ERROR
#endif
#if IS_ENABLED(CONFIG_DRM_XE_DISPLAY)
#include "intel_display_core.h"
#include "intel_display_device.h"
#endif
struct intel_display;
struct xe_ggtt;
struct xe_pat_ops;
struct xe_pxp;