From: bugzilla-daemon@freedesktop.org Subject: [Bug 73378] [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD clocks! Date: Wed, 28 Jan 2015 18:47:22 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1807686685==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id DA4AC6E75D for ; Wed, 28 Jan 2015 10:47:22 -0800 (PST) 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 --===============1807686685== Content-Type: multipart/alternative; boundary="1422470842.eaFB2cD3.12073"; charset="UTF-8" --1422470842.eaFB2cD3.12073 Date: Wed, 28 Jan 2015 18:47:22 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=73378 --- Comment #17 from Alex Deucher --- On older versions of the driver we init dpm after everything else, so the ring and ib tests happen before we even touch the dpm hw so clocks are at their low boot up levels. On newer versions of the driver we init dpm early, but we don't enable the non boot states until the end of the init sequence after the ring and ib tests. >From the log: [ 5.237881] == power state 0 == [ 5.237882] ui class: none [ 5.237883] internal class: boot [ 5.237884] caps: [ 5.237885] uvd vclk: 0 dclk: 0 [ 5.237887] power level 0 sclk: 15000 mclk: 15000 vddc: 900 vddci: 950 pcie gen: 2 [ 5.237887] status: c r b This is the boot state. The clocks are fixed at 150Mhz for both sclk and mclk. [ 5.237889] == power state 1 == [ 5.237890] ui class: performance [ 5.237890] internal class: none [ 5.237891] caps: [ 5.237892] uvd vclk: 0 dclk: 0 [ 5.237893] power level 0 sclk: 30000 mclk: 15000 vddc: 825 vddci: 850 pcie gen: 2 [ 5.237895] power level 1 sclk: 45000 mclk: 120000 vddc: 900 vddci: 975 pcie gen: 2 [ 5.237896] power level 2 sclk: 100000 mclk: 120000 vddc: 1219 vddci: 975 pcie gen: 2 [ 5.237896] status: This is the performance state. The sclk can range from 300 Mhz to 1Ghz and the mclk can range from 150Mhz to 1.2Ghz based on GPU demand. [ 5.237897] == power state 2 == [ 5.237898] ui class: none [ 5.237898] internal class: uvd [ 5.237899] caps: video [ 5.237901] uvd vclk: 72000 dclk: 56000 [ 5.237902] power level 0 sclk: 45000 mclk: 120000 vddc: 900 vddci: 975 pcie gen: 2 [ 5.237903] power level 1 sclk: 45000 mclk: 120000 vddc: 900 vddci: 975 pcie gen: 2 [ 5.237904] power level 2 sclk: 100000 mclk: 120000 vddc: 1219 vddci: 975 pcie gen: 2 [ 5.237905] status: This is the UVD state. As you can see there is a floor of 450Mhz on the sclk to maintain the necessary performance level for post processing and presentation. [ 5.237905] == power state 3 == [ 5.237906] ui class: none [ 5.237907] internal class: ulv [ 5.237908] caps: [ 5.237909] uvd vclk: 0 dclk: 0 [ 5.237910] power level 0 sclk: 30000 mclk: 15000 vddc: 825 vddci: 850 pcie gen: 2 [ 5.237911] power level 1 sclk: 30000 mclk: 15000 vddc: 825 vddci: 850 pcie gen: 2 [ 5.237912] power level 2 sclk: 30000 mclk: 15000 vddc: 825 vddci: 850 pcie gen: 2 This is the ulv state which is only active when the board is completely idle. -- You are receiving this mail because: You are the assignee for the bug. --1422470842.eaFB2cD3.12073 Date: Wed, 28 Jan 2015 18:47:22 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 17 on bug 73378 from
On older versions of the driver we init dpm after everything else, so the ring
and ib tests happen before we even touch the dpm hw so clocks are at their low
boot up levels.

On newer versions of the driver we init dpm early, but we don't enable the non
boot states until the end of the init sequence after the ring and ib tests.

>From the log:

[    5.237881] == power state 0 ==
[    5.237882]     ui class: none
[    5.237883]     internal class: boot 
[    5.237884]     caps: 
[    5.237885]     uvd    vclk: 0 dclk: 0
[    5.237887]         power level 0    sclk: 15000 mclk: 15000 vddc: 900
vddci: 950 pcie gen: 2
[    5.237887]     status: c r b 

This is the boot state.  The clocks are fixed at 150Mhz for both sclk and mclk.

[    5.237889] == power state 1 ==
[    5.237890]     ui class: performance
[    5.237890]     internal class: none
[    5.237891]     caps: 
[    5.237892]     uvd    vclk: 0 dclk: 0
[    5.237893]         power level 0    sclk: 30000 mclk: 15000 vddc: 825
vddci: 850 pcie gen: 2
[    5.237895]         power level 1    sclk: 45000 mclk: 120000 vddc: 900
vddci: 975 pcie gen: 2
[    5.237896]         power level 2    sclk: 100000 mclk: 120000 vddc: 1219
vddci: 975 pcie gen: 2
[    5.237896]     status: 


This is the performance state.  The sclk can range from 300 Mhz to 1Ghz and the
mclk can range from 150Mhz to 1.2Ghz based on GPU demand.

[    5.237897] == power state 2 ==
[    5.237898]     ui class: none
[    5.237898]     internal class: uvd 
[    5.237899]     caps: video 
[    5.237901]     uvd    vclk: 72000 dclk: 56000
[    5.237902]         power level 0    sclk: 45000 mclk: 120000 vddc: 900
vddci: 975 pcie gen: 2
[    5.237903]         power level 1    sclk: 45000 mclk: 120000 vddc: 900
vddci: 975 pcie gen: 2
[    5.237904]         power level 2    sclk: 100000 mclk: 120000 vddc: 1219
vddci: 975 pcie gen: 2
[    5.237905]     status: 

This is the UVD state.  As you can see there is a floor of 450Mhz on the sclk
to maintain the necessary performance level for post processing and
presentation.

[    5.237905] == power state 3 ==
[    5.237906]     ui class: none
[    5.237907]     internal class: ulv 
[    5.237908]     caps: 
[    5.237909]     uvd    vclk: 0 dclk: 0
[    5.237910]         power level 0    sclk: 30000 mclk: 15000 vddc: 825
vddci: 850 pcie gen: 2
[    5.237911]         power level 1    sclk: 30000 mclk: 15000 vddc: 825
vddci: 850 pcie gen: 2
[    5.237912]         power level 2    sclk: 30000 mclk: 15000 vddc: 825
vddci: 850 pcie gen: 2

This is the ulv state which is only active when the board is completely idle.


You are receiving this mail because:
  • You are the assignee for the bug.
--1422470842.eaFB2cD3.12073-- --===============1807686685== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1807686685==--