Re: [PATCH v3] drm/panel: skip enable after a failed prepare
From: Qianhui Xu
Date: Fri Dec 04 2026 - 04:05:33 EST
Hi,
disclosure first: I draft these mails with an AI assistant and edit them
myself; the content, the measurements and the decisions are mine.
Thanks for the review.
- [Low] "overly broad locking claim": correct, the claim should be scoped to
the four drm_panel helpers. Four panel drivers still read the flags without
follower_lock (panel-anapass-ana38407.c:228, panel-samsung-sofef00.c:179,
panel-synaptics-tddi.c:59, panel-samsung-s6e8aa5x01-ams561ra01.c:768, all in
the backlight ->update_status() path). The message should not claim more
than "the four drm_panel helpers".
- [Low] stale follower_lock doc: correct. include/drm/drm_panel.h still says
only "Lock for followers list." while prepared/enabled/prepare_failed are
now documented against that lock.
The [Medium] race reported on v2 is addressed in v3: the four helpers take
follower_lock before looking at the state, so a concurrent prepare can no
longer leave prepared && prepare_failed behind.
Would you prefer the two doc/wording fixes as a v4 respin of the single
patch, or should I keep them for a follow-up? I have not sent a v4.
Regards,
Qianhui