xe_gt_sriov_...fig_is_empty(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ xe_gt_sriov_pf_config_is_empty ✨

okay so real talk, this is a page from the Kernel API Manual, section 9, and it's all about ONE tiny little boolean check. yes bestie, one bool. let's get into it πŸ’…


🌸 NAME 🌸

xe_gt_sriov_pf_config_is_empty β€” literally just checks whether a VF's configuration is empty. that's the whole job. icon behavior tbh πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

bool xe_gt_sriov_pf_config_is_empty (struct xe_gt *gt , unsigned int
vfid );

like, she takes two things and hands you back a bool. no cap, that's it πŸ™ˆ


πŸ’– ARGUMENTS πŸ’–

  • gt β€” the xe_gt 🌈 (yes, the whole gt struct, she's not picky)
  • vfid β€” the VF identifier. and listen: it can't be PF. like, that's not a vibe she supports, okay? πŸ’€

🧚 DESCRIPTION 🧚

This function can only be called on PF.

that's the entire description bestie 😭 no extra lore, no secret sauce. PF only. periodt.

⭐ RETURN ⭐

returns true if the VF's mandatory configuration (GGTT, LMEM, ...) is empty 🫢

so like... true = nothing set up yet, false = somebody's been decorating 🌸


πŸ”₯ SEE ALSO πŸ”₯

she lives in this file, for the record:

./drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c

and here's the whole friend group β€” every single one, no gatekeeping πŸ‘‘


okay that's the whole page, mwah πŸ’‹ source situation is ./drivers/gpu/drm/xe, dated October 2026, and yes the title up top is the short little xe_gt_sriov_...fig_is_empty(9) because she's too iconic to spell out twice 🫢✨

πŸ“¦ where this page comes from