[Bug 89419] [SKL][Audio][HD-A Display]: Can't detect Display audio codec if not connect HDMI and DP monitor when boot up

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Mar 25 05:15:16 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=89419

--- Comment #17 from Imre Deak <imre.deak at intel.com> ---
Hi,

(In reply to Libin Yang from comment #15)
> Hi Imre,
> 
> Based on my experience, EM4/5 impacts on the playback speed, I don't think
> it will impact on the audio codec detection. (Actually before we detect HDMI
> codec, we will never touch such registers)

What I meant is that the EM4/5 registers do not exist on SKL. Adding simply the
AZX_DCAPS_I915_POWERWELL flag to AZX_DCAPS_INTEL_SKYLAKE would result in
programming these registers also on SKL, which is incorrect, so that
programming needs to be avoided.

> For the power well, yes, we need set the power well before HDMI codec
> detection. And the audio driver does do it already.

It didn't do it, you need to set AZX_DCAPS_I915_POWERWELL for that.

> After power well on, we will do the HDMI codec detection. We won't power off
> the power well before HDMI codec detection.
> 
> BTW: I have asked the BIOS team about this issue. They told me that we
> should:
> 1. update the BIOS to latest (we have already done)
> 2. update the gfx driver to latest(windows). So I believe that BIOS may have
> changed some interfaces with gfx for this issue. Maybe we missed the change?

I'm not aware of any other interaction between the gfx and sound driver besides
what is done via the i915/audio component framework. For SKL in practice this
means turning on and off power well 2. I still suspect that after turning power
well 2 off then back on (this sequence actually happens based on the attached
dmesg) some of the audio HW state gets reset and is not reinitialized properly.
I would probably start enabling debugging in the sound driver and see where the
detection fails.

(In reply to Libin Yang from comment #16)
> Hi Imre,
> 
> I found SKL doesn't apply the powerwell flag. I will test by adding the flag
> although it shouldn't add the flag here. Will update the test result later.

Not sure what you mean here. The sound driver needs to turn on/off its
dependent power well (power well 2 in case of SKL), and it does this on
platforms with the AZX_DCAPS_I915_POWERWELL flag set. So the flag needs to be
set for SKL.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20150325/eb373e2c/attachment.html>


More information about the intel-gfx-bugs mailing list