Re: [PATCH 1/2] drm/panfrost: Consider dma-buf imported objects as resident

2023-11-27 Thread Steven Price
On 25/11/2023 20:52, Adrián Larumbe wrote: > A GEM object constructed from a dma-buf imported sgtable should be regarded > as being memory resident, because the dma-buf API mandates backing storage > to be allocated when attachment succeeds. This obviously can cause a bit of double-counting system

[PATCH 1/2] drm/panfrost: Consider dma-buf imported objects as resident

2023-11-25 Thread Adrián Larumbe
A GEM object constructed from a dma-buf imported sgtable should be regarded as being memory resident, because the dma-buf API mandates backing storage to be allocated when attachment succeeds. Signed-off-by: Adrián Larumbe Fixes: 9ccdac7aa822 ("drm/panfrost: Add fdinfo support for memory stats")