Skip to content

Clean-up TTM BO ref-counting interface

Thomas Zimmermann dri-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Replace ttm_bo_reference with ttm_bo_getdrivers/gpu/drm/vmwgfx/vmwgfx_bo.c drivers/gpu/drm/vmwgfx/vmwgfx_drv.h drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c +1 more+13 -90 replies
2/2drm/vmwgfx: Replace ttm_bo_unref with ttm_bo_putdrivers/gpu/drm/vmwgfx/vmwgfx_bo.c drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c drivers/gpu/drm/vmwgfx/vmwgfx_drv.h +3 more+38 -250 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel