[alsa-devel] [PATCH 0/2] Add ID and patches for Intel BXT
From: "Lu, Han" han.lu@intel.com
Add PCI ID for Intel BXT(Broxton) platform, and add necessary patches for the new platform.
Lu, Han (2): ALSA: hda - add PCI IDs for Intel Broxton ALSA: hda - apply SKL display power request/release patch to BXT
sound/pci/hda/hda_intel.c | 7 +++++++ sound/pci/hda/patch_hdmi.c | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-)
From: "Lu, Han" han.lu@intel.com
Add HD Audio Device PCI ID for the Intel Broxton platform. It is an HDA Intel PCH controller.
Signed-off-by: Lu, Han han.lu@intel.com
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index 8a7fbdc..963f824 100644 --- a/sound/pci/hda/hda_intel.c +++ b/sound/pci/hda/hda_intel.c @@ -312,6 +312,10 @@ enum { (AZX_DCAPS_INTEL_PCH | AZX_DCAPS_SEPARATE_STREAM_TAG |\ AZX_DCAPS_I915_POWERWELL)
+#define AZX_DCAPS_INTEL_BROXTON \ + (AZX_DCAPS_INTEL_PCH | AZX_DCAPS_SEPARATE_STREAM_TAG |\ + AZX_DCAPS_I915_POWERWELL) + /* quirks for ATI SB / AMD Hudson */ #define AZX_DCAPS_PRESET_ATI_SB \ (AZX_DCAPS_NO_TCSEL | AZX_DCAPS_SYNC_WRITE | AZX_DCAPS_POSFIX_LPIB |\ @@ -2124,6 +2128,9 @@ static const struct pci_device_id azx_ids[] = { /* Sunrise Point-LP */ { PCI_DEVICE(0x8086, 0x9d70), .driver_data = AZX_DRIVER_PCH | AZX_DCAPS_INTEL_SKYLAKE }, + /* Broxton-P(Apollolake) */ + { PCI_DEVICE(0x8086, 0x5a98), + .driver_data = AZX_DRIVER_PCH | AZX_DCAPS_INTEL_BROXTON }, /* Haswell */ { PCI_DEVICE(0x8086, 0x0a0c), .driver_data = AZX_DRIVER_HDMI | AZX_DCAPS_INTEL_HASWELL },
From: "Lu, Han" han.lu@intel.com
For SKL, only the HDMI codec is in the display power well while the HD-A controller isn't. So the codec flag 'link_power_control' is set to request/release the display power via bus link_power ops. For BXT, the power well design is the same as SKL, so the patch should be applied to BXT too.
Signed-off-by: Lu, Han han.lu@intel.com
diff --git a/sound/pci/hda/patch_hdmi.c b/sound/pci/hda/patch_hdmi.c index 309274b..aa68db6 100644 --- a/sound/pci/hda/patch_hdmi.c +++ b/sound/pci/hda/patch_hdmi.c @@ -2375,7 +2375,8 @@ static int patch_generic_hdmi(struct hda_codec *codec) * can cover the codec power request, and so need not set this flag. * For previous platforms, there is no such power well feature. */ - if (is_valleyview_plus(codec) || is_skylake(codec)) + if (is_valleyview_plus(codec) || is_skylake(codec) || + is_broxton(codec)) codec->core.link_power_control = 1;
if (is_haswell_plus(codec) || is_valleyview_plus(codec)) {
On Thu, 19 Nov 2015 16:25:11 +0100, han.lu@intel.com wrote:
From: "Lu, Han" han.lu@intel.com
Add PCI ID for Intel BXT(Broxton) platform, and add necessary patches for the new platform.
Lu, Han (2): ALSA: hda - add PCI IDs for Intel Broxton ALSA: hda - apply SKL display power request/release patch to BXT
Applied both patches. Thanks.
Takashi
sound/pci/hda/hda_intel.c | 7 +++++++ sound/pci/hda/patch_hdmi.c | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-)
-- 2.5.0
Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
participants (2)
-
han.lu@intel.com
-
Takashi Iwai