[Intel-gfx] [PATCH v6 0/2] drm/i915: Ensure minimum CDCLK requirement for audio

Imre Deak imre.deak at intel.com
Mon Mar 18 14:34:33 UTC 2019


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 at linux.intel.com>
Signed-off-by: Abhay Kumar <abhay.kumar at intel.com>
Tested-by: Abhay Kumar <abhay.kumar at intel.com>
Signed-off-by: Imre Deak <imre.deak at intel.com>

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


More information about the Intel-gfx mailing list