Re: [PATCH v5 5/6] drm/panfrost: Implement generic DRM object RSS reporting function

2023-09-18 Thread Steven Price
On 18/09/2023 11:32, Boris Brezillon wrote: > On Mon, 18 Sep 2023 11:01:43 +0100 > Steven Price wrote: > >> On 14/09/2023 23:38, Adrián Larumbe wrote: >>> BO's RSS is updated every time new pages are allocated on demand and mapped >>> for the object at GPU page fault's IRQ handler, but only for h

Re: [PATCH v5 5/6] drm/panfrost: Implement generic DRM object RSS reporting function

2023-09-18 Thread Boris Brezillon
On Mon, 18 Sep 2023 11:01:43 +0100 Steven Price wrote: > On 14/09/2023 23:38, Adrián Larumbe wrote: > > BO's RSS is updated every time new pages are allocated on demand and mapped > > for the object at GPU page fault's IRQ handler, but only for heap buffers. > > The reason this is unnecessary for

Re: [PATCH v5 5/6] drm/panfrost: Implement generic DRM object RSS reporting function

2023-09-18 Thread Steven Price
On 14/09/2023 23:38, Adrián Larumbe wrote: > BO's RSS is updated every time new pages are allocated on demand and mapped > for the object at GPU page fault's IRQ handler, but only for heap buffers. > The reason this is unnecessary for non-heap buffers is that they are mapped > onto the GPU's VA spa

[PATCH v5 5/6] drm/panfrost: Implement generic DRM object RSS reporting function

2023-09-14 Thread Adrián Larumbe
BO's RSS is updated every time new pages are allocated on demand and mapped for the object at GPU page fault's IRQ handler, but only for heap buffers. The reason this is unnecessary for non-heap buffers is that they are mapped onto the GPU's VA space and backed by physical memory in their entirety