Re: [PATCH v4 10/14] drm/msm: tear down only a successfully initialised KMS
From: Konrad Dybcio
Date: Mon Nov 30 2026 - 03:49:44 EST
On 11/27/26 8:44 PM, Dmitry Baryshkov wrote:
> All the kms drivers now undo their own failures in kms_init() and have
> folded their hardware setup into it.
>
> Drop ->hw_init(), call ->destroy() only for a KMS which was initialised
> successfully, and remove the flag which let the drivers opt in to that
> one at a time, as well as the handling of a half torn down KMS in
> msm_kms_destroy().
>
> Assisted-by: LLM
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxxxxxxxx>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>
Konrad