xe_gsc_poison_header(9)
π xe_gsc_poison_header(9) β the Kernel API Manual, bestie edition π
okay so real talk, this is a page from the Kernel API Manual and honestly? it's a whole vibe. we're talking xe_gsc_poison_header β the function that goes and poisons the MTL GSC header sitting in memory. yes, poison. dramatic? maybe. necessary? absolutely. β¨
πΈ NAME πΈ
xe_gsc_poison_header β poison the MTL GSC header in memory π
like, literally that's the job. it takes a header in memory and makes it ~poisoned~. no cap.
π¦ SYNOPSIS π¦
void xe_gsc_poison_header (struct xe_device *xe , struct iosys_map *map
, u32 offset );
that's the whole signature, copy it exactly bestie, don't get creative with it π
β¨ ARGUMENTS β¨
three of them. not two, not four. three. let's go:
xeβ the Xe device π₯οΈ like, the actual device we're doing this to.mapβ the iosys map to write to βοΈ this is where the writing happens.offsetβ offset from the start of the map at which the header resides π so like, where in the map the header is chilling.
π SEE ALSO π
go look at the actual kernel file, it's right here:
Kernel file ./drivers/gpu/drm/xe/xe_gsc_submit.c
and the whole friend group of related functions:
xe_gsc_create_host_session_id(9)xe_gsc_emit_header(9)xe_gsc_check_and_update_pending(9)xe_gsc_read_out_header(9)xe_gsc_pkt_submit_kernel(9)
they all live in the same orbit, iykyk π
ngl the whole point is in the name β this one poisons the MTL GSC header in memory. don't overthink it, just let it slay π«Ά
and that's the page!! π source path is ./drivers/gpu/drm/xe, dated October 2026, and the function is xe_gsc_poison_header(9) β periodt. go poison that header bestie, you got this πβ¨
π¦ 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