Skip to content

ALSA: HD-audio display power fixes

Takashi Iwai alsa-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 2 repliesIn review
  2. v17 patches 8 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7ALSA: hda/intel: Refactoring PM codesound/pci/hda/hda_intel.c+69 -910 replies
2/7ALSA: hda: Refactor display power managementinclude/sound/hda_codec.h include/sound/hda_component.h include/sound/hdaudio.h +8 more+63 -770 replies
3/7ALSA: hda/intel: Drop superfluous AZX_DCAPS_I915_POWERWELL checkssound/pci/hda/hda_controller.h sound/pci/hda/hda_intel.c+28 -510 replies
4/7ALSA: hda/intel: Properly free the display power at error pathsound/pci/hda/hda_intel.c+1 -10 replies
5/7ALSA: hda: Make snd_hdac_display_power() void functioninclude/sound/hda_component.h sound/hda/hdac_component.c sound/pci/hda/hda_intel.c +2 more+23 -660 replies
6/7ASoC: hdac_hdmi: Add missing display power-off at driver removalsound/soc/codecs/hdac_hdmi.c+2 -00 replies
7/7ALSA: hda/hdmi: Always set display_power_control for Intel HSW+ codecssound/pci/hda/patch_hdmi.c+1 -50 replies

Reviews trailers per patch

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

PatchMark Brown
1/7
2/7
3/7
4/7
5/7
6/7A-b
7/7

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

Read the v2 thread

Cover letter [PATCH v2 0/7] ALSA: HD-audio display power fixes

Hi,

this patch a revised patchset for fixing possible HD-audio display power unbalance.
Basically the "fix" is done by refactoring the whole relevant code. It starts from the Intel HD-audio runtime PM refactoring, followed by the display PM API change, and lots of code cleanups.

Since it changes the display power API function, it hits both legacy and ASoC drivers.

The patches are kept in topic/hda-pm-refactor branch of my sound git tree. This will be an immutable branch once when merged to for-next, so that it can be merged to ASoC tree if any conflicting change needs to be applied.

The major change in v2 series is the complete removal of AZX_DCAPS_I915_POWERWELL flag in patch#3, and other minor fixes suggested by Pierre.

Takashi

===

Takashi Iwai (7):
ALSA: hda/intel: Refactoring PM code
ALSA: hda: Refactor display power management
ALSA: hda/intel: Drop superfluous AZX_DCAPS_I915_POWERWELL checks
ALSA: hda/intel: Properly free the display power at error path
ALSA: hda: Make snd_hdac_display_power() void function
ASoC: hdac_hdmi: Add missing display power-off at driver removal
ALSA: hda/hdmi: Always set display_power_control for Intel HSW+ codecs

 include/sound/hda_codec.h      |   1 +
 include/sound/hda_component.h  |  11 +-
 include/sound/hdaudio.h        |   7 +-
 sound/hda/hdac_component.c     |  39 +++---
 sound/hda/hdac_device.c        |  17 ---
 sound/pci/hda/hda_codec.c      |  16 ++-
 sound/pci/hda/hda_controller.c |  11 --
 sound/pci/hda/hda_controller.h |   6 +-
 sound/pci/hda/hda_intel.c      | 220 +++++++++++++--------------------
 sound/pci/hda/patch_hdmi.c     |   8 +-
 sound/soc/codecs/hdac_hdmi.c   |  24 +---
 sound/soc/intel/skylake/skl.c  |  40 ++----
 12 files changed, 148 insertions(+), 252 deletions(-)
Signature · 1 line
2.19.2