From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 110777] Kernel 5.1-5.2 MCLK stuck at 167MHz Vega 10 (56) Date: Mon, 27 May 2019 17:56:20 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0985501226==" 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 8753489683 for ; Mon, 27 May 2019 17:56:20 +0000 (UTC) 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 --===============0985501226== Content-Type: multipart/alternative; boundary="15589797801.E566.26159" Content-Transfer-Encoding: 7bit --15589797801.E566.26159 Date: Mon, 27 May 2019 17:56:20 +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=3D110777 Bug ID: 110777 Summary: Kernel 5.1-5.2 MCLK stuck at 167MHz Vega 10 (56) Product: DRI Version: DRI git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: blocker Priority: medium Component: DRM/AMDgpu Assignee: dri-devel@lists.freedesktop.org Reporter: antonh@gmx.de Hi, Since Kernel 5.1 up-to Kernel 5.2 my Vega 56 card's memory clock is stuck at 167MHz and does not boost up any more. The exact same setup boosts fine to 1000MHz memclk when running Kernel 5.0.= 13. Is there any info I can provide to get this fixed? --=20 You are receiving this mail because: You are the assignee for the bug.= --15589797801.E566.26159 Date: Mon, 27 May 2019 17:56:20 +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
Bug ID 110777
Summary Kernel 5.1-5.2 MCLK stuck at 167MHz Vega 10 (56)
Product DRI
Version DRI git
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity blocker
Priority medium
Component DRM/AMDgpu
Assignee dri-devel@lists.freedesktop.org
Reporter antonh@gmx.de

Hi,

Since Kernel 5.1 up-to Kernel 5.2 my Vega 56 card's memory clock is stuck at
167MHz and does not boost up any more.
The exact same setup boosts fine to 1000MHz memclk when running Kernel 5.0.=
13.

Is there any info I can provide to get this fixed?


You are receiving this mail because:
  • You are the assignee for the bug.
= --15589797801.E566.26159-- --===============0985501226== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0985501226==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 110777] Kernel 5.1-5.2 MCLK stuck at 167MHz Vega 10 (56) Date: Sun, 02 Jun 2019 17:40:02 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0021321931==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id F263F8989F for ; Sun, 2 Jun 2019 17:40:01 +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 --===============0021321931== Content-Type: multipart/alternative; boundary="15594972011.bdF6F5B7.23269" Content-Transfer-Encoding: 7bit --15594972011.bdF6F5B7.23269 Date: Sun, 2 Jun 2019 17:40:01 +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=3D110777 --- Comment #1 from antonh@gmx.de --- This is still occuring on latest linux master cd6c84d8f0cdc911df435bb075ba22ce3c605b07 --=20 You are receiving this mail because: You are the assignee for the bug.= --15594972011.bdF6F5B7.23269 Date: Sun, 2 Jun 2019 17:40:01 +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 # 1 on bug 11077= 7 from antonh@gmx.de
This is still occuring on latest linux master
cd6c84d8f0cdc911df435bb075ba22ce3c605b07


You are receiving this mail because:
  • You are the assignee for the bug.
= --15594972011.bdF6F5B7.23269-- --===============0021321931== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0021321931==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 110777] Kernel 5.1-5.2 MCLK stuck at 167MHz Vega 10 (56) Date: Mon, 03 Jun 2019 18:41:33 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0613523189==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 239A98930F for ; Mon, 3 Jun 2019 18:41: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 --===============0613523189== Content-Type: multipart/alternative; boundary="15595872930.fF6FBE273.26947" Content-Transfer-Encoding: 7bit --15595872930.fF6FBE273.26947 Date: Mon, 3 Jun 2019 18:41: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=3D110777 --- Comment #2 from antonh@gmx.de --- The issue is fully fixed on kernel master (currently I am using commit 460b48a0fefce25beb0fc0139e721c5691d65d7f) when reverting drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c back to the state it was around kernel 5.0.13. https://git.archlinux.org/linux.git/tree/drivers/gpu/drm/amd/powerplay/hwmg= r/vega10_hwmgr.c?h=3Dv5.0.13-arch1 I will start bisecting soon to figure out the exact commit that has caused = the issue. --=20 You are receiving this mail because: You are the assignee for the bug.= --15595872930.fF6FBE273.26947 Date: Mon, 3 Jun 2019 18:41: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 # 2 on bug 11077= 7 from antonh@gmx.de
The issue is fully fixed on kernel master (currently I am usin=
g commit
460b48a0fefce25beb0fc0139e721c5691d65d7f) when reverting
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c back to the state it was
around kernel 5.0.13.

https://git.archlinux.org/li=
nux.git/tree/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c?h=3Dv5.0.13=
-arch1

I will start bisecting soon to figure out the exact commit that has caused =
the
issue.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15595872930.fF6FBE273.26947-- --===============0613523189== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0613523189==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 110777] Kernel 5.1-5.2 MCLK stuck at 167MHz Vega 10 (56) Date: Mon, 03 Jun 2019 18:55:18 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1873743383==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id A393389341 for ; Mon, 3 Jun 2019 18:55:18 +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 --===============1873743383== Content-Type: multipart/alternative; boundary="15595881181.eb65.30496" Content-Transfer-Encoding: 7bit --15595881181.eb65.30496 Date: Mon, 3 Jun 2019 18:55:18 +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=3D110777 --- Comment #3 from antonh@gmx.de --- reverting the following two patches fixes the boost in memory clocks but it seems once mem clock has ramped up it's not going down again. 1. Revert "drm/amd/powerplay: update soc boot and max level on vega10"=20=20=20 This reverts commit 373e87fc91527124cb8ec21465a6d070a65c56af. 2. Revert "drm/amd/powerplay: support Vega10 SOCclk and DCEFclk dpm level settings" This reverts commit bb05821b13fa0c0b97760cb292b30d3105d65954. Evan Quan Alex Deucher --=20 You are receiving this mail because: You are the assignee for the bug.= --15595881181.eb65.30496 Date: Mon, 3 Jun 2019 18:55:18 +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 11077= 7 from antonh@gmx.de
reverting the following two patches fixes the boost in memory =
clocks but it
seems once mem clock has ramped up it's not going down again.

1.
Revert "drm/amd/powerplay: update soc boot and max level on vega10&quo=
t;=20=20=20
This reverts commit 373e87fc91527124cb8ec21465a6d070a65c56af.

2.
Revert "drm/amd/powerplay: support Vega10 SOCclk and DCEFclk dpm level
settings"
This reverts commit bb05821b13fa0c0b97760cb292b30d3105d65954.

Evan Quan <evan.quan@amd.co=
m>
Alex Deucher <alexander=
.deucher@amd.com>


You are receiving this mail because:
  • You are the assignee for the bug.
= --15595881181.eb65.30496-- --===============1873743383== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1873743383==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 110777] Kernel 5.1-5.2 MCLK stuck at 167MHz Vega 10 (56) Date: Mon, 03 Jun 2019 19:21:53 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0029441685==" 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 508BB892FE for ; Mon, 3 Jun 2019 19:21:53 +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 --===============0029441685== Content-Type: multipart/alternative; boundary="15595897132.887ca.3694" Content-Transfer-Encoding: 7bit --15595897132.887ca.3694 Date: Mon, 3 Jun 2019 19:21:53 +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=3D110777 --- Comment #4 from Anton Herzfeld --- Is there anything else I can provide to support getting this fixed? --=20 You are receiving this mail because: You are the assignee for the bug.= --15595897132.887ca.3694 Date: Mon, 3 Jun 2019 19:21:53 +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 11077= 7 from Anton Herzfeld
Is there anything else I can provide to support getting this f=
ixed?


You are receiving this mail because:
  • You are the assignee for the bug.
= --15595897132.887ca.3694-- --===============0029441685== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0029441685==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 110777] Kernel 5.1-5.2 MCLK stuck at 167MHz Vega 10 (56) Date: Wed, 05 Jun 2019 17:44:58 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1263489493==" 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 B6E44895CA for ; Wed, 5 Jun 2019 17:44:58 +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 --===============1263489493== Content-Type: multipart/alternative; boundary="15597566982.D1FB4843.5129" Content-Transfer-Encoding: 7bit --15597566982.D1FB4843.5129 Date: Wed, 5 Jun 2019 17:44:58 +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=3D110777 --- Comment #5 from Anton Herzfeld --- The following patch fixes the issue with boosting again: https://cgit.freedesktop.org/~agd5f/linux/commit/drivers/gpu/drm/amd/powerp= lay/hwmgr?h=3Damd-staging-drm-next&id=3D7d59c41b5150d0641203f91cfcaa0f9af59= 99cce however it also seems to expose the issue in mclk not going down again once= it has boosted. just to clarify the issue occurs when using manual OD on mclk since kernel = 5.1. --=20 You are receiving this mail because: You are the assignee for the bug.= --15597566982.D1FB4843.5129 Date: Wed, 5 Jun 2019 17:44:58 +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 # 5 on bug 11077= 7 from Anton Herzfeld
The following patch fixes the issue with boosting again:

https://cgit.freedesktop.org/~agd5f/linux/commit/driv=
ers/gpu/drm/amd/powerplay/hwmgr?h=3Damd-staging-drm-next&id=3D7d59c41b5=
150d0641203f91cfcaa0f9af5999cce

however it also seems to expose the issue in mclk not going down again once=
 it
has boosted.

just to clarify the issue occurs when using manual OD on mclk since kernel =
5.1.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15597566982.D1FB4843.5129-- --===============1263489493== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1263489493==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 110777] Kernel 5.1-5.2 MCLK stuck at 167MHz Vega 10 (56) Date: Tue, 11 Jun 2019 17:04:41 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0802703130==" 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 3FA8489187 for ; Tue, 11 Jun 2019 17:04:41 +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 --===============0802703130== Content-Type: multipart/alternative; boundary="15602726811.bE3e7.3291" Content-Transfer-Encoding: 7bit --15602726811.bE3e7.3291 Date: Tue, 11 Jun 2019 17:04:41 +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=3D110777 Anton Herzfeld changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|dri-devel@lists.freedesktop |alexdeucher@gmail.com |.org | --=20 You are receiving this mail because: You are the assignee for the bug.= --15602726811.bE3e7.3291 Date: Tue, 11 Jun 2019 17:04:41 +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 Anton Herzfeld changed bug 11077= 7
What Removed Added
Assignee dri-devel@lists.freedesktop.org alexdeucher@gmail.com


You are receiving this mail because:
  • You are the assignee for the bug.
= --15602726811.bE3e7.3291-- --===============0802703130== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0802703130==--