Skip to content

DisplayPort audio support on Cherrytrail

Takashi Iwai alsa-devel intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 10 repliesIn review

Changes since RFC from the cover letter

- reordered and squashed patches
- clean-up of register definitions and offsets (based on feedback from Jani/Ville)
- unmute amp for both HDMI and DP unconditionally
- mute amp on invalid ELD (unplug)
- remove test for chicken bit which seems to have no effect in hardware
- cosmetic edits to make checkpatch happy
- change i915 notification argument to pass the plataform device instead

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7drm/i915: add DP support in LPE audio modedrivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/intel_audio.c drivers/gpu/drm/i915/intel_lpe_audio.c +1 more+25 -60 replies
2/7drm/i915: add DisplayPort amp unmute for LPE audio modedrivers/gpu/drm/i915/i915_reg.h drivers/gpu/drm/i915/intel_lpe_audio.c+27 -07 replies
3/7drm/i915: Avoid MST pipe handling for LPE audiodrivers/gpu/drm/i915/intel_audio.c+11 -100 replies
4/7drm/i915: Pass pipe to LPE audio notificationdrivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/intel_audio.c drivers/gpu/drm/i915/intel_lpe_audio.c +1 more+7 -50 replies
5/7ALSA: x86: intel_hdmi: add definitions and logic for DP audiosound/x86/intel_hdmi_audio.c sound/x86/intel_hdmi_audio.h sound/x86/intel_hdmi_lpe_audio.c +1 more+216 -300 replies
6/7ALSA: x86: Use config base depending on the pipesound/x86/intel_hdmi_lpe_audio.c+21 -50 replies
7/7drm/i915: Pass platform device to LPE audio notifierdrivers/gpu/drm/i915/intel_lpe_audio.c include/drm/intel_lpe_audio.h sound/x86/intel_hdmi_lpe_audio.c+15 -150 replies

Reviews trailers per patch

1 of 7 patches has a Reviewed-by or Acked-by.

PatchVille Syrjälä
1/7
2/7A-b A-b
3/7
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/7] DisplayPort audio support on Cherrytrail

Hi,

the following patches enable DisplayPort Audio on Cherrytrail machines when applied on top of my topic/intel-lpe-audio branch. Tests of DP audio were run on Dell Wyse 3040. The regression test were performed on Baytrail (Compute Stick) and Cherrytrail (Zotac PI330) in HDMI mode. On Cherrytrail there were no issues changing between HDMI and DP connectors dynamically.

Could you i915 people review and give ACK if they are OK? The changes in drm/i915 side are fairly trivial, so I'd like to take them through sound git tree once after I receive your ACKs.

Changes since RFC:
- reordered and squashed patches
- clean-up of register definitions and offsets (based on feedback from Jani/Ville)
- unmute amp for both HDMI and DP unconditionally
- mute amp on invalid ELD (unplug)
- remove test for chicken bit which seems to have no effect in hardware
- cosmetic edits to make checkpatch happy
- change i915 notification argument to pass the plataform device instead

Most of hard work in this patchset has been done by Pierre, so all credits go to him.

thanks,

Takashi

===

Pierre-Louis Bossart (4):
drm/i915: add DP support in LPE audio mode drm/i915: add DisplayPort amp unmute for LPE audio mode
ALSA: x86: intel_hdmi: add definitions and logic for DP audio
ALSA: x86: Use config base depending on the pipe

Takashi Iwai (3):
drm/i915: Avoid MST pipe handling for LPE audio drm/i915: Pass pipe to LPE audio notification drm/i915: Pass platform device to LPE audio notifier

 drivers/gpu/drm/i915/i915_drv.h        |   3 +-
 drivers/gpu/drm/i915/i915_reg.h        |  10 ++
 drivers/gpu/drm/i915/intel_audio.c     |  38 +++++---
 drivers/gpu/drm/i915/intel_lpe_audio.c |  28 +++++-
 include/drm/intel_lpe_audio.h          |   7 +-
 sound/x86/intel_hdmi_audio.c           | 173 ++++++++++++++++++++++++++++-----
 sound/x86/intel_hdmi_audio.h           |   8 +-
 sound/x86/intel_hdmi_lpe_audio.c       |  83 ++++++++++++----
 sound/x86/intel_hdmi_lpe_audio.h       |  29 ++++++
 9 files changed, 315 insertions(+), 64 deletions(-)
Signature · 6 lines
2.11.0

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx