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

From: Thomas Hellström
Date: Tue Jun 27 2023 - 05:07:48 EST



On 6/26/23 11:14, Thomas Hellström wrote:
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(-)

Pushed 2/4 to drm-misc-next, 3/4 & 4/4 to drm-misc-fixes.

/Thomas