linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ken Moffat <zarniwhoop@ntlworld.com>
To: Alex Deucher <alexander.deucher@amd.com>,
	Yifan Zhang <yifan1.zhang@amd.com>, James Zhu <James.Zhu@amd.com>
Cc: Felix Kuehling <Felix.Kuehling@amd.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: amdgpu hang on picasso
Date: Sun, 31 Oct 2021 03:01:09 +0000	[thread overview]
Message-ID: <YX4G9YVhw65ps3gC@llamedos.localdomain> (raw)
In-Reply-To: <YX2UbO4jlKZqUBWd@llamedos.localdomain>

On Sat, Oct 30, 2021 at 07:52:28PM +0100, Ken Moffat wrote:
> When I tried 5.15-rc7 on my picasso APU (Ryzen 5 3400G), trying to
> run 'startx' (I'm using X11 and logging in to a tty) the output
> messages from X11 stopped after a few lines (normally, the desktop
> shows before I can read anything) and keyboard/mouse were
> inoperative - had to use Magic SysRQ to sync and reboot.
> 
> The log showed
> Oct 28 03:02:21 deluxe klogd: [   31.347235] amdgpu 0000:09:00.0: amdgpu: failed to write reg 28b4 wait reg 28c6
> Oct 28 03:02:34 deluxe klogd: [   44.280185] amdgpu 0000:09:00.0: amdgpu: failed to write reg 1a6f4 wait reg 1a706
> 
> I started bisecting after confireming that linus' tree with head at
> f25a5481af12 still showed the problem.  That identified the
> following commit, which reverts cleanly and allows Xorg to start:
> 
> commit 714d9e4574d54596973ee3b0624ee4a16264d700
> Author: Yifan Zhang <yifan1.zhang@amd.com>
> Date:   Tue Sep 28 15:42:35 2021 +0800
> 
>     drm/amdgpu: init iommu after amdkfd device init
>     
>     This patch is to fix clinfo failure in Raven/Picasso:
>     
>     Number of platforms: 1
>       Platform Profile: FULL_PROFILE
>       Platform Version: OpenCL 2.2 AMD-APP (3364.0)
>       Platform Name: AMD Accelerated Parallel Processing
>       Platform Vendor: Advanced Micro Devices, Inc.
>       Platform Extensions: cl_khr_icd cl_amd_event_callback
>     
>       Platform Name: AMD Accelerated Parallel Processing Number of devices: 0
>     
>     Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com>
>     Reviewed-by: James Zhu <James.Zhu@amd.com>
>     Tested-by: James Zhu <James.Zhu@amd.com>
>     Acked-by: Felix Kuehling <Felix.Kuehling@amd.com>
>     Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
> 
>  drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> I've got a laptop with raven, I'll try to find time to test it that
> also shows he problem in the next few days.
> 
The laptop (AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx) works
fine without reverting that patch, only the picasso has the problem.

ĸen
-- 
 A capitalist society is one where individuals own and acquire
property, at least for a few months until cooler objects come out.
                                    -- Late Night Mash

  reply	other threads:[~2021-10-31  3:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-30 18:52 amdgpu hang on picasso Ken Moffat
2021-10-31  3:01 ` Ken Moffat [this message]
     [not found] ` <DM5PR12MB18844749E4B5A6F0604A4F85E48A9@DM5PR12MB1884.namprd12.prod.outlook.com>
2021-11-01 16:49   ` Ken Moffat
     [not found]     ` <DM5PR12MB18840CC9E5B1B02565CB166EE48A9@DM5PR12MB1884.namprd12.prod.outlook.com>
2021-11-01 20:49       ` Ken Moffat

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=YX4G9YVhw65ps3gC@llamedos.localdomain \
    --to=zarniwhoop@ntlworld.com \
    --cc=Felix.Kuehling@amd.com \
    --cc=James.Zhu@amd.com \
    --cc=alexander.deucher@amd.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=yifan1.zhang@amd.com \
    /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).