xe_pxp_exec_queue_add(9)
π xe_pxp_exec_queue_add(9) β the kernel API manual, but make it make sense
okay bestie, welcome to the <pink>xe_pxp_exec_queue_add</pink> page of the Kernel API Manual β¨ this one lives in the <purple>9</purple> section (that's the kernel API section, iykyk) and honestly? it's a short one. we love a concise icon.
πΈ NAME πΈ
xe_pxp_exec_queue_add β bestie's job is literally just "add a queue to the PXP list" π that's it, that's the whole vibe.
β¨ SYNOPSIS β¨
int xe_pxp_exec_queue_add (struct xe_pxp *pxp , struct xe_exec_queue *q
);
like, yes, the formatting is a little chaotic in the original too, don't come for her π
π«Ά ARGUMENTS π«Ά
pxpβ thexe->pxppointer. heads up: it's gonna beNULLif PXP is disabled, so check your vibe before you dereference anything πqβ the queue you're adding to the list. the main character of this whole operation tbh π
π DESCRIPTION π
okay so here's the tea β if PXP is enabled and the prerequisites are already done, this function starts up the PXP default session (only if it's not already running, she's not doing that twice) and then adds the queue to the PXP list. easy.
and then the return values, which are the whole plot:
- returns
<green>0</green>if the PXP session is running and the queue is in the list β slay, everything worked β¨ - returns
<red>-ENODEV</red>if PXP is disabled β no device, no entry, no PXP for you π - returns
<red>-EBUSY</red>if the PXP prerequisites are not done yet β she's busy, try again later π - returns, like, some other
errnovalue if something goes wrong during the session start β other errno value, no specifics given, you'll know it when you see it π¦
no cap, the error paths matter here:-ENODEVand-EBUSYmean very different things, so don't just lump them together, bestie π«Ά
π₯ SEE ALSO π₯
- Kernel file
./drivers/gpu/drm/xe/xe_pxp.cPXP(9) xe_pxp_get_readiness_status(9)xe_pxp_irq_handler(9)xe_pxp_init(9)xe_pxp_exec_queue_set_type(9)xe_pxp_exec_queue_remove(9)xe_pxp_key_assign(9)xe_pxp_bo_key_check(9)xe_pxp_obj_key_check(9)xe_pxp_pm_suspend(9)xe_pxp_pm_resume(9)
and that's the whole page, bestie π this one came out of ./drivers/gpu/drm/xe and the manual is dated October 2026 β so, like, mark your calendars or whatever π go read the other xe_pxp_* pages, they're all linked above, and remember: <hotpink>xe_pxp_exec_queue_add(9)</hotpink> is the name, periodt π
β¨
π¦ 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