drm/arm/hdlcd: use drm managed resources
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest4 patches 3 repliesIn review
- v37 patches 3 repliesSuperseded
- v26 patches 0 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 posting 3/3 | 7 patches | 7 replies | Superseded | |
| v1 posting 2/3 | 8 patches | 1 reply | Superseded | |
| v1 posting 1/3 | 7 patches | 0 replies | Superseded |
Changes in v4 from the cover letter
- Remove patches to protect platform device bound resources with drm_dev_{enter,exit}, since this would leave the hardware enabled when regularly unloading the driver e.g. via rmmod.
Instead do this in a later series, once we got drm_dev_unplug() in place to deal with a regular driver shutdown.
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | drm/arm/hdlcd: use drmm_* to allocate driver structuresdrivers/ drivers/ | +5 | 0 replies | |
| 2/4 | drm/arm/hdlcd: replace drm->dev_private with drm_to_hdlcd_priv()drivers/ drivers/ drivers/ | +8 | 0 replies | |
| 3/4 | drm/arm/hdlcd: plane: use drm managed resourcesdrivers/ | +6 | 0 replies | |
| 4/4 | drm/arm/hdlcd: remove calls to drm_mode_config_cleanup()drivers/ | +13 | 0 replies |
Reviews trailers per patch
None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Liviu Dudau |
|---|---|
| Series | A-b |
| 1/4 | |
| 2/4 | |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH drm-misc-next v4 0/4] drm/arm/hdlcd: use drm managed resources
Hi,
This patch series converts the driver to use drm managed resources to prevent potential use-after-free issues on driver unbind/rebind and to get rid of the usage of deprecated APIs.
Changes in v2:
- drop patch "drm/arm/hdlcd: crtc: use drmm_crtc_init_with_planes()"
Changes in v3:
- Fix alternate return paths in srcu read-side critical sections causing a stall when unregistering the driver.
- Fix potential null pointer dereference in hdlcd_crtc_cleanup() introduced dropping the patch in v2.
- Add a patch to remove explicit calls to drm_mode_config_cleanup().
Changes in v4:
- Remove patches to protect platform device bound resources with drm_dev_{enter,exit}, since this would leave the hardware enabled when regularly unloading the driver e.g. via rmmod.
Instead do this in a later series, once we got drm_dev_unplug() in place to deal with a regular driver shutdown.
Danilo Krummrich (4):
drm/arm/hdlcd: use drmm_* to allocate driver structures drm/arm/hdlcd: replace drm->dev_private with drm_to_hdlcd_priv() drm/arm/hdlcd: plane: use drm managed resources drm/arm/hdlcd: remove calls to drm_mode_config_cleanup()
drivers/gpu/drm/arm/hdlcd_crtc.c | 24 +++++++------------ drivers/gpu/drm/arm/hdlcd_drv.c | 41 ++++++++++++++++---------------- drivers/gpu/drm/arm/hdlcd_drv.h | 2 ++ 3 files changed, 32 insertions(+), 35 deletions(-)
base-commit: e1e7bc481d49c3e3ada11029ce0d9b85a0a539d7
Signature · 1 line
2.37.3