From: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> Implement audio fastset. Probably mosy useful in avoiding some fastboot blinks, runtime audio fastset is less likely to be a typical use case. Also try to fix up a mess with pre_plane_update() vs. already disabled pipe. v2: Rebase Ville Syrjälä (11): drm/i915: Check pipe active state in {planes,vrr}_{enabling,disabling}() drm/i915: Call intel_pre_plane_updates() also for pipes getting enabled drm/i915: Polish some RMWs drm/i915: Push audio enable/disable further out drm/i915: Wrap g4x+ DP/HDMI audio enable/disable drm/i915: Split g4x+ DP audio presence detect from port enable drm/i915: Split g4x+ HDMI audio presence detect from port enable drm/i915: Convert audio enable/disable into encoder vfuncs drm/i915: Hoist the encoder->audio_{enable,disable}() calls higher up drm/i915: Push audio_{enable,disable}() to the pre/post pane update stage drm/i915: Implement audio fastset drivers/gpu/drm/i915/display/g4x_dp.c | 46 ++++++- drivers/gpu/drm/i915/display/g4x_hdmi.c | 66 +++++---- drivers/gpu/drm/i915/display/intel_ddi.c | 11 +- drivers/gpu/drm/i915/display/intel_display.c | 128 +++++++++++++----- .../drm/i915/display/intel_display_types.h | 6 + drivers/gpu/drm/i915/display/intel_dp_mst.c | 6 +- drivers/gpu/drm/i915/display/intel_sdvo.c | 23 +++- 7 files changed, 200 insertions(+), 86 deletions(-) -- 2.41.0