Re: [PATCH 9/9] drm/ttm: make ttm_bo_get internal

2024-07-23 Thread Christian König
Am 16.07.24 um 23:37 schrieb Matthew Brost: On Tue, Jul 16, 2024 at 02:35:19PM +0200, Christian König wrote: Prevent drivers from using this directly. This is a good change. Early on in Xe, our reference counting for BOs was flawed (and incorrect) due to confusion between GEM ref count and TTM

Re: [PATCH 9/9] drm/ttm: make ttm_bo_get internal

2024-07-17 Thread Matthew Brost
On Tue, Jul 16, 2024 at 02:35:19PM +0200, Christian König wrote: > Prevent drivers from using this directly. > > Signed-off-by: Christian König Reviewed-by: Matthew Brost > --- > drivers/gpu/drm/ttm/ttm_bo_internal.h | 10 ++ > include/drm/ttm/ttm_bo.h | 10 -- >

Re: [PATCH 9/9] drm/ttm: make ttm_bo_get internal

2024-07-16 Thread Matthew Brost
On Tue, Jul 16, 2024 at 02:35:19PM +0200, Christian König wrote: > Prevent drivers from using this directly. > This is a good change. Early on in Xe, our reference counting for BOs was flawed (and incorrect) due to confusion between GEM ref count and TTM ref count. Is there any way we can just e

[PATCH 9/9] drm/ttm: make ttm_bo_get internal

2024-07-16 Thread Christian König
Prevent drivers from using this directly. Signed-off-by: Christian König --- drivers/gpu/drm/ttm/ttm_bo_internal.h | 10 ++ include/drm/ttm/ttm_bo.h | 10 -- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/gpu/drm/ttm/ttm_bo_internal.h b/dri