* [PATCH 0/2] Add ID and patches for Intel BXT
@ 2015-11-19 15:25 han.lu
2015-11-19 15:25 ` [PATCH 1/2] ALSA: hda - add PCI IDs for Intel Broxton han.lu
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: han.lu @ 2015-11-19 15:25 UTC (permalink / raw)
To: tiwai, libin.yang, mengdong.lin, han.lu, alsa-devel; +Cc: Lu, Han
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(-)
--
2.5.0
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/2] ALSA: hda - add PCI IDs for Intel Broxton
2015-11-19 15:25 [PATCH 0/2] Add ID and patches for Intel BXT han.lu
@ 2015-11-19 15:25 ` han.lu
2015-11-19 15:25 ` [PATCH 2/2] ALSA: hda - apply SKL display power request/release patch to BXT han.lu
2015-11-19 15:43 ` [PATCH 0/2] Add ID and patches for Intel BXT Takashi Iwai
2 siblings, 0 replies; 4+ messages in thread
From: han.lu @ 2015-11-19 15:25 UTC (permalink / raw)
To: tiwai, libin.yang, mengdong.lin, han.lu, alsa-devel; +Cc: Lu, Han
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 },
--
2.5.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] ALSA: hda - apply SKL display power request/release patch to BXT
2015-11-19 15:25 [PATCH 0/2] Add ID and patches for Intel BXT han.lu
2015-11-19 15:25 ` [PATCH 1/2] ALSA: hda - add PCI IDs for Intel Broxton han.lu
@ 2015-11-19 15:25 ` han.lu
2015-11-19 15:43 ` [PATCH 0/2] Add ID and patches for Intel BXT Takashi Iwai
2 siblings, 0 replies; 4+ messages in thread
From: han.lu @ 2015-11-19 15:25 UTC (permalink / raw)
To: tiwai, libin.yang, mengdong.lin, han.lu, alsa-devel; +Cc: Lu, Han
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)) {
--
2.5.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 0/2] Add ID and patches for Intel BXT
2015-11-19 15:25 [PATCH 0/2] Add ID and patches for Intel BXT han.lu
2015-11-19 15:25 ` [PATCH 1/2] ALSA: hda - add PCI IDs for Intel Broxton han.lu
2015-11-19 15:25 ` [PATCH 2/2] ALSA: hda - apply SKL display power request/release patch to BXT han.lu
@ 2015-11-19 15:43 ` Takashi Iwai
2 siblings, 0 replies; 4+ messages in thread
From: Takashi Iwai @ 2015-11-19 15:43 UTC (permalink / raw)
To: han.lu; +Cc: libin.yang, mengdong.lin, alsa-devel, han.lu
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
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-11-19 15:43 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-19 15:25 [PATCH 0/2] Add ID and patches for Intel BXT han.lu
2015-11-19 15:25 ` [PATCH 1/2] ALSA: hda - add PCI IDs for Intel Broxton han.lu
2015-11-19 15:25 ` [PATCH 2/2] ALSA: hda - apply SKL display power request/release patch to BXT han.lu
2015-11-19 15:43 ` [PATCH 0/2] Add ID and patches for Intel BXT Takashi Iwai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).