r5 m330 hung if dpm enabled
Submitted by Slava
Assigned to Default DRI bug account
Link to original bug (#109667)
Description
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