Skip to content

drm/ttm: Fixes around resources and bulk moves

Thomas Hellström dri-devel intel-gfx intel-xe lkml stable 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 9 repliesIn review
  2. v14 patches 10 repliesSuperseded

Changes in v2 from the cover letter

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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4drm/ttm: Fix ttm_lru_bulk_move_pos_tail()drivers/gpu/drm/ttm/ttm_resource.c+2 -01 reply
2/4drm/ttm: Don't shadow the operation contextdrivers/gpu/drm/ttm/ttm_bo.c+1 -23 replies
3/4drm/ttm: Don't leak a resource on eviction errordrivers/gpu/drm/ttm/ttm_bo.c+11 -112 replies
4/4drm/ttm: Don't leak a resource on swapout move errordrivers/gpu/drm/ttm/ttm_bo.c+1 -02 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchMatthew BrostNirmoy DasAndi ShytiChristian König
1/4
2/4A-b
3/4R-b R-b R-b
4/4R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v2 thread

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

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(-)
Signature · 1 line
2.40.1