SELFTEST FAILURE MODES FOR FAILSAFE MIGRATION:(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… Selftest failure modes for failsafe migration:(9) πŸ’…

okay so real talk, this page is from the Kernel API Manual (section 9, bestie, not a drill) and it's basically the chaos menu for making migration fail on purpose so the failsafe paths get their main character moment ✨


πŸ¦‹ the failure modes, explained πŸ¦‹

  • fail_gpu_migration β€” when this is on, the gpu blit that gets scheduled is always a clear blit and not a copy blit πŸ™ˆ and then, bestie, we force the failure paths as if the blit fence came back with an error πŸ’€ no cap, we're just out here pretending the fence flopped.
  • fail_work_allocation β€” this one fails the kmalloc of the async worker, and then we sync the gpu blit 🫢 and if that sync'd blit then fails, or if fail_gpu_migration is set to true, then a memcpy operation is performed sync 🌸 like, the fallback ate and left no crumbs.

🌈 SEE ALSO 🌈


bestie reminder: these are deliberate failure modes for testing, not bugs β€” do not come for the kernel on this one 😭

that's the whole page, you're so welcome πŸ’œ

sign-off szn πŸŽ€ β€” this one comes from ./drivers/gpu/drm/i915/gem, dated October 2026, and the page itself is Selftest fai...e migration:(9). slay, go test something πŸ’…

πŸ“¦ where this page comes from