On Fri, Apr 11, 2025 at 12:54:12PM +0300, Jani Nikula wrote:
From: Rodrigo Vivi <rodrigo.v...@intel.com>

Now that intel_pch lives under display, let's begin its
conversion towards struct intel_display.

Move the pch_type to inside intel_display and convert the
callers.

While doing it, sort intel_display_core.h include list
alphabetically.

Signed-off-by: Rodrigo Vivi <rodrigo.v...@intel.com>
Reviewed-by: Jani Nikula <jani.nik...@intel.com>
Signed-off-by: Jani Nikula <jani.nik...@intel.com>
---
.../gpu/drm/i915/display/intel_display_core.h |   6 +-
drivers/gpu/drm/i915/display/intel_pch.c      | 242 +++++++++---------
drivers/gpu/drm/i915/display/intel_pch.h      |  40 +--
drivers/gpu/drm/i915/i915_driver.c            |   2 +-
drivers/gpu/drm/i915/i915_drv.h               |   3 -
drivers/gpu/drm/xe/display/xe_display.c       |   2 +-
drivers/gpu/drm/xe/xe_device_types.h          |   1 -
7 files changed, 155 insertions(+), 141 deletions(-)

diff --git a/drivers/gpu/drm/i915/display/intel_display_core.h 
b/drivers/gpu/drm/i915/display/intel_display_core.h
index eb6d6f2d0f75..48e47f0fd8b7 100644
--- a/drivers/gpu/drm/i915/display/intel_display_core.h
+++ b/drivers/gpu/drm/i915/display/intel_display_core.h
@@ -21,12 +21,13 @@
#include "intel_display_limits.h"
#include "intel_display_params.h"
#include "intel_display_power.h"
+#include "intel_dmc_wl.h"
#include "intel_dpll_mgr.h"
#include "intel_fbc.h"
#include "intel_global_state.h"
#include "intel_gmbus.h"
#include "intel_opregion.h"
-#include "intel_dmc_wl.h"
+#include "intel_pch.h"

why not merging intel_pch and intel_pch_display? Now that both are
under display/, there isn't much reason for the split, is there?

Lucas De Marchi

Reply via email to