ttm_device_p..._hibernation(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so this page is ttm_device_p..._hibernation(9), straight out of the Kernel API Manual, and it's literally about moving GTT BOs to shmem for hibernation. slay.

✨ SYNOPSIS ✨

int ttm_device_prepare_hibernation (struct ttm_device *bdev );

πŸŽ€ ARGUMENTS πŸŽ€

  • bdev β€” a pointer to a struct ttm_device, bestie, and you're prepping that device for hibernation. that's the whole vibe.

🌈 RETURN 🌈

  • 0 on success, negative number on failure. periodt.

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./drivers/gpu/drm/ttm/ttm_device.c
  • ttm_device_init(9) β€” go read it, iykyk πŸ‘‘

xoxo, your Kernel API Manual bestie 🫢 β€” source/version: ./drivers/gpu/drm/ttm, date: October 2026, page: ttm_device_p..._hibernation(9) πŸ’…βœ¨

πŸ“¦ where this page comes from