Re: 274ad65c9d02 ("drm/radeon: hard reset r600 and newer GPU when hibernating.")

From: Borislav Petkov
Date: Wed Jun 08 2016 - 10:18:28 EST


On Wed, Jun 08, 2016 at 10:06:23AM -0400, Jerome Glisse wrote:
> To be clear, you mean that after hibernation video acceleration keeps working ?

Apparently. At lest the vdpau output looks fine to me.

> Can you copy radeon dmesg after hibernation cycle (once you resumed
> from hibernation).

$ dmesg | grep -Ei "(radeon|drm)"

...

(boot messages)

...
[ 8.149356] fbcon: radeondrmfb (fb0) is primary device
[ 8.218800] radeon 0000:01:00.0: fb0: radeondrmfb frame buffer device
[ 8.238402] [drm] Initialized radeon 2.45.0 20080528 for 0000:01:00.0 on minor 0

<-- hibernate.

[ 64.711657] [drm] enabling PCIE gen 2 link speeds, disable with radeon.pcie_gen2=0
[ 64.714898] [drm] PCIE GART of 512M enabled (table at 0x0000000000142000).
[ 64.714920] radeon 0000:01:00.0: WB enabled
[ 64.714923] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000020000c00 and cpu addr 0xffff88042b342c00
[ 64.715123] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x00000000000521d0 and cpu addr 0xffffc900030121d0
[ 64.745988] [drm] ring test on 0 succeeded in 1 usecs
[ 64.920633] [drm] ring test on 5 succeeded in 1 usecs
[ 64.920637] [drm] UVD initialized successfully.
[ 64.920652] [drm] ib test on ring 0 succeeded in 0 usecs
[ 65.128759] ata1.00: supports DRM functions and may not be fully accessible
[ 65.128799] ata2.00: supports DRM functions and may not be fully accessible
[ 65.133700] ata1.00: supports DRM functions and may not be fully accessible
[ 65.133811] ata2.00: supports DRM functions and may not be fully accessible
[ 65.566744] [drm] ib test on ring 5 succeeded

Let me know if you need more stuff dumped.

--
Regards/Gruss,
Boris.

ECO tip #101: Trim your mails when you reply.