Cleanup TTMs delayed delete handling
Daniel Vetter
daniel at ffwll.ch
Tue Feb 11 11:13:21 UTC 2020
On Tue, Feb 11, 2020 at 11:06:53AM +0000, Pan, Xinhui wrote:
> [AMD Official Use Only - Internal Distribution Only]
Uh might want to fix your email setup.
-Daniel
>
> For patch 1/2/3/5/6
> Reviewed-by: xinhui pan <xinhui.pan at amd.com>
> ________________________________
> From: Christian König <ckoenig.leichtzumerken at gmail.com>
> Sent: Monday, February 10, 2020 11:09:01 PM
> To: Pan, Xinhui <Xinhui.Pan at amd.com>; amd-gfx at lists.freedesktop.org <amd-gfx at lists.freedesktop.org>; dri-devel at lists.freedesktop.org <dri-devel at lists.freedesktop.org>
> Subject: Cleanup TTMs delayed delete handling
>
> This series of patches cleans up TTMs delayed delete handling.
>
> The core of the new handling is that we new only have a single reference counter instead of two and use kref_get_unless_zero() to grab BOs from the LRU during eviction.
>
> This reduces the overhead of LRU moves and allows us to properly individualize the BOs reservation object during deletion to allow adding BOs for clearing memory, unmapping page tables etc..
>
> Please review and comment,
> Christian.
>
>
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
More information about the amd-gfx
mailing list