Re: [PATCH v2] drm/i915: Flush buffer pools on driver remove

2021-09-24 Thread Matt Roper
On Fri, Sep 24, 2021 at 06:38:25PM +0200, Janusz Krzysztofik wrote: > We currently do an explicit flush of the buffer pools within the call path > of drm_driver.release(); this removes all buffers, regardless of their age, > freeing the buffers' associated resources (objects, adress space areas). >

[PATCH v2] drm/i915: Flush buffer pools on driver remove

2021-09-24 Thread Janusz Krzysztofik
We currently do an explicit flush of the buffer pools within the call path of drm_driver.release(); this removes all buffers, regardless of their age, freeing the buffers' associated resources (objects, adress space areas). However there is other code that runs within the drm_driver.release() call