Skip to content

drm/msm: Replace {un/reference} with {put, get} functions

Thomas Zimmermann dri-devel linux-arm-msm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest3 patches 2 repliesIn review

Changes in v3 from the cover letter

* fixed an instance in a6xx_destroy()

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/msm: Replace drm_framebuffer_{un/reference} with put, get functionsdrivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c+2 -20 replies
2/3drm/msm: Replace drm_gem_object_{un/reference} with put, get functionsdrivers/gpu/drm/msm/adreno/a5xx_debugfs.c drivers/gpu/drm/msm/adreno/a5xx_gpu.c drivers/gpu/drm/msm/adreno/a5xx_power.c +3 more+8 -82 replies
3/3drm/msm: Replace drm_dev_unref with drm_dev_putdrivers/gpu/drm/msm/msm_drv.c+4 -40 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchJordan Crouse
1/3
2/3R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/3] drm/msm: Replace {un/reference} with {put, get} functions

This patch set replaces functions named {un,reference} by their {put,get} counterparts. Affected data types are struct struct drm_framebuffer, struct drm_gem_object, and struct drm_device.

With the reference-counting functions being named {put,get}, the DRM interface is more aligned to Linux kernel nameing standard. The patch set does not change driver-internal interfaces.

Changes since v2:
* fixed an instance in a6xx_destroy()

Changes since v1:
* rebased on 4.18
* adapted to changes in msm_drv.c and adreno/a5xx_gpu.c

Thomas Zimmermann (3):
drm/msm: Replace drm_framebuffer_{un/reference} with put,get functions drm/msm: Replace drm_gem_object_{un/reference} with put,get functions drm/msm: Replace drm_dev_unref with drm_dev_put

 drivers/gpu/drm/msm/adreno/a5xx_debugfs.c  | 4 ++--
 drivers/gpu/drm/msm/adreno/a5xx_gpu.c      | 2 +-
 drivers/gpu/drm/msm/adreno/a5xx_power.c    | 2 +-
 drivers/gpu/drm/msm/adreno/a5xx_preempt.c  | 2 +-
 drivers/gpu/drm/msm/adreno/a6xx_gpu.c      | 2 +-
 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c | 4 ++--
 drivers/gpu/drm/msm/msm_drv.c              | 8 ++++----
 drivers/gpu/drm/msm/msm_gem_submit.c       | 4 ++--
 8 files changed, 14 insertions(+), 14 deletions(-)

--
2.19.0

_______________________________________________
Freedreno mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/freedreno