[PATCH 0/3] Provide ttm_bo_{get,put} for TMM BO ref-counting

Thomas Zimmermann contact at tzimmermann.org
Thu Jun 21 15:30:20 UTC 2018


Hi

>> This patch set introduces ttm_bo_get() and ttm_bo_put(), and converts
>> TTM to the new functions. The old functions remain in place until all
>> callers have been converted.
>
> Thanks, series is Reviewed-by: Christian König
> <christian.koenig at amd.com> and I'm going to pick it up for our
> internal TTM branch.
>
> It is appreciated that you do this only one driver/component at a time
> and not in a massive change.
>
> Are you planning to stick with applying that to the individual drivers
> using it?

Thank you so much for the prompt response. I actually do have the driver
patches done, but wanted to get the cleaned up interfaces merged first.

Best regards
Thomas

BTW <Hongbo.He at amd.com> is in MAINTAINERS, but returns a 'delivery
failed' message from the mail server.


>
> Thanks,
> Christian.
>
>>
>> Thomas Zimmermann (3):
>>    drm/ttm: Introduce ttm_bo_get() and ttm_bo_put() for ref counting
>>    drm/ttm: Replace ttm_bo_reference() with ttm_bo_get()
>>    drm/ttm: Replace ttm_bo_unref() with ttm_bo_put()
>>
>>   drivers/gpu/drm/ttm/ttm_bo.c      | 10 ++++++++--
>>   drivers/gpu/drm/ttm/ttm_bo_util.c | 11 ++++++-----
>>   drivers/gpu/drm/ttm/ttm_bo_vm.c   | 18 ++++++++++--------
>>   include/drm/ttm/ttm_bo_api.h      | 25 ++++++++++++++++++++++++-
>>   4 files changed, 48 insertions(+), 16 deletions(-)
>>
>> -- 
>> 2.14.4
>>
>> _______________________________________________
>> dri-devel mailing list
>> dri-devel at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/dri-devel
>



More information about the dri-devel mailing list