Re: [PATCH] drm/hisilicon: Replace ttm_bo_unref with ttm_bo_put

2018-09-25 Thread Xinliang Liu
Hi Thomas, sorry for too late to reply. On Tue, 31 Jul 2018 at 14:33, Thomas Zimmermann wrote: > > The function ttm_bo_put releases a reference to a TTM buffer object. The > function's name is more aligned to the Linux kernel convention of naming > ref-counting function _get and _put. > > A call

[PATCH] drm/hisilicon: Replace ttm_bo_unref with ttm_bo_put

2018-07-30 Thread Thomas Zimmermann
The function ttm_bo_put releases a reference to a TTM buffer object. The function's name is more aligned to the Linux kernel convention of naming ref-counting function _get and _put. A call to ttm_bo_unref takes the address of the TTM BO object's pointer and clears the pointer's value to NULL. Thi