Bug 71141 - [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD clocks
Summary: [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD clocks
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(DRI - non Intel) (show other bugs)
Hardware: x86-64 Linux
: P1 normal
Assignee: drivers_video-dri
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-25 05:34 UTC by Charles
Modified: 2016-03-23 18:57 UTC (History)
3 users (show)

See Also:
Kernel Version: 3.13.5-1
Subsystem:
Regression: No
Bisected commit-id:


Attachments
kernel log (102.40 KB, application/octet-stream)
2014-02-25 05:34 UTC, Charles
Details

Description Charles 2014-02-25 05:34:46 UTC
Created attachment 127361 [details]
kernel log

Hello,

I'm using HP 1220tx Laptop with AMD HD8750M graphics card. Kernel keeps complaining about setting UVD clocks and whole system stalls about 1 sec when probing the UVD clocks. I've read the bug report here which reported exact same problem for HD4570M: https://bugzilla.kernel.org/show_bug.cgi?id=60858 , but the solution given doesn't help much...

According to that report, I did some research myself:
1. dump of the registers 0x0718, 0x071c and 0x0720
0x0718	0x00000031 (49)
0x071c	0xc080001c (-1065353188)
0x0720	0x3158680e (827877390)
2. fb_div=970296,vclk_div=3,dclk_div=4 at function si_set_uvd_clocks() and that function failed the first radeon_uvd_send_upll_ctlreq() call with result -110.

Full dmesg attached.
Comment 1 Alex Deucher 2014-02-25 15:42:52 UTC
You need this patch for UVD to work correctly on your chip:
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=5d029339bb8ce69aeb68280c3de67d3cea456146
Please make sure your kernel has it.
Comment 2 Charles 2014-02-25 16:03:01 UTC
Seems that the kernel has already been patched.
It's the latest kernel from Arch Linux testing repository.
Comment 3 Christian König 2014-02-25 16:08:10 UTC
The strange thing is that the first clock setting works correctly (for booting up the VCPU), but then we try it a second time (for the IB test) and that fails.

No idea what's going wrong here, but the divider numbers look ok.

Does UVD works on Windows? Might be a hardware problem as well.
Comment 4 Charles 2014-02-25 16:42:41 UTC
UVD works well on Windows.
When playing 720p video, cpu usage stays below 1%.

Could it be something wrong with Intel/AMD switchable graphics? I also have a Intel HD4000 on my laptop.

Note You need to log in before you can comment on or make changes to this bug.