From: bugzilla-daemon@freedesktop.org
Subject: [Bug 100222] Hang regression with R7 M370, identified possible
culprit commit
Date: Thu, 16 Mar 2017 13:03:33 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0606408570=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id B1E356E14B
for ; Thu, 16 Mar 2017 13:03:33 +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
--===============0606408570==
Content-Type: multipart/alternative; boundary="14896694131.dAfCAddD.23064";
charset="UTF-8"
--14896694131.dAfCAddD.23064
Date: Thu, 16 Mar 2017 13:03:33 +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 #4 from Alex Deucher ---
(In reply to Mauro Santos from comment #3)
> Build fails after applying patch 1 followed by patch 2 with:
>=20
>=20
> drivers/gpu/drm/radeon/si_dpm.c: In function =E2=80=98si_get_vce_clock_vo=
ltage=E2=80=99:
> drivers/gpu/drm/radeon/si_dpm.c:2977:4: error: =E2=80=98else=E2=80=99 wit=
hout 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=
undeclared (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
>=20
>=20
> 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
> hainan right?
The patch modifies si_apply_state_adjust_rules, I guess it's not applying
cleanly to your kernel.
>=20
> 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
> windows 10 at 875MHz? I've tried it on Windows 10 (all drivers downloaded
> via windows update) with unigine heaven + cpu-z to monitor the frequencies
> and it seems to go along happily with 875MHz core and 900MHz memory clock=
s.
There is still some bug in the driver that prevents the higher clocks for
working stable on your card. We fixed some issues and the driver was worki=
ng
on the hardware samples we had in house (which is why I removed the
workaround), but apparently there are still some variants that are not work=
ing
correctly.
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--14896694131.dAfCAddD.23064
Date: Thu, 16 Mar 2017 13:03:33 +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 # 4
on bug 10022=
2
from Alex Deucher
(In reply to Mauro Santos from comment #3)
> Build fails after applying patch 1 followed by p=
atch 2 with:
>=20
>=20
> drivers/gpu/drm/radeon/si_dpm.c: In function =E2=80=98si_get_vce_clock=
_voltage=E2=80=99:
> drivers/gpu/drm/radeon/si_dpm.c:2977:4: error: =E2=80=98else=E2=80=99 =
without 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 undeclared (first
> use in this function)
> max_sclk =3D 75000;
> ^~~~~~~~
> drivers/gpu/drm/radeon/si_dpm.c:2985:4: note: each undeclared identifi=
er is
> reported only once for each function it appears in
>=20
>=20
> 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
> hainan right?
The patch modifies si_apply_state_adjust_rules, I guess it's not applying
cleanly to your kernel.
>=20
> Another thing that I'm curious about, any guesses as to why the card n=
eeds
> the maximum core clock limited to 750MHz on linux but seems to work fi=
ne on
> windows 10 at 875MHz? I've tried it on Windows 10 (all drivers downloa=
ded
> via windows update) with unigine heaven + cpu-z to monitor the frequen=
cies
> and it seems to go along happily with 875MHz core and 900MHz memory cl=
ocks.
There is still some bug in the driver that prevents the higher clocks for
working stable on your card. We fixed some issues and the driver was worki=
ng
on the hardware samples we had in house (which is why I removed the
workaround), but apparently there are still some variants that are not work=
ing
correctly.
You are receiving this mail because:
- You are the assignee for the bug.
=
--14896694131.dAfCAddD.23064--
--===============0606408570==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============0606408570==--