ALSA: hda - Enable audio component for old Intel PCH devices
authorTakashi Iwai <tiwai@suse.de>
Tue, 1 Dec 2015 15:49:35 +0000 (16:49 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 4 Dec 2015 15:03:45 +0000 (16:03 +0100)
commit6603249dcdbb6aab0b726bdf372d6f20c0d2d611
tree087c3fef112b86886563f88aefe8974ca5e47be5
parente90247f9fceeebe5bdaac2d87e301e73bae9bc1f
ALSA: hda - Enable audio component for old Intel PCH devices

As i915 graphics driver provides the notification via audio component,
not only the currently implemented HSW+ and VLV+ platforms but also
all other PCH-based platforms (e.g. Cougar Point, Panther  Point, etc)
can use this infrastructure.  It'll improve the reliability and the
power consumption significantly, especially once when we implement the
ELD notification via component.  As a preliminary, this patch enables
the usage of audio component for all PCH platforms.

The HDA controller just needs to set AZX_DCAPS_I915_POWERWELL flag
appropriately.  The name of the flag is a bit confusing, but this
actually works even on the chips without the powerwell but accesses
only the other component ops.

In the HDMI/DP codec driver side, we just need to register/unregister
the notifier for such chips.  This can be identified by checking the
audio_component field in the assigned hdac_bus.

One caveat is that PCH for Haswell and Broadwell must not be bound
with i915 audio component, as there are dedicated HD-audio HDMI
controllers on these platforms.  Ditto for Poulsbo and Oaktrail as
they use gma500 graphics, not i915.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_intel.c
sound/pci/hda/patch_hdmi.c
This page took 0.031539 seconds and 5 git commands to generate.