]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: switch to drm_*{get,put} helpers
authorCihangir Akturk <cakturk@gmail.com>
Thu, 3 Aug 2017 11:58:16 +0000 (14:58 +0300)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Aug 2017 18:46:12 +0000 (14:46 -0400)
commit58bdab029ce67de292e623746d8a075ce98f43f3
treee78fda8410148279d813a9b5ecf77f82e997459b
parentf3534738f26340cd18c0f2a5b6dc648ff1262137
drm/amdgpu: switch to drm_*{get,put} helpers

drm_*_reference() and drm_*_unreference() functions are just
compatibility alias for drm_*_get() and drm_*_put() and should not be
used by new code. So convert all users of compatibility functions to use
the new APIs.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Cihangir Akturk <cakturk@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
drivers/gpu/drm/amd/amdgpu/dce_v10_0.c
drivers/gpu/drm/amd/amdgpu/dce_v11_0.c
drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c