[PATCH] drm/amdgpu/navi10: add mclk to navi10_get_clock_by_type_with_latency

Alex Deucher alexdeucher at gmail.com
Tue Jan 28 21:05:15 UTC 2020


On Tue, Jan 28, 2020 at 1:50 PM Matt Coffin <mcoffin13 at gmail.com> wrote:
>
> Let me know if I'm not doing this correctly since I'm still new.
>
>
>
> Patch is
>
> Reviewed-by: Matt Coffin <mcoffin13 at gmail.com>

Thanks!

Alex

>
> On 1/25/20 11:33 AM, Alex Deucher wrote:
> > Doesn't seem to be used, but add it just in case.
> >
> > Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
> > ---
> >  drivers/gpu/drm/amd/powerplay/navi10_ppt.c | 2 ++
> >  1 file changed, 2 insertions(+)
> >
> > diff --git a/drivers/gpu/drm/amd/powerplay/navi10_ppt.c b/drivers/gpu/drm/amd/powerplay/navi10_ppt.c
> > index 015f5ea38901..f60762f9b143 100644
> > --- a/drivers/gpu/drm/amd/powerplay/navi10_ppt.c
> > +++ b/drivers/gpu/drm/amd/powerplay/navi10_ppt.c
> > @@ -1008,6 +1008,8 @@ static int navi10_get_clock_by_type_with_latency(struct smu_context *smu,
> >       case SMU_GFXCLK:
> >       case SMU_DCEFCLK:
> >       case SMU_SOCCLK:
> > +     case SMU_MCLK:
> > +     case SMU_UCLK:
> >               ret = smu_get_dpm_level_count(smu, clk_type, &level_count);
> >               if (ret)
> >                       return ret;
> >


More information about the amd-gfx mailing list