[PATCH] drm/amd/powerplay:clean up the residual mutex for smu_hw_init

Quan, Evan Evan.Quan at amd.com
Tue Jun 25 07:27:28 UTC 2019


With the patch header updated, the patch is Reviewed-by: Evan Quan <evan.quan at amd.com>

> -----Original Message-----
> From: amd-gfx <amd-gfx-bounces at lists.freedesktop.org> On Behalf Of
> Prike Liang
> Sent: Monday, June 24, 2019 5:38 PM
> To: amd-gfx at lists.freedesktop.org
> Cc: Liang, Prike <Prike.Liang at amd.com>; Huang, Ray
> <Ray.Huang at amd.com>; Feng, Kenneth <Kenneth.Feng at amd.com>; Quan,
> Evan <Evan.Quan at amd.com>
> Subject: [PATCH] drm/amd/powerplay:clean up the residual mutex for
> smu_hw_init
> 
> Change-Id: I1f071e465c97f70048df5b24466bc7e225833c7f
> Signed-off-by: Prike Liang <Prike.Liang at amd.com>
> ---
>  drivers/gpu/drm/amd/powerplay/amdgpu_smu.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
> b/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
> index edd1da6..0be2845 100644
> --- a/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
> +++ b/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
> @@ -1041,7 +1041,6 @@ static int smu_hw_init(void *handle)
>  	return 0;
> 
>  failed:
> -	mutex_unlock(&smu->mutex);
>  	return ret;
>  }
> 
> --
> 2.7.4
> 
> _______________________________________________
> 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