[PATCH] drm/amdgpu/pp: remove duplicate assignment

Michel Dänzer michel at daenzer.net
Tue May 22 07:12:02 UTC 2018


On 2018-05-21 05:17 PM, Alex Deucher wrote:
> is_dpm_running callback was assigned to the same value
> twice.  Drop the duplicate.
> 
> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
> ---
>  drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c b/drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c
> index a40f7141131c..2de48959ac93 100644
> --- a/drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c
> +++ b/drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c
> @@ -2379,6 +2379,5 @@ const struct pp_smumgr_func vegam_smu_funcs = {
>  	.update_sclk_threshold = vegam_update_sclk_threshold,
>  	.is_hw_avfs_present = vegam_is_hw_avfs_present,
>  	.thermal_avfs_enable = vegam_thermal_avfs_enable,
> -	.is_dpm_running = vegam_is_dpm_running,
>  	.thermal_setup_fan_table = vegam_thermal_setup_fan_table,
>  };
> 

Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer


More information about the amd-gfx mailing list