[PATCH v2 0/4] drm/ttm: Fixes around resources and bulk moves

From: Thomas Hellström
Date: Mon Jun 26 2023 - 05:19:32 EST


MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

A couple of ttm fixes for issues that either were hit while developing the
xe driver or, for the resource leak patches, discovered during code
inspection.

v2:
- Avoid a goto in patch 3 (Andi Shyti)
- Add some RB's

Thomas Hellström (4):
drm/ttm: Fix ttm_lru_bulk_move_pos_tail()
drm/ttm: Don't shadow the operation context
drm/ttm: Don't leak a resource on eviction error
drm/ttm: Don't leak a resource on swapout move error

drivers/gpu/drm/ttm/ttm_bo.c | 26 +++++++++++++-------------
drivers/gpu/drm/ttm/ttm_resource.c | 2 ++
2 files changed, 15 insertions(+), 13 deletions(-)

--
2.40.1