Bug 109667

Summary: r5 m330 hung if dpm enabled
Product: DRI Reporter: Slava <masterxakep>
Component: DRM/AMDgpuAssignee: Default DRI bug account <dri-devel>
Status: CLOSED MOVED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
dmesg
none
actualy after gpu reset dmesg get overflowed, so it is dmesg before reset
none
Xorg.log none

Description Slava 2019-02-18 20:03:55 UTC
I have laptop with AMD A9-9420 cpu and discrete r5 m330.

01:00.0 0380: 1002:6660 (rev 83)
	Subsystem: 103c:8331
	Physical Slot: 0
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 32
	Region 0: Memory at d0000000 (64-bit, prefetchable) [size=256M]
	Region 2: Memory at f0400000 (64-bit, non-prefetchable) [size=256K]
	Region 4: I/O ports at 4000 [size=256]
	Expansion ROM at f0440000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: radeon
	Kernel modules: radeon, amdgpu

Integrated gpu works flawlessly, but running something with DRI_PRIME=1 causes gpu hung after some time(from 30s to few minutes). this happens on BOTH radeon and amdgpu modules. Disabling dpm prevents hung for both drivers, but makes gpu useless because little default clocks.
Kernel parametres I'm using right now: radeon.dpm=0 amdgpu.dpm=1 amdgpu.dc=1 amdgpu.gpu_recovery=1
Also tried with amdgpu.si_support=1 radeon.si_support=0 but as I sain before problem happens with both modules.
this happens on all kernels i tried. 4.9 is oldest i can install, because wifi driver woks only on post 4.9 kernels
Comment 1 Slava 2019-02-18 20:35:55 UTC
Created attachment 143397 [details]
dmesg
Comment 2 Slava 2019-02-18 21:58:54 UTC
Created attachment 143398 [details]
actualy after gpu reset dmesg get overflowed, so it is dmesg before reset
Comment 3 Slava 2019-02-18 22:03:15 UTC
uh, lst dmesg get litle bit early, after few seconds there appeared such strings

[drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx timeout, signaled seq=431052, emitted seq=431053
amdgpu 0000:01:00.0: GPU reset begin!
Comment 4 Slava 2019-02-18 22:10:05 UTC
Created attachment 143402 [details]
Xorg.log
Comment 5 Martin Peres 2019-11-19 09:13:44 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/701.

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.