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

From: Christian KÃnig
Date: Wed Jun 08 2016 - 08:05:07 EST


Am 08.06.2016 um 13:36 schrieb Borislav Petkov:
On Tue, Jun 07, 2016 at 05:51:52PM -0400, Jerome Glisse wrote:
Ok i don't have too much time to dig into r600 i assume that r700 breaks
the same way so could you verify that attached patch fix the issue for
you. Note that video decoding is likely broken for you after hibernation
but you might have never notice it.
Probably. And that means I really haven't noticed.

How do I test video decoding? mplayer seems to work fine :)

What's the output of mplayer? Mplayer usually uses video acceleration when it is available.

Regards,
Christian.


From 8ed42906e430880ce01bc6f175f1c7c180529353 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Glisse?= <jglisse@xxxxxxxxxx>
Date: Tue, 7 Jun 2016 17:43:04 -0400
Subject: [PATCH] drm/radeon: do not hard reset GPU while freezing on r600/r700
family
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Seems r600/r700 does not like hard reset while freezing for hibernation
(regression due to 274ad65c9d02bdcbee9bae045517864c3521d530 which itself
is a fix for hibernation on some GPU families). Until i can debug further
issue with r600, let just disable this for r600/r700 as they are very
similar family and bug affecting one likely affect the other.

Signed-off-by: JÃrÃme Glisse <jglisse@xxxxxxxxxx>
Reported-and-tested-by: Borislav Petkov <bp@xxxxxxx>