drm: remove deprecated functions
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest9 patches 35 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | drm: replace "drm_gem_object_unreference_unlocked" function with "*put_unlocked"drivers/ | +2 | 1 reply | |
| 2/9 | drm: remove deprecated "[__]drm_gem_object_[un]reference[_locked]" functionsinclude/ | +0 | 1 reply | |
| 3/9 | drm: replace "drm_dev_unref" function with "drm_dev_put"drivers/ drivers/ drivers/ +5 more | +15 | 11 replies | |
| 4/9 | drm: remove deprecated "drm_dev_unref" functiondrivers/ include/ | +0 | 1 reply | |
| 5/9 | drm: replace "drm_connector_unreference" with "drm_connector_put"drivers/ | +1 | 1 reply | |
| 6/9 | drm: remove deprecated "drm_connector_[un]reference" functionsinclude/ | +0 | 2 replies | |
| 7/9 | drm: remove deprecated "drm_framebuffer_[un]reference" functionsinclude/ | +0 | 1 reply | |
| 8/9 | drm: remove no longer needed drm-get-put coccinelle scriptscripts/ | +0 | 3 replies | |
| 9/9 | docs: drm: remove no longer relevant TODO entryDocumentation/ | +0 | 1 reply |
Reviews trailers per patch
3 of 9 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Linus Walleij | Boris Brezillon | Alexey Brodkin | Julia Lawall | Stefan Agner | Lyude Paul |
|---|---|---|---|---|---|---|
| Series | R-b | |||||
| 1/9 | ||||||
| 2/9 | ||||||
| 3/9 | A-b | A-b | A-b | |||
| 4/9 | ||||||
| 5/9 | ||||||
| 6/9 | R-b | |||||
| 7/9 | ||||||
| 8/9 | A-b A-b | |||||
| 9/9 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.
Cover letter [PATCH 0/9] drm: remove deprecated functions
Hi all,
One of the things in the DRM TODO list ("Documentation/gpu/todo.rst") was to "switch from reference/unreference to get/put". That's what this patch series is about.
In the past year or so most of the functions had already been renamed and only a few remained, which are the ones I fix here.
In addition, now that all calls to these deprecated functions are gone, this patch also removes their implementation and the coccinelle script that takes care of them (which is no longer needed).
Anyway, this is my first patch and I'm sure I've done something wrong. Please let me know :)
Fernando Ramos (9):
drm: replace "drm_gem_object_unreference_unlocked" function with
"*put_unlocked"
drm: remove deprecated "[__]drm_gem_object_[un]reference[_locked]"
functions
drm: replace "drm_dev_unref" function with "drm_dev_put"
drm: remove deprecated "drm_dev_unref" function
drm: replace "drm_connector_unreference" with "drm_connector_put"
drm: remove deprecated "drm_connector_[un]reference" functions
drm: remove deprecated "drm_framebuffer_[un]reference" functions
drm: remove no longer needed drm-get-put coccinelle script
docs: drm: remove no longer relevant TODO entry
Documentation/gpu/todo.rst | 17 ----- drivers/gpu/drm/arc/arcpgu_drv.c | 4 +- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 4 +- drivers/gpu/drm/bochs/bochs_mm.c | 4 +- drivers/gpu/drm/bridge/tc358764.c | 2 +- drivers/gpu/drm/drm_drv.c | 13 ---- drivers/gpu/drm/etnaviv/etnaviv_drv.c | 4 +- drivers/gpu/drm/mxsfb/mxsfb_drv.c | 4 +- drivers/gpu/drm/rcar-du/rcar_du_drv.c | 2 +- drivers/gpu/drm/shmobile/shmob_drm_drv.c | 4 +- drivers/gpu/drm/tve200/tve200_drv.c | 4 +- drivers/gpu/drm/zte/zx_drm_drv.c | 4 +- include/drm/drm_connector.h | 24 ------ include/drm/drm_drv.h | 1 - include/drm/drm_framebuffer.h | 24 ------ include/drm/drm_gem.h | 50 ------------- scripts/coccinelle/api/drm-get-put.cocci | 78 -------------------- 17 files changed, 18 insertions(+), 225 deletions(-) delete mode 100644 scripts/coccinelle/api/drm-get-put.cocci
Signature · 1 line
2.19.1