[PATCH 01/12] drm/amd/pm: drop unused structure members

Christian König ckoenig.leichtzumerken at gmail.com
Fri Feb 11 07:55:34 UTC 2022


Nice cleanup.

Can't say much about the rest, but this patch and patch #2 are 
Reviewed-by: Christian König <christian.koenig at amd.com>

Regards,
Christian.

Am 11.02.22 um 08:51 schrieb Evan Quan:
> Drop those members which get never used.
>
> Signed-off-by: Evan Quan <evan.quan at amd.com>
> Change-Id: Iec70ad1dfe2059be26843f378588e6c894e9cae8
> ---
>   drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h | 2 --
>   1 file changed, 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h b/drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h
> index fbef3ab8d487..fb32846a2d0e 100644
> --- a/drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h
> +++ b/drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h
> @@ -373,8 +373,6 @@ struct smu_dpm_context {
>   };
>   
>   struct smu_power_gate {
> -	bool uvd_gated;
> -	bool vce_gated;
>   	atomic_t vcn_gated;
>   	atomic_t jpeg_gated;
>   };



More information about the amd-gfx mailing list