Re: [PATCH] drm/amdgpu: remove gpu info firmware of green sardine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 19, 2021 at 2:20 AM Liang, Prike <Prike.Liang@xxxxxxx> wrote:
>
> [AMD Official Use Only - Internal Distribution Only]
>
> > -----Original Message-----
> > From: Huang, Ray <Ray.Huang@xxxxxxx>
> > Sent: Tuesday, January 19, 2021 2:57 PM
> > To: Liang, Prike <Prike.Liang@xxxxxxx>
> > Cc: amd-gfx@xxxxxxxxxxxxxxxxxxxxx; Deucher, Alexander
> > <Alexander.Deucher@xxxxxxx>
> > Subject: Re: [PATCH] drm/amdgpu: remove gpu info firmware of green
> > sardine
> >
> > On Tue, Jan 19, 2021 at 02:25:36PM +0800, Liang, Prike wrote:
> > > [AMD Official Use Only - Internal Distribution Only]
> > >
> > > Thanks help clean up. Generally that seems fine but could we keep the
> > green sardine chip name to retrieve the GPU info FW when the IP discovery
> > fail back to legacy mode?
> >
> > Do you want to only clean MODULE_FIRMWARE(gpu_info.bin)? That's fine
> > for me.
> [Prike]  Yeah, that seems enough just remove the green sardine GPU info FW declared for amdgpu driver module.
> >

We can probably remove the renoir gpu_info firmware as well.  We use
the IP discovery table there as well at this point.

Alex


> > Thanks,
> > Ray
> >
> > >
> > > Anyway this patch is Reviewed-by: Prike Liang <Prike.Liang@xxxxxxx>
> > >
> > > Thanks,
> > > Prike
> > > > -----Original Message-----
> > > > From: Huang, Ray <Ray.Huang@xxxxxxx>
> > > > Sent: Tuesday, January 19, 2021 1:52 PM
> > > > To: amd-gfx@xxxxxxxxxxxxxxxxxxxxx
> > > > Cc: Deucher, Alexander <Alexander.Deucher@xxxxxxx>; Liang, Prike
> > > > <Prike.Liang@xxxxxxx>; Huang, Ray <Ray.Huang@xxxxxxx>
> > > > Subject: [PATCH] drm/amdgpu: remove gpu info firmware of green
> > > > sardine
> > > >
> > > > The ip discovery is supported on green sardine, it doesn't need gpu
> > > > info firmware anymore.
> > > >
> > > > Signed-off-by: Huang Rui <ray.huang@xxxxxxx>
> > > > ---
> > > >  drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 +--
> > > >  1 file changed, 1 insertion(+), 2 deletions(-)
> > > >
> > > > diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> > > > b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> > > > index 4d434803fb49..f1a426d8861d 100644
> > > > --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> > > > +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> > > > @@ -81,7 +81,6 @@
> > MODULE_FIRMWARE("amdgpu/navi10_gpu_info.bin");
> > > >  MODULE_FIRMWARE("amdgpu/navi14_gpu_info.bin");
> > > >  MODULE_FIRMWARE("amdgpu/navi12_gpu_info.bin");
> > > >  MODULE_FIRMWARE("amdgpu/vangogh_gpu_info.bin");
> > > > -MODULE_FIRMWARE("amdgpu/green_sardine_gpu_info.bin");
> > > >
> > > >  #define AMDGPU_RESUME_MS2000
> > > >
> > > > @@ -1825,7 +1824,7 @@ static int
> > > > amdgpu_device_parse_gpu_info_fw(struct amdgpu_device *adev)  if
> > > > (adev->apu_flags & AMD_APU_IS_RENOIR)  chip_name = "renoir";  else
> > > > -chip_name = "green_sardine";
> > > > +return 0;
> > > >  break;
> > > >  case CHIP_NAVI10:
> > > >  chip_name = "navi10";
> > > > --
> > > > 2.25.1
> > >
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@xxxxxxxxxxxxxxxxxxxxx
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
amd-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/amd-gfx



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux