mbox series

[0/2] drm/amdgpu: Clean-up TTM BO ref-counting interface

Message ID 20180731071236.3707-1-tzimmermann@suse.de (mailing list archive)
Headers show
Series drm/amdgpu: Clean-up TTM BO ref-counting interface | expand

Message

Thomas Zimmermann July 31, 2018, 7:12 a.m. UTC
This patchset replaces ttm_bo_{reference/unref} with ttm_bo_{get,put},
which follow Linux' conventions for ref-counting functions.

v2:
 * use prefix drm/amdgpu

Thomas Zimmermann (2):
  drm/amdgpu: Replace ttm_bo_reference with ttm_bo_get
  drm/amdgpu: Replace ttm_bo_unref with ttm_bo_put

 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

--
2.18.0

Comments

Huang Rui July 31, 2018, 8:02 a.m. UTC | #1
On Tue, Jul 31, 2018 at 09:12:34AM +0200, Thomas Zimmermann wrote:
> This patchset replaces ttm_bo_{reference/unref} with ttm_bo_{get,put},
> which follow Linux' conventions for ref-counting functions.
> 
> v2:
>  * use prefix drm/amdgpu

I guess Chritian will help to fix the subject prefix, you actually needn't
send them again :-)

Thanks,
Ray

> 
> Thomas Zimmermann (2):
>   drm/amdgpu: Replace ttm_bo_reference with ttm_bo_get
>   drm/amdgpu: Replace ttm_bo_unref with ttm_bo_put
> 
>  drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 7 +++----
>  1 file changed, 3 insertions(+), 4 deletions(-)
> 
> --
> 2.18.0
> 
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx