From: bugzilla-daemon@freedesktop.org Subject: [Bug 100222] Hang regression with R7 M370, identified possible culprit commit Date: Thu, 16 Mar 2017 12:19:44 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1723110810==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 9D7C56EAB8 for ; Thu, 16 Mar 2017 12:19:44 +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 --===============1723110810== Content-Type: multipart/alternative; boundary="14896667840.eA6CC8.17423"; charset="UTF-8" --14896667840.eA6CC8.17423 Date: Thu, 16 Mar 2017 12:19:44 +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=3D100222 --- Comment #3 from Mauro Santos --- Build fails after applying patch 1 followed by patch 2 with: drivers/gpu/drm/radeon/si_dpm.c: In function =E2=80=98si_get_vce_clock_volt= age=E2=80=99: drivers/gpu/drm/radeon/si_dpm.c:2977:4: error: =E2=80=98else=E2=80=99 witho= ut a previous =E2=80=98if=E2=80=99 } else if (rdev->family =3D=3D CHIP_OLAND) { ^~~~ drivers/gpu/drm/radeon/si_dpm.c:2985:4: error: =E2=80=98max_sclk=E2=80=99 u= ndeclared (first use in this function) max_sclk =3D 75000; ^~~~~~~~ drivers/gpu/drm/radeon/si_dpm.c:2985:4: note: each undeclared identifier is reported only once for each function it appears in The patch changes things inside the si_get_vce_clock_voltage function but I suppose the changes should be made a few lines bellow that to the si_apply_state_adjust_rules function after the quirks for pitcairn and hain= an right? Another thing that I'm curious about, any guesses as to why the card needs = the maximum core clock limited to 750MHz on linux but seems to work fine on win= dows 10 at 875MHz? I've tried it on Windows 10 (all drivers downloaded via windo= ws update) with unigine heaven + cpu-z to monitor the frequencies and it seems= to go along happily with 875MHz core and 900MHz memory clocks. --=20 You are receiving this mail because: You are the assignee for the bug.= --14896667840.eA6CC8.17423 Date: Thu, 16 Mar 2017 12:19:44 +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 # 3 on bug 10022= 2 from Mauro Santos
Build fails after applying patch 1 followed by patch 2 with:


drivers/gpu/drm/radeon/si_dpm.c: In function =E2=80=98si_get_vce_clock_volt=
age=E2=80=99:
drivers/gpu/drm/radeon/si_dpm.c:2977:4: error: =E2=80=98else=E2=80=99 witho=
ut a previous =E2=80=98if=E2=80=99
  } else if (rdev->family =3D=3D CHIP_OLAND) {
    ^~~~
drivers/gpu/drm/radeon/si_dpm.c:2985:4: error: =E2=80=98max_sclk=E2=80=99 u=
ndeclared (first use
in this function)
    max_sclk =3D 75000;
    ^~~~~~~~
drivers/gpu/drm/radeon/si_dpm.c:2985:4: note: each undeclared identifier is
reported only once for each function it appears in


The patch changes things inside the si_get_vce_clock_voltage function but I
suppose the changes should be made a few lines bellow that to the
si_apply_state_adjust_rules function after the quirks for pitcairn and hain=
an
right?

Another thing that I'm curious about, any guesses as to why the card needs =
the
maximum core clock limited to 750MHz on linux but seems to work fine on win=
dows
10 at 875MHz? I've tried it on Windows 10 (all drivers downloaded via windo=
ws
update) with unigine heaven + cpu-z to monitor the frequencies and it seems=
 to
go along happily with 875MHz core and 900MHz memory clocks.


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