From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 106177] overclocking doesn't work with 4.17-rc1 Date: Wed, 09 May 2018 07:11:52 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1097499943==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 89B3A6EC5F for ; Wed, 9 May 2018 07:11:52 +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 --===============1097499943== Content-Type: multipart/alternative; boundary="15258499121.D7AA.6810" Content-Transfer-Encoding: 7bit --15258499121.D7AA.6810 Date: Wed, 9 May 2018 07:11:52 +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=3D106177 --- Comment #6 from Christoph Haag --- I have not tried amdgpu.ppfeaturemask=3D0xffffffff etc. yet. If a behavior change like that is intended, there should be some easily accessible documentation about it somewhere. 1288 MHz (SCLK) is the factory overclocked default max clock, so debugfs ag= rees that pp_sclk_od on its own does nothing with 4.17rc4. root@c-pc ~ # echo high > /sys/class/drm/card0/device/power_dpm_force_performance_level root@c-pc ~ # echo 5 > /sys/class/drm/card0/device/pp_sclk_od root@c-pc ~ # cat /sys/kernel/debug/dri/0/amdgpu_pm_info Clock Gating Flags Mask: 0x37bcf Graphics Medium Grain Clock Gating: On Graphics Medium Grain memory Light Sleep: On Graphics Coarse Grain Clock Gating: On Graphics Coarse Grain memory Light Sleep: On Graphics Coarse Grain Tree Shader Clock Gating: Off Graphics Coarse Grain Tree Shader Light Sleep: Off Graphics Command Processor Light Sleep: On Graphics Run List Controller Light Sleep: On Graphics 3D Coarse Grain Clock Gating: Off Graphics 3D Coarse Grain memory Light Sleep: Off Memory Controller Light Sleep: On Memory Controller Medium Grain Clock Gating: On System Direct Memory Access Light Sleep: Off System Direct Memory Access Medium Grain Clock Gating: On Bus Interface Medium Grain Clock Gating: Off Bus Interface Light Sleep: On Unified Video Decoder Medium Grain Clock Gating: On Video Compression Engine Medium Grain Clock Gating: On Host Data Path Light Sleep: Off Host Data Path Medium Grain Clock Gating: On Digital Right Management Medium Grain Clock Gating: Off Digital Right Management Light Sleep: Off Rom Medium Grain Clock Gating: On Data Fabric Medium Grain Clock Gating: Off GFX Clocks and Power: 2000 MHz (MCLK) 1288 MHz (SCLK) 300 MHz (PSTATE_SCLK) 601 MHz (PSTATE_MCLK) 1093 mV (VDDGFX) 19.166 W (VDDC) 15.19 W (VDDCI) 40.200 W (max GPU) 40.185 W (average GPU) GPU Temperature: 43 C GPU Load: 0 % UVD: Disabled VCE: Disabled --=20 You are receiving this mail because: You are the assignee for the bug.= --15258499121.D7AA.6810 Date: Wed, 9 May 2018 07:11:52 +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 # 6 on bug 10617= 7 from Christoph Haag
I have not tried amdgpu.ppfeaturemask=3D0xffffffff etc. yet.
If a behavior change like that is intended, there should be some easily
accessible documentation about it somewhere.

1288 MHz (SCLK) is the factory overclocked default max clock, so debugfs ag=
rees
that pp_sclk_od on its own does nothing with 4.17rc4.

root@c-pc ~ # echo high >
/sys/class/drm/card0/device/power_dpm_force_performance_level
root@c-pc ~ # echo 5 > /sys/class/drm/card0/device/pp_sclk_od
root@c-pc ~ # cat /sys/kernel/debug/dri/0/amdgpu_pm_info
Clock Gating Flags Mask: 0x37bcf
        Graphics Medium Grain Clock Gating: On
        Graphics Medium Grain memory Light Sleep: On
        Graphics Coarse Grain Clock Gating: On
        Graphics Coarse Grain memory Light Sleep: On
        Graphics Coarse Grain Tree Shader Clock Gating: Off
        Graphics Coarse Grain Tree Shader Light Sleep: Off
        Graphics Command Processor Light Sleep: On
        Graphics Run List Controller Light Sleep: On
        Graphics 3D Coarse Grain Clock Gating: Off
        Graphics 3D Coarse Grain memory Light Sleep: Off
        Memory Controller Light Sleep: On
        Memory Controller Medium Grain Clock Gating: On
        System Direct Memory Access Light Sleep: Off
        System Direct Memory Access Medium Grain Clock Gating: On
        Bus Interface Medium Grain Clock Gating: Off
        Bus Interface Light Sleep: On
        Unified Video Decoder Medium Grain Clock Gating: On
        Video Compression Engine Medium Grain Clock Gating: On
        Host Data Path Light Sleep: Off
        Host Data Path Medium Grain Clock Gating: On
        Digital Right Management Medium Grain Clock Gating: Off
        Digital Right Management Light Sleep: Off
        Rom Medium Grain Clock Gating: On
        Data Fabric Medium Grain Clock Gating: Off

GFX Clocks and Power:
        2000 MHz (MCLK)
        1288 MHz (SCLK)
        300 MHz (PSTATE_SCLK)
        601 MHz (PSTATE_MCLK)
        1093 mV (VDDGFX)
        19.166 W (VDDC)
        15.19 W (VDDCI)
        40.200 W (max GPU)
        40.185 W (average GPU)

GPU Temperature: 43 C
GPU Load: 0 %

UVD: Disabled

VCE: Disabled


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