SELFTEST FAILURE MODES FOR FAILSAFE MIGRATION:(9)
π 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 thekmallocof the async worker, and then we sync the gpu blit π«Ά and if that sync'd blit then fails, or iffail_gpu_migrationis set totrue, then amemcpyoperation is performed sync πΈ like, the fallback ate and left no crumbs.
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/i915/gem/i915_gem_ttm_move.cβ the literal source file, go read it iykyk π i915_ttm_adjust_domains_after_move(9)i915_ttm_adjust_gem_after_move(9)i915_ttm_move_notify(9)struct i915_ttm_memcpy_arg(9)struct i915_ttm_memcpy_work(9)i915_ttm_move(9)i915_gem_obj_copy_ttm(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms