From: Ken Moffat <zarniwhoop@ntlworld.com>
To: Alex Deucher <alexdeucher@gmail.com>
Cc: "Deucher, Alexander" <alexander.deucher@amd.com>,
Yifan Zhang <yifan1.zhang@amd.com>, James Zhu <jzhums@gmail.com>,
James Zhu <James.Zhu@amd.com>,
amd-gfx list <amd-gfx@lists.freedesktop.org>
Subject: Re: [PATCH] drm/amdgpu: remove duplicated kfd_resume_iommu
Date: Wed, 3 Nov 2021 02:50:42 +0000 [thread overview]
Message-ID: <YYH5An5dFpPAmSDv@llamedos.localdomain> (raw)
In-Reply-To: <CADnq5_OurPZjmq2SbRZzw4MWRO2uFT7H=+F75czmwgG0MgGAiQ@mail.gmail.com>
On Tue, Nov 02, 2021 at 10:01:46PM -0400, Alex Deucher wrote:
> On Tue, Nov 2, 2021 at 9:34 PM James Zhu <James.Zhu@amd.com>
> wrote:
> >
> > Remove duplicated kfd_resume_iommu which already runs in
> > mdgpu_amdkfd_device_init.
> >
> > Signed-off-by: James Zhu <James.Zhu@amd.com>
>
> Once you get confirmation, please add: Bug:
> https://bugzilla.kernel.org/show_bug.cgi?id=214859 Bug:
> https://gitlab.freedesktop.org/drm/amd/-/issues/1770
>
> Acked-by: Alex Deucher <alexander.deucher@amd.com>
>
>
I see those were both for 5.14.15, on my 5.14 kernels I have not
moved beyond 5.14.12 so I've dodged the bullet on those. And on my
2500u which I think is a Raven, 5.15.0-rc7 was ok.
On the picasso, this applies to 5.15.0 with an offset of 34 lines
(no fuzz) and solves the problem. Thanks.
If it is any use,
Tested-By: Ken Moffat <zarniwhoop@ntlworld.com>
> > ---
> > drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 4 ----
> > 1 file changed, 4 deletions(-)
> >
> > diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> > index e56bc925afcf..f77823ce7ae8 100644
> > --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> > +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> > @@ -2398,10 +2398,6 @@ static int amdgpu_device_ip_init(struct amdgpu_device *adev)
> > if (!adev->gmc.xgmi.pending_reset)
> > amdgpu_amdkfd_device_init(adev);
> >
> > - r = amdgpu_amdkfd_resume_iommu(adev);
> > - if (r)
> > - goto init_failed;
> > -
> > amdgpu_fru_get_product_info(adev);
> >
> > init_failed:
> > --
> > 2.25.1
> >
--
Vetinari smiled. "Can you keep a secret, Mister Lipwig?"
"Oh, yes, sir. I've kept lots."
"Capital. And the point is, so can I. You do not need to know.”
next prev parent reply other threads:[~2021-11-03 2:50 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-03 1:33 [PATCH] drm/amdgpu: remove duplicated kfd_resume_iommu James Zhu
2021-11-03 2:01 ` Alex Deucher
2021-11-03 2:50 ` Ken Moffat [this message]
2021-11-03 14:34 ` Zhu, James
2021-11-03 14:50 ` Alex Deucher
2021-11-03 15:03 ` Alex Deucher
2021-11-03 15:54 ` Zhu, James
2021-11-03 15:57 ` Alex Deucher
2021-11-05 2:31 ` Ken Moffat
2021-11-03 15:35 ` Alex Deucher
2021-11-03 15:40 ` Alex Deucher
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=YYH5An5dFpPAmSDv@llamedos.localdomain \
--to=zarniwhoop@ntlworld.com \
--cc=James.Zhu@amd.com \
--cc=alexander.deucher@amd.com \
--cc=alexdeucher@gmail.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=jzhums@gmail.com \
--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