xe_pm_set_vram_threshold(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, this is xe_pm_set_vram_threshold(9) from the Kernel API Manual ✨ and the whole point is xe_pm_set_vram_threshold β€” it sets a VRAM threshold for allowing/blocking D3Cold. icon behavior fr fr 🫢

πŸ› οΈ SYNOPSIS πŸ› οΈ

int xe_pm_set_vram_threshold (struct xe_device *xe , u32 threshold );

πŸŽ€ ARGUMENTS πŸŽ€

  • xe β€” the xe device instance 🌸
  • threshold β€” VRAM size in MiB for the D3cold threshold πŸ‘‘

πŸ”™ RETURN πŸ”™

  • 0 β€” success, we love that for us πŸ’…
  • -EINVAL β€” invalid argument, bestie check ur input 😭

πŸ‘€ SEE ALSO πŸ‘€

the kernel file is ./drivers/gpu/drm/xe/xe_pm.c β€” iconic. and the whole friend group is:


xoxo πŸ’‹ β€” from the ./drivers/gpu/drm/xe source, October 2026 edition, all wrapped up in xe_pm_set_vram_threshold(9) πŸŽ€

πŸ“¦ where this page comes from