Re: [PATCH v3 4/4] drm/panel: novatek-nt36536: reject enable when prepare failed

From: Qianhui Xu

Date: Thu Dec 03 2026 - 09:38:27 EST


Hi Neil,
You are right, and I am withdrawing 4/4. Patches 1/4 to 3/4 are unchanged
and can be picked up as they are.

For the core side: drm_panel_prepare() is void and returns early when
funcs->prepare() fails, and drm_panel_enable() then calls funcs->enable()
regardless, with panel->prepared still false. The fix is to keep the
failed state in the core and not enable the panel afterwards.

I will write that as a separate change against drm-misc-next, after going
through the in-tree callers of drm_panel_enable(), and post it on its own
so this series is not held up by it.
Regards, Qianhui
---
Prepared with AI assistance (pi coding agent); reviewed and edited by me.