Skip to content

drm/ttm: Improve the TTM operation context gfp_retry_mayfail behaviour

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

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 5 repliesIn review
  2. v12 patches 5 repliesSuperseded

Changes in v2 from the cover letter

- Add patch 3. (Sima).

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/ttm: Don't spam the log on buffer object backing store allocation failuredrivers/gpu/drm/ttm/ttm_pool.c+1 -10 replies
2/3drm/ttm: Avoid invoking the OOM killer when reading back swapped contentdrivers/gpu/drm/ttm/ttm_backup.c drivers/gpu/drm/ttm/ttm_pool.c include/drm/ttm/ttm_backup.h+9 -40 replies
3/3drm/ttm: Update the struct ttm_operation_ctx kerneldocinclude/drm/ttm/ttm_bo.h+19 -91 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchMatthew BrostSimona VetterMaarten Lankhorst
1/3R-b R-b
2/3R-b
3/3R-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 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/3] drm/ttm: Improve the TTM operation context gfp_retry_mayfail behaviour

Two small patches around the gfp_retry_mayfail behaviour, and one patch to improve associated kerneldoc.

Patch 1 ensures we don't spam the kernel log on allocation failures.

Patch 2 extends the gfp_retry_mayfail to swap readback.

Patch 3 Improves on the associated kerneldocs.

v2:
- Add patch 3. (Sima).

Thomas Hellström (3):
drm/ttm: Don't spam the log on buffer object backing store allocation
failure
drm/ttm: Avoid invoking the OOM killer when reading back swapped
content
drm/ttm: Update the struct ttm_operation_ctx kerneldoc

 drivers/gpu/drm/ttm/ttm_backup.c |  6 ++++--
 drivers/gpu/drm/ttm/ttm_pool.c   |  7 +++++--
 include/drm/ttm/ttm_backup.h     |  2 +-
 include/drm/ttm/ttm_bo.h         | 28 +++++++++++++++++++---------
 4 files changed, 29 insertions(+), 14 deletions(-)
Signature · 1 line
2.53.0