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

Thomas Hellström
2026-03-17T14:19:24Z

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(-)

--
2.53.0