From: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> Let's move the PCH modeset stuff into its own file and provide a clean api for the higher level modeset code to use. Not quite sure about the file name though. Ideas welcome. Cc: Dave Airlie <airlied@xxxxxxxxxx> Cc: Jani Nikula <jani.nikula@xxxxxxxxx> Ville Syrjälä (9): drm/i915: Move PCH refclok stuff into its own file drm/i915: Move PCH modeset code to its own file drm/i915: Clean up the {ilk,lpt}_pch_enable() calling convention drm/i915: Move LPT PCH readout code drm/i915: Extract ilk_pch_get_config() drm/i915: Move iCLKIP readout to the pch code drm/i915: Introduce ilk_pch_disable() and ilk_pch_post_disable() drm/i915: Move intel_ddi_fdi_post_disable() to fdi code drm/i915: Introduce lpt_pch_disable() drivers/gpu/drm/i915/Makefile | 2 + drivers/gpu/drm/i915/display/intel_crt.c | 13 +- drivers/gpu/drm/i915/display/intel_ddi.c | 44 +- drivers/gpu/drm/i915/display/intel_ddi.h | 1 + drivers/gpu/drm/i915/display/intel_display.c | 1032 +---------------- drivers/gpu/drm/i915/display/intel_display.h | 14 +- .../drm/i915/display/intel_display_power.c | 1 + drivers/gpu/drm/i915/display/intel_dpll_mgr.c | 1 + drivers/gpu/drm/i915/display/intel_fdi.c | 136 +-- drivers/gpu/drm/i915/display/intel_fdi.h | 2 +- .../gpu/drm/i915/display/intel_pch_display.c | 501 ++++++++ .../gpu/drm/i915/display/intel_pch_display.h | 27 + .../gpu/drm/i915/display/intel_pch_refclk.c | 648 +++++++++++ .../gpu/drm/i915/display/intel_pch_refclk.h | 21 + drivers/gpu/drm/i915/i915_drv.c | 1 + 15 files changed, 1269 insertions(+), 1175 deletions(-) create mode 100644 drivers/gpu/drm/i915/display/intel_pch_display.c create mode 100644 drivers/gpu/drm/i915/display/intel_pch_display.h create mode 100644 drivers/gpu/drm/i915/display/intel_pch_refclk.c create mode 100644 drivers/gpu/drm/i915/display/intel_pch_refclk.h -- 2.32.0