linux-stable/drivers/gpu
Thomas Hellström a590f03d8d drm/ttm: Don't leak a resource on swapout move error
If moving the bo to system for swapout failed, we were leaking
a resource. Fix.

Fixes: bfa3357ef9 ("drm/ttm: allocate resource object instead of embedding it v2")
Cc: Christian König <christian.koenig@amd.com>
Cc: "Christian König" <ckoenig.leichtzumerken@gmail.com>
Cc: dri-devel@lists.freedesktop.org
Cc: <stable@vger.kernel.org> # v5.14+
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Nirmoy Das <nirmoy.das@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230626091450.14757-5-thomas.hellstrom@linux.intel.com
2023-06-27 08:56:23 +02:00
..
drm drm/ttm: Don't leak a resource on swapout move error 2023-06-27 08:56:23 +02:00
host1x drm/tegra: Changes for v6.4-rc1 2023-04-06 15:02:17 +02:00
ipu-v3 drm: Drop ARCH_MULTIPLATFORM from dependencies 2023-03-14 12:57:22 +01:00
trace
vga
Makefile