[PATCH] drm/ttm: Fix two race conditions

Julien Cristau jcristau at debian.org
Fri Oct 1 01:12:25 PDT 2010


On Thu, Sep 30, 2010 at 12:36:45 +0200, Thomas Hellstrom wrote:

> This fixes a race pointed out by Dave Airlie where we don't take a buffer
> object about to be destroyed off the LRU lists properly. It also fixes a rare
> case where a buffer object could be destroyed in the middle of an
> accelerated eviction.
> 
> The patch also adds a utility function that can be used to prematurely
> release GPU memory space usage of an object waiting to be destroyed.
> For example during eviction or swapout.
> 
> Signed-off-by: Thomas Hellstrom <thellstrom at vmware.com>

FWIW, from the debian bug:
Tested-by: "Eduardo I." <perseguidor at gmail.com>

Cheers,
Julien


More information about the dri-devel mailing list