From: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> Turns out the async flip wm0/ddb optimization doesn't work at all currently. Let's fix it. It also had problems with leaving SAGV on mistakenly but those were handled via a separate series since it was a more generic issue. Cc: Stanislav Lisovskiy <stanislav.lisovskiy@xxxxxxxxx> Ville Syrjälä (4): drm/i915: Don't skip ddb allocation if data_rate==0 drm/i915: Check async flip capability early on drm/i915: Fix the async flip wm0/ddb optimization drm/i915: Pimp async flip debugs drivers/gpu/drm/i915/display/intel_atomic.c | 1 + .../gpu/drm/i915/display/intel_atomic_plane.c | 5 +- drivers/gpu/drm/i915/display/intel_crtc.c | 4 +- drivers/gpu/drm/i915/display/intel_display.c | 180 ++++++++++++++---- .../drm/i915/display/intel_display_types.h | 6 +- drivers/gpu/drm/i915/intel_pm.c | 30 ++- 6 files changed, 158 insertions(+), 68 deletions(-) -- 2.34.1