-
Notifications
You must be signed in to change notification settings - Fork 140
ALSA: hda: intel-dsp-config: add PCI id for TGL-H #2665
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
xiulipan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
xiulipan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bardliao maybe also a quick clean up for EHL?
Currently, SOF is the only audio driver which supports TGL or EHL platforms. So we should select SOF driver unconditionally. Fixes: 82d9d54 ('ALSA: hda: add Intel DSP configuration / probe code') Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Adding PCI id for TGL-H and SOF will be the default audio driver. Signed-off-by: Bard Liao <bard.liao@intel.com>
xiulipan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the fix.
|
@bardliao @xiulipan @libinyang I'm afraid this is not quite correct. Even for TGL, EHL and newer, the legacy driver should still be the default, unless Soundwire or DMIC is detected. |
|
@mengdonglin @plbossart Any clarify here? On TGL+ platforms, will SOF be default or SOF only if DMIC and SDW. |
@kv2019i Oops, I forgot legacy HDA driver. Can we revert 7c86362? |
|
The fixup PR is #2672. I am thinking someday we may need to detect I2S as well since SOF will be the default if I2S is using. |
plbossart
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Revert needed!
| }, | ||
| { | ||
| .flags = FLAG_SOF | FLAG_SOF_ONLY_IF_DMIC_OR_SOUNDWIRE, | ||
| .device = 0xa0c8, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No that's not correct. If we don't have DMIC/SoundWire, and it's not a Chromebook, then we want to use the legacy HDaudio driver.
The Chromebook does not rely on NHLT so the DMIC detection will fail, so it needs a dedicated quirk.
This needs to be reverted IMHO.
| { | ||
| .flags = FLAG_SOF, | ||
| .device = 0x43c8, | ||
| }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same comment as above, this will unconditionally select SOF. This is not what we want.
SOF driver will be selected if DMIC or SoundWire is used.
Signed-off-by: Bard Liao bard.liao@intel.com
Fixes: #2661