Re: [PATCH v3 10/14] drm/msm: tear down only a successfully initialised KMS

From: Konrad Dybcio

Date: Mon Oct 26 2026 - 05:50:27 EST


On 10/24/26 1:19 AM, 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>
> ---

Acked-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>

Konrad