xe_pxp_key_assign(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… xe_pxp_key_assign β€” Kernel API Manual πŸŽ€

okay bestie, so this is a page from the Kernel API Manual and it's all about one lil function that's honestly doing the most important background job ever: marking a BO as "yeah babe, I'm on the current PXP key iteration" ✨


🌸 NAME 🌸

xe_pxp_key_assign β€” lowkey just flags a BO as using the current PXP key iteration, no cap πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

int xe_pxp_key_assign (struct xe_pxp *pxp , struct xe_bo *bo );

πŸ’– ARGUMENTS πŸ’–

  • pxp β€” the xe->pxp pointer, bestie. And heads up: it's gonna be NULL if PXP is disabled, so like… vibe check it first πŸ™ˆ
  • bo β€” the BO you're marking. this is the main character of the whole function tbh πŸ’…

⭐ RETURN ⭐

  • -ENODEV if PXP is disabled 😭 (it's giving "not today")
  • 0 otherwise 🫢 slay

🌈 SEE ALSO 🌈

like, the whole PXP friend group fr fr 🧚 go read them all, they're iconic πŸ’œ


ngl this one's short but it's important β€” if pxp is NULL you're getting -ENODEV and that's that, no cap πŸ’€

and that's the whole page bestie!! source/version is ./drivers/gpu/drm/xe, dated October 2026, and the footer title is xe_pxp_key_assign(9) β€” mwah, drink some water, and go mark those BOs πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from