Re: [PATCH v5 3/4] drm/panthor: enable fdinfo for memory stats

2024-09-04 Thread Boris Brezillon
On Tue, 3 Sep 2024 21:25:37 +0100 Adrián Larumbe wrote: > Implement drm object's status callback. > > Also, we consider a PRIME imported BO to be resident if its matching > dma_buf has an open attachment, which means its backing storage had already > been allocated. > > Signed-off-by: Adrián L

[PATCH v5 3/4] drm/panthor: enable fdinfo for memory stats

2024-09-03 Thread Adrián Larumbe
Implement drm object's status callback. Also, we consider a PRIME imported BO to be resident if its matching dma_buf has an open attachment, which means its backing storage had already been allocated. Signed-off-by: Adrián Larumbe Reviewed-by: Liviu Dudau --- drivers/gpu/drm/panthor/panthor_ge