This version splits the original patch into simpler units. The intention is to check for squashing, crawling conditions at atomic check phase and prepare for commit phase. This basically means the in-flight cdclk state is available. intel_cdclk_can_squash(), intel_cdclk_can_crawl() and intel_cdclk_needs_modeset() have changes to accommodate this. v2: Introduce intel_cdclk_modeset() instead of cramming all changes into intel_cdclk_needs_modeset(). Cc: Stanislav Lisovskiy <stanislav.lisovskiy@xxxxxxxxx> Anusha Srivatsa (5): drm/i915/display: Add CDCLK actions to intel_cdclk_state drm/i915/display: s/intel_cdclk_can_squash/intel_cdclk_squash drm/i915/display: s/intel_cdclk_can_crawl/intel_cdclk_crawl drm/i915/display: Add drm_i915_private to intel_cdclk_needs_modeset() drm/i915/display: Add cdclk checks to atomic check drivers/gpu/drm/i915/display/intel_cdclk.c | 172 +++++++++++------- drivers/gpu/drm/i915/display/intel_cdclk.h | 16 +- .../drm/i915/display/intel_display_power.c | 2 +- 3 files changed, 125 insertions(+), 65 deletions(-) -- 2.25.1