intel_sseu_c...mask_to_user(9)
π intel_sseu_c...mask_to_user(9) β bestie edition π
okay so this page lives in the Kernel API Manual and it's genuinely so useful, like it's giving "quiet little helper function that just works" energy β¨
β¨ NAME β¨
intel_sseu_copy_eumask_to_user β copies the EU mask into a userspace buffer, no cap π«Ά
πΈ SYNOPSIS πΈ
int intel_sseu_copy_eumask_to_user (void __user *to , const struct
sseu_dev_info *sseu );
like literally that's the whole signature, that's it, that's the vibe π
π¦ ARGUMENTS π¦
toβ pointer to the userspace buffer you're copying into π―sseuβ the SSEU structure that's holding the EU mask you wanna copy, she's the main character here π
π DESCRIPTION π
So what she does: copies the EU mask over to a userspace buffer, and the format is exactly the one the query ioctl's topology queries expect β like it's not doing anything weird or cute with the layout, it just matches, periodt β¨
And then? She returns the result of the copy_to_user operation. That's the whole return value. That's her whole job. She ate and left no crumbs π
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/i915/gt/intel_sseu.cβ go read the source bestie, it's right there π intel_sseu_copy_ssmask_to_user(9)β her sister function, same energy, different mask π§
ngl if you're here you're probably already deep in i915 land, so likeβ¦ good luck and hydrate π
and that's the page!! signing off from ./drivers/gpu/drm/i915/gt π«Ά, dated October 2026 πΈ, and yes the header still says intel_sseu_c...mask_to_user(9) because some things are iconic and don't change π
β
π¦ 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