[PATCH] drm/amd/pm: add the workload map for vangogh

Huang Rui ray.huang at amd.com
Wed Jan 13 05:31:48 UTC 2021


On Wed, Jan 13, 2021 at 01:02:30PM +0800, Du, Xiaojian wrote:
> From: Xiaojian Du <xiaojian.du at amd.com>
> 
> From: Xiaojian Du <Xiaojian.Du at amd.com>
> 
> This patch is to add the workload map for vangogh.
> 
> Signed-off-by: Xiaojian Du <Xiaojian.Du at amd.com>

Reviewed-by: Huang Rui <ray.huang at amd.com>

> ---
>  drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c b/drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c
> index 8737562f990f..7f78a9378f07 100644
> --- a/drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c
> +++ b/drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c
> @@ -1653,5 +1653,6 @@ void vangogh_set_ppt_funcs(struct smu_context *smu)
>  	smu->message_map = vangogh_message_map;
>  	smu->feature_map = vangogh_feature_mask_map;
>  	smu->table_map = vangogh_table_map;
> +	smu->workload_map = vangogh_workload_map;
>  	smu->is_apu = true;
>  }
> -- 
> 2.17.1
> 


More information about the amd-gfx mailing list