[PATCH 0/2] Clean-up TTM BO ref-counting interface
Thomas Zimmermann
tzimmermann at suse.de
Tue Jul 31 06:26:20 UTC 2018
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
More information about the dri-devel
mailing list