The state verification and pipe config comparison/dumping are fairly isolated pieces of code within intel_display.c. Move them to separate files in a long overdue cleanup. Jani Nikula (7): drm/i915/wm: move wm state verification to intel_pm.c drm/i915/dpll: move shared dpll state verification to intel_dpll_mgr.c drm/i915/mpllb: use I915_STATE_WARN() for state mismatch warnings drm/i915/mpllb: move mpllb state check to intel_snps_phy.c drm/i915/display: split out modeset verification code drm/i915/display: split out pipe config compare to a separate file drm/i915/display: split out pipe config dump to a separate file drivers/gpu/drm/i915/Makefile | 3 + drivers/gpu/drm/i915/display/intel_display.c | 1373 +---------------- drivers/gpu/drm/i915/display/intel_display.h | 3 + drivers/gpu/drm/i915/display/intel_dpll_mgr.c | 88 ++ drivers/gpu/drm/i915/display/intel_dpll_mgr.h | 5 + .../drm/i915/display/intel_modeset_verify.c | 247 +++ .../drm/i915/display/intel_modeset_verify.h | 21 + .../i915/display/intel_pipe_config_compare.c | 581 +++++++ .../i915/display/intel_pipe_config_compare.h | 17 + .../drm/i915/display/intel_pipe_config_dump.c | 314 ++++ .../drm/i915/display/intel_pipe_config_dump.h | 16 + drivers/gpu/drm/i915/display/intel_snps_phy.c | 43 + drivers/gpu/drm/i915/display/intel_snps_phy.h | 5 +- drivers/gpu/drm/i915/intel_pm.c | 138 +- drivers/gpu/drm/i915/intel_pm.h | 14 +- 15 files changed, 1482 insertions(+), 1386 deletions(-) create mode 100644 drivers/gpu/drm/i915/display/intel_modeset_verify.c create mode 100644 drivers/gpu/drm/i915/display/intel_modeset_verify.h create mode 100644 drivers/gpu/drm/i915/display/intel_pipe_config_compare.c create mode 100644 drivers/gpu/drm/i915/display/intel_pipe_config_compare.h create mode 100644 drivers/gpu/drm/i915/display/intel_pipe_config_dump.c create mode 100644 drivers/gpu/drm/i915/display/intel_pipe_config_dump.h -- 2.30.2