xe_guc_pagefault_handler(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ xe_guc_pagefault_handler(9) ✨

okay so bestie, welcome to the Kernel API Manual πŸ’– β€” this page is all about xe_guc_pagefault_handler, aka the G2H page fault handler. lowkey iconic behavior, fr fr.


🌸 NAME 🌸

xe_guc_pagefault_handler β€” G2H page fault handler πŸŽ€

πŸ¦‹ SYNOPSIS πŸ¦‹

int xe_guc_pagefault_handler (struct xe_guc *guc , u32 *msg , u32 len );

🫢 ARGUMENTS 🫢

  • guc β€” the GuC object, your main character here πŸ‘‘
  • msg β€” the G2H message, literally the message from GuC to host πŸ“¨
  • len β€” the length of the G2H message, so we know how much message we're dealing with πŸ“

πŸ’… DESCRIPTION πŸ’…

bestie, this function parses the GuC to host (G2H) message into a struct xe_pagefault and forwards it onto the Xe page fault layer. that's the whole vibe β€” parse it, then pass it along ✨

πŸ”₯ RETURN πŸ”₯

0 on success, errno on failure. slay when it works, errno when it doesn't 😭

🌈 SEE ALSO 🌈

the kernel file to check out: ./drivers/gpu/drm/xe/xe_guc_pagefault.c πŸ‘€


mwah πŸ’‹ this page came from the Kernel API Manual, sourced from ./drivers/gpu/drm/xe, dated October 2026 β€” periodt, bestie 🫢

πŸ“¦ where this page comes from