mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-18 02:46:46 +07:00
4e7b212075
DRM core uses reference/unreference suffixes for refcounting functions, but kernel uses get/put (e.g. kref_get/put()). Replace reference/unreference with get/put for consistency and also it's shorter. The following cocci script was used to generate the patch: @@ expression e; @@ ( -drm_gem_object_reference(e); +drm_gem_object_get(e); | -drm_gem_object_unreference(e); +drm_gem_object_put(e); | -drm_gem_object_unreference_unlocked(e); +drm_gem_object_put_unlocked(e); ) Signed-off-by: Aastha Gupta <aastha.gupta4104@gmail.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/1508776686-29664-1-git-send-email-aastha.gupta4104@gmail.com |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
virtgpu_debugfs.c | ||
virtgpu_display.c | ||
virtgpu_drm_bus.c | ||
virtgpu_drv.c | ||
virtgpu_drv.h | ||
virtgpu_fb.c | ||
virtgpu_fence.c | ||
virtgpu_gem.c | ||
virtgpu_ioctl.c | ||
virtgpu_kms.c | ||
virtgpu_object.c | ||
virtgpu_plane.c | ||
virtgpu_prime.c | ||
virtgpu_ttm.c | ||
virtgpu_vq.c |