linux_dsm_epyc7002/drivers/gpu/drm/virtio
Aastha Gupta 4e7b212075 drm: virtio: replace reference/unreference with get/put
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
2017-10-30 10:59:10 +01:00
..
Kconfig drm: fix compilations issues introduced by "drm: allow to use mmuless SoC" 2017-01-09 11:30:30 +01:00
Makefile drm/virtio: fix include notation and remove -Iinclude/drm flag 2017-05-18 07:12:31 +02:00
virtgpu_debugfs.c drm/virtio: fix include notation and remove -Iinclude/drm flag 2017-05-18 07:12:31 +02:00
virtgpu_display.c drm/virtio: Replace instances of reference/unreference with get/put 2017-10-02 09:48:54 +02:00
virtgpu_drm_bus.c drm: Remove drm_device->virtdev 2017-05-29 20:57:25 +02:00
virtgpu_drv.c drm/virtio: Use the drm_driver.dumb_destroy default 2017-08-16 20:20:00 +02:00
virtgpu_drv.h drm/virtio: Use the drm_driver.dumb_destroy default 2017-08-16 20:20:00 +02:00
virtgpu_fb.c drm/virtio: make drm_fb_helper_funcs const 2017-08-09 18:38:56 +02:00
virtgpu_fence.c dma-buf: Rename struct fence to dma_fence 2016-10-25 14:40:39 +02:00
virtgpu_gem.c drm/virtio: Replace instances of reference/unreference with get/put 2017-10-02 09:48:54 +02:00
virtgpu_ioctl.c drm: virtio: replace reference/unreference with get/put 2017-10-30 10:59:10 +01:00
virtgpu_kms.c drm: Remove drm_device->virtdev 2017-05-29 20:57:25 +02:00
virtgpu_object.c drm/virtio: don't leak bo on drm_gem_object_init failure 2017-04-07 13:29:17 +02:00
virtgpu_plane.c drm: Plumb modifiers through plane init 2017-08-01 17:50:06 +01:00
virtgpu_prime.c virtio-gpu: add basic prime support 2015-10-16 10:44:02 +02:00
virtgpu_ttm.c drm/ttm: make ttm_mem_type_manager_func debug more useful 2017-08-17 15:45:59 -04:00
virtgpu_vq.c drm: virtio: fix kmem_cache_alloc error check 2017-03-14 11:54:19 +01:00