mbox series

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

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

Message

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

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

 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c       | 11 ++++-------
 drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c   | 11 +++++++----
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h      |  7 +++----
 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c  | 24 ++++++++++++++++--------
 drivers/gpu/drm/vmwgfx/vmwgfx_mob.c      | 21 ++++++++++++++-------
 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c |  9 ++++++---
 6 files changed, 50 insertions(+), 33 deletions(-)

--
2.18.0