[PATCH 1/1] drm/amd/powerplay: Fix DCEFCLK related compilation error for arcturus

Deucher, Alexander Alexander.Deucher at amd.com
Tue Jun 23 16:40:27 UTC 2020


[AMD Public Use]

No problem.

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
________________________________
From: Das, Nirmoy <Nirmoy.Das at amd.com>
Sent: Tuesday, June 23, 2020 12:04 PM
To: Nirmoy Das <nirmoy.aiemd at gmail.com>; amd-gfx at lists.freedesktop.org <amd-gfx at lists.freedesktop.org>
Cc: Deucher, Alexander <Alexander.Deucher at amd.com>; Das, Nirmoy <Nirmoy.Das at amd.com>
Subject: Re: [PATCH 1/1] drm/amd/powerplay: Fix DCEFCLK related compilation error for arcturus


On 6/23/20 5:59 PM, Nirmoy Das wrote:
> arcturus doesn't support DCEFCLK
>
> Fixes: c67c791cd87d (drm/amd/powerplay: return current DCEFCLK on sysfs read)


Hi Alex,


Can you please squash this with c67c791cd87d (drm/amd/powerplay: return
current DCEFCLK on sysfs read)

I was bit too confident that arcturus changes would just work.


Regards,

Nirmoy


>
> Signed-off-by: Nirmoy Das <nirmoy.das at amd.com>
> ---
>   drivers/gpu/drm/amd/powerplay/arcturus_ppt.c | 3 ---
>   1 file changed, 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/powerplay/arcturus_ppt.c b/drivers/gpu/drm/amd/powerplay/arcturus_ppt.c
> index daeae14fd380..d93f8a43a96f 100644
> --- a/drivers/gpu/drm/amd/powerplay/arcturus_ppt.c
> +++ b/drivers/gpu/drm/amd/powerplay/arcturus_ppt.c
> @@ -962,9 +962,6 @@ static int arcturus_get_smu_metrics_data(struct smu_context *smu,
>        case METRICS_CURR_FCLK:
>                *value = metrics->CurrClock[PPCLK_FCLK];
>                break;
> -     case METRICS_CURR_DCEFCLK:
> -             *value = metrics->CurrClock[PPCLK_DCEFCLK];
> -             break;
>        case METRICS_AVERAGE_GFXCLK:
>                *value = metrics->AverageGfxclkFrequency;
>                break;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20200623/d9638df4/attachment-0001.htm>


More information about the amd-gfx mailing list