[Intel-gfx] [PATCH 00/11] drm/i915: LPE audio runtime PM and multipipe

ville.syrjala at linux.intel.com ville.syrjala at linux.intel.com
Tue Apr 25 20:27:19 UTC 2017


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

I was wondering why my VLV no longer runtime suspended, and after some
thinking I decided it had to be the LPE audio preventing it. Turns out
I was right, so here's my attempt at fixing it.

And while looking at the code I couldn't help but notice that it
couldn't actually handle multiple pipes playing back audio at the
same time. And even having multiple displays active even if only
one was playing audio was probably a recipe for failure. So I
tried to fix that by registering a separate PCM device for each
pipe.

Note that the patch subjects may not reflect the subsystem
very well since most of these straddle the border between drm
and alsa. I think I just slapped on drm/i915 to most where
there was no clear winner.

Entire series available here:
git://github.com/vsyrjala/linux.git lpe_audio_multipipe

Cc: Takashi Iwai <tiwai at suse.de>
Cc: Pierre-Louis Bossart <pierre-louis.bossart at linux.intel.com>

Ville Syrjälä (11):
  drm/i915: Fix runtime PM for LPE audio
  ALSA: x86: Clear the pdata.notify_lpe_audio pointer before teardown
  drm/i915: Stop pretending to mask/unmask LPE audio interrupts
  drm/i915: Remove the unsued pending_notify from LPE platform data
  drm/i915: Replace tmds_clock_speed and link_rate with just ls_clock
  drm/i915: Remove hdmi_connected from LPE audio pdata
  drm/i915: Reorganize intel_lpe_audio_notify() arguments
  drm/i915: Clean up the LPE audio platform data
  ALSA: x86: Prepare LPE audio ctls for multiple PCMs
  ALSA: x86: Split snd_intelhad into card and PCM specific structures
  ALSA: x86: Register multiple PCM devices for the LPE audio card

 drivers/gpu/drm/i915/i915_drv.h        |   4 +-
 drivers/gpu/drm/i915/i915_irq.c        |  15 +-
 drivers/gpu/drm/i915/intel_audio.c     |  19 +--
 drivers/gpu/drm/i915/intel_lpe_audio.c |  95 ++++-------
 include/drm/intel_lpe_audio.h          |  20 ++-
 sound/x86/intel_hdmi_audio.c           | 288 +++++++++++++++++++--------------
 sound/x86/intel_hdmi_audio.h           |  17 +-
 7 files changed, 230 insertions(+), 228 deletions(-)

-- 
2.10.2



More information about the Intel-gfx mailing list