<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - [BDW][Audio][HD-A Display] DP/HDMI audio playback abnormal"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=91410#c19">Comment # 19</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - [BDW][Audio][HD-A Display] DP/HDMI audio playback abnormal"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=91410">bug 91410</a>
              from <span class="vcard"><a class="email" href="mailto:anarsoul@gmail.com" title="Vasily Khoruzhick <anarsoul@gmail.com>"> <span class="fn">Vasily Khoruzhick</span></a>
</span></b>
        <pre>(In reply to Vasily Khoruzhick from <a href="show_bug.cgi?id=91410#c18">comment #18</a>)
<span class="quote">> (In reply to Lu, Han from <a href="show_bug.cgi?id=91410#c12">comment #12</a>)
> > Hi Vasily,
> > 
> > The issue is reproduced in our BDW NUC too.
> > I applied the "diagnose.patch" and check the dmesg, the cdclock received by
> > audio changes when issue happens:
> > in normal case, cdclock = 337.5MHz;
> > when issue happened, cdclock = 540MHz.
> > 
> > Could you please double check on your platform, through either intel_reg
> > read or dmesg, to see if we observed the same issue? Sorry I have no Lenovo
> > Carbon X1 gen3 laptop on my hand.

> Hi Lu,

> I always get cdclock = 675000. It always fails for me, it doesn't depend on
> whether system was suspended or not. 

> Probably snd_hdac_get_display_clk() returns incorrect value?</span >

# intel_reg read 0x130040
                                    (0x00130040): 0x48000000


(0x48000000 & LCPLL_CLK_FREQ_MASK) = 0x8000000 = LCPLL_CLK_FREQ_337_5_BDW

How come it returns 675000 from broadwell_get_display_clock_speed()?:

<a href="https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/drivers/gpu/drm/i915/intel_display.c?h=linux-4.4.y#n6788">https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/drivers/gpu/drm/i915/intel_display.c?h=linux-4.4.y#n6788</a></pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>