mbox series

[v2,0/3] drm/msm: Replace {un/reference} with {put, get} functions

Message ID 20180816092653.25791-1-tzimmermann@suse.de (mailing list archive)
Headers show
Series drm/msm: Replace {un/reference} with {put, get} functions | expand

Message

Thomas Zimmermann Aug. 16, 2018, 9:26 a.m. UTC
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 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/disp/mdp5/mdp5_plane.c | 4 ++--
 drivers/gpu/drm/msm/msm_drv.c              | 8 ++++----
 drivers/gpu/drm/msm/msm_gem_submit.c       | 4 ++--
 7 files changed, 13 insertions(+), 13 deletions(-)

--
2.18.0