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

2018-08-09 Thread Gerd Hoffmann
> Signed-off-by: Thomas Zimmermann > --- > drivers/gpu/drm/cirrus/cirrus_main.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/cirrus/cirrus_main.c > b/drivers/gpu/drm/cirrus/cirrus_main.c > index 60d54e10a34d..57f8fe6d020b 100644 > --- a/drivers/gpu/dr

[PATCH] drm/cirrus: 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