intel_sseu_c...mask_to_user(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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