[Intel-gfx] [RFC PATCH 0/5] DisplayPort Audio on Cherrytrail

Pierre-Louis Bossart pierre-louis.bossart at linux.intel.com
Thu Jan 26 20:05:36 UTC 2017

The following patches enable DisplayPort Audio on Cherrytrail machines
when applied on top of Takashi's topic/intel-lpe-audio branch (tested
on Zotac PI330)

There are a couple of opens where I could use some help:
 - is it necessary to set a valid_bit which is used only for DP audio?
 - is the sequence to set the chicken bits and unmute the amplifier ok or
can it be improved by being moved somewhere else in the i915 driver?
 - the register offset to be used by the audio driver depends on a
combination of port/pipe/output type. Do we need to get access to the
pipe information and when is it available (initial trials showed the
pipe is still invalid when the audio notification happens)

Feedback welcome!

Pierre-Louis Bossart (5):
  drm: i915: add DP support in LPE audio mode
  ALSA: x86: intel_hdmi: add definitions and logic for DP audio
  ALSA: x86: intel_hdmi: set config bitfields for DP mode
  drm: i915: add DisplayPort amp unmute for LPE audio mode
  ALSA: x86: hdmi: hack to enable DP audio on CHT

 drivers/gpu/drm/i915/i915_drv.h        |   3 +-
 drivers/gpu/drm/i915/i915_reg.h        |  12 +++
 drivers/gpu/drm/i915/intel_audio.c     |  19 +++-
 drivers/gpu/drm/i915/intel_lpe_audio.c |  34 ++++++-
 include/drm/intel_lpe_audio.h          |   2 +
 sound/x86/intel_hdmi_audio.c           | 174 ++++++++++++++++++++++++++++-----
 sound/x86/intel_hdmi_audio.h           |   8 +-
 sound/x86/intel_hdmi_lpe_audio.c       |  44 ++++++++-
 sound/x86/intel_hdmi_lpe_audio.h       |  29 ++++++
 9 files changed, 288 insertions(+), 37 deletions(-)


More information about the Intel-gfx mailing list