[PATCH 3/4] drm/amd/pm: add Renoir watermak WmType setting

Alex Deucher alexdeucher at gmail.com
Tue Sep 15 18:36:43 UTC 2020


On Mon, Sep 7, 2020 at 5:02 AM Evan Quan <evan.quan at amd.com> wrote:
>

Typo in the subject: watermak -> watermark


> Which tells it's a nomral pstate change or memory retraining.

Typo: nomral -> normal

with those fixed:
Acked-by: Alex Deucher <alexander.deucher at amd.com>

>
> Change-Id: I8619115486021537b52c067c4d0b9bfc1417fc35
> Signed-off-by: Evan Quan <evan.quan at amd.com>
> Tested-by: Changfeng Zhu <Changfeng.Zhu at amd.com>
> ---
>  drivers/gpu/drm/amd/pm/swsmu/smu12/renoir_ppt.c | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu12/renoir_ppt.c b/drivers/gpu/drm/amd/pm/swsmu/smu12/renoir_ppt.c
> index 53d8beffc74e..63c72e33222e 100644
> --- a/drivers/gpu/drm/amd/pm/swsmu/smu12/renoir_ppt.c
> +++ b/drivers/gpu/drm/amd/pm/swsmu/smu12/renoir_ppt.c
> @@ -887,6 +887,8 @@ static int renoir_set_watermarks_table(
>
>                         table->WatermarkRow[WM_DCFCLK][i].WmSetting =
>                                 clock_ranges->reader_wm_sets[i].wm_inst;
> +                       table->WatermarkRow[WM_DCFCLK][i].WmType =
> +                               clock_ranges->reader_wm_sets[i].wm_type;
>                 }
>
>                 for (i = 0; i < clock_ranges->num_writer_wm_sets; i++) {
> @@ -901,6 +903,8 @@ static int renoir_set_watermarks_table(
>
>                         table->WatermarkRow[WM_SOCCLK][i].WmSetting =
>                                 clock_ranges->writer_wm_sets[i].wm_inst;
> +                       table->WatermarkRow[WM_SOCCLK][i].WmType =
> +                               clock_ranges->writer_wm_sets[i].wm_type;
>                 }
>
>                 smu->watermarks_bitmap |= WATERMARKS_EXIST;
> --
> 2.28.0
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx


More information about the amd-gfx mailing list