Skip to content

drm/ttm: Small fixes / cleanups in prep for shrinking

Thomas Hellström dri-devel intel-gfx intel-xe 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest posting 2/23 patches 12 repliesIn review
  2. v3 posting 1/23 patches 0 repliesSuperseded
  3. v27 patches 11 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v1 RFC16 patches15 repliesSuperseded

Changes in v3 from the cover letter

- Rename __tm_pool_free() to ttm_pool_free_range(). Document.
- Compile-fix.

Patches in v3 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/ttm/pool: Fix ttm_pool_alloc error pathdrivers/gpu/drm/ttm/ttm_pool.c+51 -300 replies
2/3drm/ttm: Reduce the number of used allocation orders for TTM pagesdrivers/gpu/drm/ttm/ttm_pool.c+19 -1110 replies
3/3drm/ttm: Make the call to ttm_tt_populate() interruptible when faultingdrivers/gpu/drm/ttm/ttm_bo_vm.c+10 -30 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchChristian KönigDaniel Vetter
SeriesR-b
1/3
2/3R-b A-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH RESEND v3 0/3] drm/ttm: Small fixes / cleanups in prep for shrinking

I collected the, from my POW, uncontroversial patches from V1 of the TTM shrinker series, some corrected after the initial patch submission, one patch added from the Xe RFC ("drm/ttm: Don't print error message if eviction was interrupted"). It would be nice to have these reviewed and merged while reworking the rest.

v2:
- Simplify __ttm_pool_free().
- Fix the TTM_TT_FLAG bit numbers.
- Keep all allocation orders for TTM pages at or below PMD order

v3:
- Rename __tm_pool_free() to ttm_pool_free_range(). Document.
- Compile-fix.

Thomas Hellström (3):
drm/ttm/pool: Fix ttm_pool_alloc error path
drm/ttm: Reduce the number of used allocation orders for TTM pages drm/ttm: Make the call to ttm_tt_populate() interruptible when
faulting

 drivers/gpu/drm/ttm/ttm_bo_vm.c |  13 +++-
 drivers/gpu/drm/ttm/ttm_pool.c  | 111 ++++++++++++++++++++------------
 2 files changed, 80 insertions(+), 44 deletions(-)
Signature · 1 line
2.39.2