> -----Original Message----- > From: Kandpal, Suraj <suraj.kandpal@xxxxxxxxx> > Sent: Tuesday, February 11, 2025 4:19 PM > To: intel-xe@xxxxxxxxxxxxxxxxxxxxx; intel-gfx@xxxxxxxxxxxxxxxxxxxxx > Cc: Nautiyal, Ankit K <ankit.k.nautiyal@xxxxxxxxx>; Nikula, Jani > <jani.nikula@xxxxxxxxx>; Kandpal, Suraj <suraj.kandpal@xxxxxxxxx> > Subject: [PATCH 0/9] drm_i915_private to intel_display cleanup > > This series started as a cleanup to convert as many drm_i915_private to > intel_display in intel_display_debug_fs but overflowed and ended up > cleaning intel_dpll_mgr.c part of the code too and some other places calling > these functions. This series also replaces IS_PLATFORM() with display- > >platform.xx to reduce drm_i915_private usage. > Some stuff that kept me from removing i915_private altogether were PCH > checks. > > --v2 > -Rebase > > Signed-off-by: Suraj Kandpal <suraj.kandpal@xxxxxxxxx> Thanks for the reviews pushed to din Regards, Suraj Kandpal > > Suraj Kandpal (9): > drm/i915/display_debug_fs: Use intel_display wherever possible > drm/i915/display_debug_fs: Prefer using display->platform > drm/i915/dpll: Change param to intel_display in for_each_shared_dpll > drm/i915/dpll: Use intel_display for dpll dump and compare hw state > drm/i915/dpll: Use intel_display possible in shared_dpll_mgr hooks > drm/i915/dpll: Use intel_display for asserting pll > drm/i915/dpll: Use intel_display for update_refclk hook > drm/i915/dpll: Accept intel_display as argument for shared_dpll_init > drm/i915/dpll: Replace all other leftover drm_i915_private > > .../drm/i915/display/intel_crtc_state_dump.c | 3 +- > drivers/gpu/drm/i915/display/intel_ddi.c | 130 +-- > drivers/gpu/drm/i915/display/intel_display.c | 30 +- > .../drm/i915/display/intel_display_debugfs.c | 173 +-- > .../drm/i915/display/intel_display_driver.c | 4 +- > .../i915/display/intel_display_power_well.c | 13 +- > drivers/gpu/drm/i915/display/intel_dkl_phy.c | 54 +- > drivers/gpu/drm/i915/display/intel_dkl_phy.h | 9 +- > drivers/gpu/drm/i915/display/intel_dpll.c | 11 +- > drivers/gpu/drm/i915/display/intel_dpll.h | 5 +- > drivers/gpu/drm/i915/display/intel_dpll_mgr.c | 1011 ++++++++--------- > drivers/gpu/drm/i915/display/intel_dpll_mgr.h | 27 +- > drivers/gpu/drm/i915/display/intel_fdi.c | 16 +- > drivers/gpu/drm/i915/display/intel_fdi.h | 7 +- > drivers/gpu/drm/i915/display/intel_lvds.c | 7 +- > .../drm/i915/display/intel_modeset_setup.c | 4 +- > .../gpu/drm/i915/display/intel_pch_display.c | 45 +- > .../gpu/drm/i915/display/intel_pch_refclk.c | 36 +- > drivers/gpu/drm/i915/display/vlv_dsi_pll.c | 12 +- > drivers/gpu/drm/i915/display/vlv_dsi_pll.h | 10 +- > 20 files changed, 799 insertions(+), 808 deletions(-) > > -- > 2.34.1