From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 98897] Macbook pro 11,5 screen flicker when AC adapter plugged in Date: Sat, 03 Dec 2016 16:44:06 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0069349036==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 785B36E131 for ; Sat, 3 Dec 2016 16:44:06 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0069349036== Content-Type: multipart/alternative; boundary="14807834460.dDd7.1127"; charset="UTF-8" --14807834460.dDd7.1127 Date: Sat, 3 Dec 2016 16:44:06 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D98897 --- Comment #12 from Tom B --- Apologies for repeated comments. According to http://www.anandtech.com/show/9276/2015-15inch-retina-macbook-pros-dgpu-r9-= m370x-is-cape-verde (someone else running the same GPU on windows with catalyst driver) The clock speeds are: GPU: 800mhz Memory: 1125mhz I'm not sure how that correlates to the speeds in the patch you listed: + max_sclk =3D 75000; + max_mclk =3D 80000; What is the difference between sclk and mclk? If mclk is memory clock (as suggested here: http://askubuntu.com/questions/569085/radeon-pm-info-what-are-vclk-dclk-scl= k-mclk-vddc-and-vddci ) that looks way of but if it's GPU clock then 80000 (assuming 80000 means 800mhz) is correct but then I don't know what the memory clock is or how to work it out.=20 radon_pm_info does show seemingly correct information that tallies with the patch above uvd vclk: 0 dclk: 0 power level 0 sclk: 30000 mclk: 30000 vddc: 900 vddci: 850 pcie gen: 3 It shows the same in both battery and performance mode and seems to be work= ing correctly. In performance mode if I run a GPU intensive program such as inigine-heaven the power level, as expected, changes: uvd vclk: 0 dclk: 0 power level 4 sclk: 75000 mclk: 80000 vddc: 1025 vddci: 900 pcie gen: 3 Interestingly, when the GPU is running at power level 4, there's no flicker= ! So it seems to be an issue with power level 0. Despite the clocks showing the = same on both "battery" and "performance" mode at power level 0, the flicker (and additional heat) only happen on "performance" mode. So the flicker is some combination of "performance" dpm state and power level 0 even though the cl= ock speeds seem the same. --=20 You are receiving this mail because: You are the assignee for the bug.= --14807834460.dDd7.1127 Date: Sat, 3 Dec 2016 16:44:06 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 12 on bug 98897<= /a> from Tom = B
Apologies for repeated comments. According to
http://www.anandtech.com/show/9276/2015-15i=
nch-retina-macbook-pros-dgpu-r9-m370x-is-cape-verde
(someone else running the same GPU on windows with catalyst driver)

The clock speeds are:

GPU: 800mhz
Memory: 1125mhz

I'm not sure how that correlates to the speeds in the patch you listed:

+                       max_sclk =3D 75000;
+                       max_mclk =3D 80000;

What is the difference between sclk and mclk? If mclk is memory clock (as
suggested here:
http://askubuntu.com/questions/569085/rad=
eon-pm-info-what-are-vclk-dclk-sclk-mclk-vddc-and-vddci
) that looks way of but if it's GPU clock then 80000 (assuming 80000 means
800mhz) is correct but then I don't know what the memory clock is or how to
work it out.=20

radon_pm_info does show seemingly correct information  that tallies with the
patch above

uvd    vclk: 0 dclk: 0
power level 0    sclk: 30000 mclk: 30000 vddc: 900 vddci: 850 pcie gen: 3


It shows the same in both battery and performance mode and seems to be work=
ing
correctly. In performance mode if I run a GPU intensive program such as
inigine-heaven the power level, as expected, changes:

uvd    vclk: 0 dclk: 0
power level 4    sclk: 75000 mclk: 80000 vddc: 1025 vddci: 900 pcie gen: 3


Interestingly, when the GPU is running at power level 4, there's no flicker=
! So
it seems to be an issue with power level 0. Despite the clocks showing the =
same
on both "battery" and "performance" mode at power level=
 0, the flicker (and
additional heat) only happen on "performance" mode. So the flicke=
r is some
combination of "performance" dpm state and power level 0 even tho=
ugh the clock
speeds seem the same.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14807834460.dDd7.1127-- --===============0069349036== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0069349036==--