<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<p style="font-family:Arial;font-size:10pt;color:#317100;margin:15pt;" align="Left">
[AMD Public Use]<br>
</p>
<br>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
We need to figure out what the root cause is then. If we can't figure it out soon, we should revert the change for navi1x and continue to debug it until we can find the root cause and we can safely re-enable it.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Alex<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Chen, Guchun <Guchun.Chen@amd.com><br>
<b>Sent:</b> Sunday, November 29, 2020 2:22 AM<br>
<b>To:</b> Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>; Kuehling, Felix <Felix.Kuehling@amd.com><br>
<b>Cc:</b> Gui, Jack <Jack.Gui@amd.com>; Zhou1, Tao <Tao.Zhou1@amd.com>; amd-gfx mailing list <amd-gfx@lists.freedesktop.org>; Huang, Ray <Ray.Huang@amd.com>; Deucher, Alexander <Alexander.Deucher@amd.com>; Zhang, Hawking <Hawking.Zhang@amd.com><br>
<b>Subject:</b> RE: [PATCH v3] drm/amd/amdgpu: set the default value of noretry to 1 for some dGPUs</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">[AMD Public Use]<br>
<br>
Hi Bas Nieuwenhuizen,<br>
<br>
I don't think direct revert is one right approach, though it's able to fix your problem. noretry=0 will cause other test failure on several ASICs.<br>
<br>
Regards,<br>
Guchun<br>
<br>
-----Original Message-----<br>
From: amd-gfx <amd-gfx-bounces@lists.freedesktop.org> On Behalf Of Bas Nieuwenhuizen<br>
Sent: Sunday, November 29, 2020 8:38 AM<br>
To: Kuehling, Felix <Felix.Kuehling@amd.com><br>
Cc: Gui, Jack <Jack.Gui@amd.com>; Chen, Guchun <Guchun.Chen@amd.com>; Zhou1, Tao <Tao.Zhou1@amd.com>; amd-gfx mailing list <amd-gfx@lists.freedesktop.org>; Huang, Ray <Ray.Huang@amd.com>; Deucher, Alexander <Alexander.Deucher@amd.com>; Zhang, Hawking <Hawking.Zhang@amd.com><br>
Subject: Re: [PATCH v3] drm/amd/amdgpu: set the default value of noretry to 1 for some dGPUs<br>
<br>
Can we revert this patch to fix<br>
<a href="https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitlab.freedesktop.org%2Fdrm%2Famd%2F-%2Fissues%2F1374&data=04%7C01%7Cguchun.chen%40amd.com%7C6d626e2a3bae4877024f08d893ff15db%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637422071085800476%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=Jxa2V1TuszoBKtF%2FPbIA3YwOrXHgLreBY%2FXej1HTZ4k%3D&reserved=0">https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitlab.freedesktop.org%2Fdrm%2Famd%2F-%2Fissues%2F1374&data=04%7C01%7Cguchun.chen%40amd.com%7C6d626e2a3bae4877024f08d893ff15db%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637422071085800476%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=Jxa2V1TuszoBKtF%2FPbIA3YwOrXHgLreBY%2FXej1HTZ4k%3D&reserved=0</a>
?<br>
<br>
On Thu, Oct 15, 2020 at 4:30 PM Felix Kuehling <felix.kuehling@amd.com> wrote:<br>
><br>
> Am 2020-10-14 um 11:35 p.m. schrieb Chengming Gui:<br>
> > noretry = 0 cause some dGPU's kfd page fault tests fail, so set <br>
> > noretry to 1 for these special ASICs:<br>
> > vega20/navi10/navi14/ARCTURUS<br>
> ><br>
> > v2: merge raven and default case due to the same setting<br>
> > v3: remove ARCTURUS<br>
> ><br>
> > Signed-off-by: Chengming Gui <Jack.Gui@amd.com><br>
> > Change-Id: I3be70f463a49b0cd5c56456431d6c2cb98b13872<br>
><br>
> Acked-by: Felix Kuhling <Felix.Kuehling@amd.com><br>
><br>
><br>
> > ---<br>
> > drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 23 <br>
> > +++++++++++++++--------<br>
> > 1 file changed, 15 insertions(+), 8 deletions(-)<br>
> ><br>
> > diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c <br>
> > b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c<br>
> > index 36604d751d62..f26eb4e54b12 100644<br>
> > --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c<br>
> > +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c<br>
> > @@ -425,20 +425,27 @@ void amdgpu_gmc_noretry_set(struct amdgpu_device *adev)<br>
> > struct amdgpu_gmc *gmc = &adev->gmc;<br>
> ><br>
> > switch (adev->asic_type) {<br>
> > - case CHIP_RAVEN:<br>
> > - /* Raven currently has issues with noretry<br>
> > - * regardless of what we decide for other<br>
> > - * asics, we should leave raven with<br>
> > - * noretry = 0 until we root cause the<br>
> > - * issues.<br>
> > + case CHIP_VEGA20:<br>
> > + case CHIP_NAVI10:<br>
> > + case CHIP_NAVI14:<br>
> > + /*<br>
> > + * noretry = 0 will cause kfd page fault tests fail<br>
> > + * for some ASICs, so set default to 1 for these ASICs.<br>
> > */<br>
> > if (amdgpu_noretry == -1)<br>
> > - gmc->noretry = 0;<br>
> > + gmc->noretry = 1;<br>
> > else<br>
> > gmc->noretry = amdgpu_noretry;<br>
> > break;<br>
> > + case CHIP_RAVEN:<br>
> > default:<br>
> > - /* default this to 0 for now, but we may want<br>
> > + /* Raven currently has issues with noretry<br>
> > + * regardless of what we decide for other<br>
> > + * asics, we should leave raven with<br>
> > + * noretry = 0 until we root cause the<br>
> > + * issues.<br>
> > + *<br>
> > + * default this to 0 for now, but we may want<br>
> > * to change this in the future for certain<br>
> > * GPUs as it can increase performance in<br>
> > * certain cases.<br>
> _______________________________________________<br>
> amd-gfx mailing list<br>
> amd-gfx@lists.freedesktop.org<br>
> <a href="https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flist">
https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flist</a><br>
> s.freedesktop.org%2Fmailman%2Flistinfo%2Famd-gfx&data=04%7C01%7Cgu<br>
> chun.chen%40amd.com%7C6d626e2a3bae4877024f08d893ff15db%7C3dd8961fe4884<br>
> e608e11a82d994e183d%7C0%7C0%7C637422071085800476%7CUnknown%7CTWFpbGZsb<br>
> 3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%<br>
> 7C1000&sdata=VFqegGwPCj10q3Y5BdZsVq2a%2B4Tb358mYVDaNkA9zLU%3D&<br>
> reserved=0<br>
_______________________________________________<br>
amd-gfx mailing list<br>
amd-gfx@lists.freedesktop.org<br>
<a href="https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Famd-gfx&data=04%7C01%7Cguchun.chen%40amd.com%7C6d626e2a3bae4877024f08d893ff15db%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637422071085800476%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=VFqegGwPCj10q3Y5BdZsVq2a%2B4Tb358mYVDaNkA9zLU%3D&reserved=0">https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Famd-gfx&data=04%7C01%7Cguchun.chen%40amd.com%7C6d626e2a3bae4877024f08d893ff15db%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637422071085800476%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=VFqegGwPCj10q3Y5BdZsVq2a%2B4Tb358mYVDaNkA9zLU%3D&reserved=0</a><br>
</div>
</span></font></div>
</div>
</body>
</html>