[Intel-gfx] [PATCH 4/4] drm/ttm: Don't leak a resource on swapout move error

Andi Shyti andi.shyti at linux.intel.com
Thu Jun 22 13:56:06 UTC 2023


Hi Thomas,

On Thu, Jun 22, 2023 at 12:14:12PM +0200, Thomas Hellström wrote:
> If moving the bo to system for swapout failed, we were leaking
> a resource. Fix.
> 
> Fixes: bfa3357ef9ab ("drm/ttm: allocate resource object instead of embedding it v2")
> Cc: Christian König <christian.koenig at amd.com>
> Cc: "Christian König" <ckoenig.leichtzumerken at gmail.com>
> Cc: dri-devel at lists.freedesktop.org
> Cc: <stable at vger.kernel.org> # v5.14+
> Signed-off-by: Thomas Hellström <thomas.hellstrom at linux.intel.com>

Reviewed-by: Andi Shyti <andi.shyti at linux.intel.com> 

Andi


More information about the dri-devel mailing list