stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mark Boddington <lkml@badpenguin.co.uk>
To: Greg KH <gregkh@linuxfoundation.org>
Cc: stable@vger.kernel.org, regressions@lists.linux.dev
Subject: Re: kernel 5.15.1: AMD RX 6700 XT - Fails to resume after screen blank
Date: Wed, 10 Nov 2021 23:02:13 +0000	[thread overview]
Message-ID: <b266047e-5674-d1e6-de4b-59a90299f022@badpenguin.co.uk> (raw)
In-Reply-To: <YYwDnbpES0rrnWBw@kroah.com>

I think I've found the problem.

The amdgpu_amdkfd_resume_iommu(adev) call has been moved around a few 
times recently, but in 5.15.1 it's been removed completely.

I think reverting this patch fixes the issue: 
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c?h=linux-5.15.y&id=f17dca0ab3f38b19c0f1b935f417f62d4a528723

See also: 
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c?h=linux-5.15.y&id=714d9e4574d54596973ee3b0624ee4a16264d700

Cheers,

Mark

On 10/11/2021 17:38, Greg KH wrote:
> On Wed, Nov 10, 2021 at 04:27:39PM +0000, Mark Boddington wrote:
>> Hi all,
>>
>> I run the mainline Linux kernel on Ubuntu 20.04, built from
>> https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.15.1/
>>
>> There appears to be a regression in 5.15.1 which causes the GPU to fail to
>> resume after power saving.
>>
>> Could it be this change??:
>>
>> https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c?h=v5.15.1&id=8af3a335b5531ca3df0920b1cca43e456cd110ad
> If you revert it, does it solve the problem for you?
>
> If not, what kernel version did work for you with this hardware?
>
> thanks,
>
> greg k-h

  parent reply	other threads:[~2021-11-10 23:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-10 16:27 kernel 5.15.1: AMD RX 6700 XT - Fails to resume after screen blank Mark Boddington
2021-11-10 17:38 ` Greg KH
2021-11-10 18:53   ` Mark Boddington
2021-11-10 23:02   ` Mark Boddington [this message]
2021-11-10 23:11     ` Mark Boddington
2021-11-12 16:04       ` Thorsten Leemhuis
2021-11-12 17:24         ` Mark Boddington
2021-11-13  8:15           ` Thorsten Leemhuis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b266047e-5674-d1e6-de4b-59a90299f022@badpenguin.co.uk \
    --to=lkml@badpenguin.co.uk \
    --cc=gregkh@linuxfoundation.org \
    --cc=regressions@lists.linux.dev \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).