<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">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
You can have my RB on the first patch if you fix the compiler warnings.</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> amd-gfx <amd-gfx-bounces@lists.freedesktop.org> on behalf of Zhang, Jack (Jian) <Jack.Zhang1@amd.com><br>
<b>Sent:</b> Thursday, November 21, 2019 10:58 AM<br>
<b>To:</b> Alex Deucher <alexdeucher@gmail.com><br>
<b>Cc:</b> amd-gfx list <amd-gfx@lists.freedesktop.org><br>
<b>Subject:</b> Re: [PATCH 2/2] drm/amd/amdgpu/sriov skip RLCG s/r list for arcturus VF.</font>
<div> </div>
</div>
<div>
<div dir="auto" style="color:rgb(33,33,33); background-color:rgb(255,255,255); text-align:left">
Thanks Alex for this review. </div>
<div dir="auto" style="color:rgb(33,33,33); background-color:rgb(255,255,255); text-align:left">
<br>
</div>
<div dir="auto" style="color:rgb(33,33,33); background-color:rgb(255,255,255); text-align:left">
Both of the two patches will not influence bare-metal code path. </div>
<div dir="auto" style="color:rgb(33,33,33); background-color:rgb(255,255,255); text-align:left">
<br>
</div>
<div dir="auto" style="color:rgb(33,33,33); background-color:rgb(255,255,255); text-align:left">
B. R. </div>
<div dir="auto" style="color:rgb(33,33,33); background-color:rgb(255,255,255); text-align:left">
Jack </div>
<div id="x_ms-outlook-mobile-signature">
<div><br>
</div>
 <a href="https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Faka.ms%2Fghei36&data=02%7C01%7Calexander.deucher%40amd.com%7Cf350a586b8b840526a2c08d76e9bb538%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637099487450051533&sdata=ghsxwJqO5AO%2B2pBhPoQz70SkyYyeNCnA5FQMAHQVVpI%3D&reserved=0" originalsrc="https://aka.ms/ghei36" shash="bHmwcig1c/ivEqfeQ+XaQVVUj7qxHWBGX0ldZKiB9DSebI34lBdHcxM/Dv4d5JgvZCjm59fMeIc1SzAHsirRMN2AZXVyZV+f3SSQTlSvL09Z3BU7VECCkuGcwwRL+6WRjaeE0tZw3+IZJB3cgsdVUZswyTbL/cnsG+2zvEJDQk8=">Outlook
 for Android</a></div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Alex Deucher <alexdeucher@gmail.com><br>
<b>Sent:</b> Thursday, November 21, 2019 11:26:37 PM<br>
<b>To:</b> Zhang, Jack (Jian) <Jack.Zhang1@amd.com><br>
<b>Cc:</b> amd-gfx list <amd-gfx@lists.freedesktop.org><br>
<b>Subject:</b> Re: [PATCH 2/2] drm/amd/amdgpu/sriov skip RLCG s/r list for arcturus VF.</font>
<div> </div>
</div>
<div class="x_BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="x_PlainText">Nevermind.  I missed the sr-iov check. Patch is:<br>
Acked-by: Alex Deucher <alexander.deucher@amd.com><br>
<br>
On Thu, Nov 21, 2019 at 10:25 AM Alex Deucher <alexdeucher@gmail.com> wrote:<br>
><br>
> Won't this impact bare metal hw that needs this?<br>
><br>
> Alex<br>
><br>
> On Thu, Nov 21, 2019 at 1:17 AM Jack Zhang <Jack.Zhang1@amd.com> wrote:<br>
> ><br>
> > After rlcg fw 2.1, kmd driver starts to load extra fw for<br>
> > LIST_CNTL,GPM_MEM,SRM_MEM. We needs to skip the three fw<br>
> > because all rlcg related fw have been loaded by host driver.<br>
> > Guest driver would load the three fw fail without this change.<br>
> ><br>
> > Signed-off-by: Jack Zhang <Jack.Zhang1@amd.com><br>
> > ---<br>
> >  drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 5 ++++-<br>
> >  1 file changed, 4 insertions(+), 1 deletion(-)<br>
> ><br>
> > diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c<br>
> > index c3a42d3..eecde80 100644<br>
> > --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c<br>
> > +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c<br>
> > @@ -1470,7 +1470,10 @@ static int psp_np_fw_load(struct psp_context *psp)<br>
> >                     || ucode->ucode_id == AMDGPU_UCODE_ID_SDMA5<br>
> >                     || ucode->ucode_id == AMDGPU_UCODE_ID_SDMA6<br>
> >                     || ucode->ucode_id == AMDGPU_UCODE_ID_SDMA7<br>
> > -                   || ucode->ucode_id == AMDGPU_UCODE_ID_RLC_G))<br>
> > +                    || ucode->ucode_id == AMDGPU_UCODE_ID_RLC_G<br>
> > +                   || ucode->ucode_id == AMDGPU_UCODE_ID_RLC_RESTORE_LIST_CNTL<br>
> > +                   || ucode->ucode_id == AMDGPU_UCODE_ID_RLC_RESTORE_LIST_GPM_MEM<br>
> > +                   || ucode->ucode_id == AMDGPU_UCODE_ID_RLC_RESTORE_LIST_SRM_MEM))<br>
> >                         /*skip ucode loading in SRIOV VF */<br>
> >                         continue;<br>
> ><br>
> > --<br>
> > 2.7.4<br>
> ><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=02%7C01%7Calexander.deucher%40amd.com%7Cf350a586b8b840526a2c08d76e9bb538%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637099487450061527&sdata=FofOoED2ixVkMukh%2FOXH8mdtu%2B%2BwilXYGxbQVNRflUY%3D&reserved=0" originalsrc="https://lists.freedesktop.org/mailman/listinfo/amd-gfx" shash="v1wCxGgg8h9LTcYJBtTSE1i9EQ0P8bypOgG8IUjTyL5b8gnqWtckORm0cOCP4ZsSuMlCGFP0/KAzPSTzYHfZYt/EpzzHHQZAyKTUtPOQB1UIBUKYSv9OT7ETsISxGQV8lQDDptOXqvWD8VKJaAWTW8Bn2p45WHhlCyoRPwKEISc=">
https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Famd-gfx&amp;data=02%7C01%7CJack.Zhang1%40amd.com%7C62c30b71b3b8490862d808d76e973ae5%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637099468112639673&amp;sdata=iC932sWNGrLeexp7wIDdrZ7cjVBcFv5giOTC3uHdE%2Fk%3D&amp;reserved=0</a><br>
</div>
</span></font></div>
</div>
</body>
</html>