Commit e6ba4316 authored by Jani Nikula's avatar Jani Nikula
Browse files

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: default avatarLucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: default avatarChaitanya Kumar Borah <chaitanya.kumar.borah@intel.com>
Link: https://lore.kernel.org/r/a12918f4d404e2d6d4e963126ce96df01d5064f3.1747907216.git.jani.nikula@intel.com


Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
parent 62384da2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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"
+1 −0
Original line number Diff line number Diff line
@@ -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"
+1 −0
Original line number Diff line number Diff line
// 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"
+1 −1
Original line number Diff line number Diff line
@@ -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"

+1 −0
Original line number Diff line number Diff line
@@ -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"
Loading