Bug 109790

Summary: [ 11.594966] [drm:r600_ring_test [radeon]] *ERROR* radeon: ring 0 test failed (scratch(0x850C)=0xCAFEDEAD)
Product: DRI Reporter: baopeng <baopeng88_com>
Component: DRM/RadeonAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED WONTFIX QA Contact:
Severity: critical    
Priority: medium    
Version: DRI git   
Hardware: ARM   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
error_dmesg
none
lspci_msg
none
uname_msg none

Description baopeng 2019-02-27 01:26:44 UTC
Created attachment 143482 [details]
error_dmesg

We enabled the Radeon OLAND series of graphics cards on ARM, very old graphics cards,
The kernel is a 4.14 kernel and there is a problem with GPU acceleration not being enabled:
The kernel initialization log is as follows, there are 2 errors, one is radeon 0000:43:00.0: failed VCE resume (-110).
One is [drm:r600_ring_test [radeon]] *ERROR* radeon: ring 0 test failed (scratch(0x850C)=0xCAFEDEAD), this error causes the GPU acceleration function to be turned off.
Can you ask me what it is, or how to position it next?
thank you.
Comment 1 baopeng 2019-02-27 01:29:49 UTC
Created attachment 143483 [details]
lspci_msg
Comment 2 baopeng 2019-02-27 01:30:34 UTC
Created attachment 143484 [details]
uname_msg
Comment 3 Alex Deucher 2019-02-27 04:12:54 UTC
(In reply to baopeng from comment #0)
> Created attachment 143482 [details]
> error_dmesg
> 
> We enabled the Radeon OLAND series of graphics cards on ARM, very old
> graphics cards,
> The kernel is a 4.14 kernel and there is a problem with GPU acceleration not
> being enabled:
> The kernel initialization log is as follows, there are 2 errors, one is
> radeon 0000:43:00.0: failed VCE resume (-110).

This one is harmless.

> One is [drm:r600_ring_test [radeon]] *ERROR* radeon: ring 0 test failed
> (scratch(0x850C)=0xCAFEDEAD), this error causes the GPU acceleration
> function to be turned off.
> Can you ask me what it is, or how to position it next?

For this one, make sure you have this patch:
https://cgit.freedesktop.org/drm/drm/commit/?id=e02f5c1bb2283cfcee68f2f0feddcc06150f13aa
and also make sure your ARM platform supports cache coherence as required by the PCI spec.
Comment 4 Christian König 2019-02-27 08:22:18 UTC
And also please try an up to date kernel. We certainly won't fix any architecture specific problems in 4.14 any more.
Comment 5 Michel Dänzer 2019-02-27 09:19:17 UTC
*** Bug 109789 has been marked as a duplicate of this bug. ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.