[Freedreno] [bug report] drm/msm/a6xx: Send ACD state to QMP at GMU resume

Dan Carpenter dan.carpenter at linaro.org
Fri Oct 13 06:57:47 UTC 2023


On Thu, Oct 12, 2023 at 06:33:20PM +0200, Konrad Dybcio wrote:
> @@ -1810,8 +1816,8 @@ int a6xx_gmu_init(struct a6xx_gpu *a6xx_gpu, struct
> device_node *node)
> 
>  	return 0;
> 
> -	if (!IS_ERR_OR_NULL(gmu->qmp))
> -		qmp_put(gmu->qmp);
> +remove_device_link:
> +	device_link_del(link);
> 

This patch looks good to me but there is something happening here which
I don't understand.  This is not related to you patch, but where does
the device_link_del() happen in the remove() function?

regards,
dan carpenter



More information about the Freedreno mailing list