drm/panel: make prepare / enable / disable / unprepare return void
Status from this message: Applied to drm-misc-next, thanks!
Get series with b4
b4 am [email protected] change-id 20250401-panel-return-void-d461c71ebd35Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | drm/bridge: analogix_dp: drop extra calls to analogix_dp_prepare_panel()drivers/ | +1 | 4 replies | |
| 2/7 | drm/bridge: analogix_dp: drop unused argument to analogix_dp_prepare_panel()drivers/ | +5 | 2 replies | |
| 3/7 | drm/bridge: analogic_dp: drop panel_is_modesetdrivers/ drivers/ | +1 | 4 replies | |
| 4/7 | drm/bridge: analogic_dp: drop panel_lockdrivers/ drivers/ | +0 | 2 replies | |
| 5/7 | drm/bridge: analogix_dp: inline analogix_dp_prepare_panel()drivers/ | +10 | 2 replies | |
| 6/7 | drm/bridge: analogix_dp: ignore return values of drm_panel_* callsdrivers/ | +6 | 2 replies | |
| 7/7 | drm/panel: make prepare/enable and disable/unprepare calls return voiddrivers/ drivers/ include/ | +26 | 1 reply |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by.
| Patch | Neil Armstrong | Damon Ding |
|---|---|---|
| 1/7 | R-b | T-b |
| 2/7 | R-b | T-b |
| 3/7 | R-b | T-b |
| 4/7 | R-b | T-b |
| 5/7 | R-b | T-b |
| 6/7 | R-b | T-b |
| 7/7 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/7] drm/panel: make prepare / enable / disable / unprepare return void
While it makes sense for panel callbacks to be able to return an error, the state-management functions from drm_panel API are usually called from atomic callbacks, which can not fails and must return void. Make drm_panel_prepare(), drm_panel_enable(), drm_panel_disable() and drm_panel_unprepare() follow the same calling convention and return void.
---
Dmitry Baryshkov (7):
drm/bridge: analogix_dp: drop extra calls to analogix_dp_prepare_panel() drm/bridge: analogix_dp: drop unused argument to analogix_dp_prepare_panel() drm/bridge: analogic_dp: drop panel_is_modeset
drm/bridge: analogic_dp: drop panel_lock
drm/bridge: analogix_dp: inline analogix_dp_prepare_panel() drm/bridge: analogix_dp: ignore return values of drm_panel_* calls drm/panel: make prepare/enable and disable/unprepare calls return void
drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 107 ++------------------- drivers/gpu/drm/bridge/analogix/analogix_dp_core.h | 3 - drivers/gpu/drm/drm_panel.c | 54 ++++------- drivers/gpu/drm/panel/panel-newvision-nv3051d.c | 9 +- include/drm/drm_panel.h | 8 +- 5 files changed, 33 insertions(+), 148 deletions(-)
---
base-commit: bfb20a655848a9088e3e9ae24b1dcce1bbf016c2
change-id: 20250401-panel-return-void-d461c71ebd35
Best regards,
Signature · 1 line
Dmitry Baryshkov <[email protected]>