This replaces [1] and [2]. The main changes since then: - A device link between i915 and HDA (added meanwhile as a separate change). - Split the CDCLK change to happen before or after any updates to the pipe depending on whether we're increasing or decreasing CDCLK. - Wait for vblank after an optimized CDCLK update. Abhay confirmed that the patchset fixes the audio issues his team saw due to too low CDCLK. [1] https://patchwork.freedesktop.org/patch/230817/?series=42459&rev=7 [2] https://patchwork.freedesktop.org/series/48763/ Signed-off-by: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> Signed-off-by: Abhay Kumar <abhay.kumar@xxxxxxxxx> Tested-by: Abhay Kumar <abhay.kumar@xxxxxxxxx> Signed-off-by: Imre Deak <imre.deak@xxxxxxxxx> Ville Syrjälä (2): drm/i915: Force 2*96 MHz cdclk on glk/cnl when audio power is enabled drm/i915: Skip modeset for cdclk changes if possible drivers/gpu/drm/i915/i915_drv.h | 6 +- drivers/gpu/drm/i915/i915_reg.h | 3 +- drivers/gpu/drm/i915/intel_audio.c | 68 ++++++++++++- drivers/gpu/drm/i915/intel_cdclk.c | 185 +++++++++++++++++++++++++---------- drivers/gpu/drm/i915/intel_display.c | 48 ++++++++- drivers/gpu/drm/i915/intel_drv.h | 18 +++- 6 files changed, 268 insertions(+), 60 deletions(-) -- 2.13.2 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx