** Description changed:

- This bug is for tracking purpose.
+ The fix is already in the upstream from linux-5.6-rc, so only focal
+ kernel need this patch.
+ 
+ [Impact]
+ When we boot the focal kernel on the cml or cfl machines without
+ HDMI/DP codec, the sof driver fails to initialize, and the whole
+ audio fails to work.
+ 
+ [Fix]
+ Refer to an upstream commit, we move the codec_probe_bus() ahead
+ of creation of audio mach device.
+ 
+ [Test]
+ Tested the patched kernel on the cml and cfl machines, if
+ they have hdmi/dp codec, the audio works as well as before, if
+ they don't have hdmi/dp codec, the analog audio still work with
+ sof driver.
+ 
+ Also tested on TGL machines, the i915 driver in the focal kernel
+ can't work on the TGL machines, this will make the i915 codec probe
+ fail, with the patched kernel, the analog audio still work on the
+ TGL machines. Without this patch, the whole audio will fail on
+ the TGL machines with focal kernel.
+ 
+ 
+ [Where problems could occur]
+ this patch moves the codec probing ahead, it could make the codec
+ probing fail, then the whole audio will fail no matter with or without
+ i915 codec. But this possibility is very low, I tested the patched
+ kernel on many machines, all worked well.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1927672

Title:
  alsa/sof: make sof driver work in the case of without i915 (focal
  kernel)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1927672/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to