xe_configfs_...store_mid_bb(9)
π xe_configfs_get_ctx_restore_mid_bb β Kernel API Manual energy β¨
okay so bestie, welcome to the Kernel API Manual page for xe_configfs_get_ctx_restore_mid_bb(9) β yes the header up top abbreviates it as xe_configfs_...store_mid_bb(9), don't panic, it's the same vibe, the header just trimmed its hair π ngl this one is a getter, and it's giving very "I just fetch the configfs setting, that's my whole personality" π
πΈ NAME πΈ
xe_configfs_get_ctx_restore_mid_bbβ literally get the configfsctx_restore_mid_bbsetting. that's it, that's the job, and she ate π
π¦ SYNOPSIS π¦
u32 xe_configfs_get_ctx_restore_mid_bb (struct pci_dev *pdev , enum
xe_engine_class class , const u32 **cs );
like, yes, she returns a u32 and takes three args. iconic signature honestly β¨
π ARGUMENTS π
pdevβ the pci device π«Ά she's your main character hereclassβ the hw engine class, iykykcsβ pointer to the bb to use β and bestie, only valid during probe π like literally only then, don't be weird about it
β RETURN β
Number of dwords used in the mid_ctx_restore setting in configfs π₯ that's the number, that's the whole return, slay
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/xe/xe_configfs.cβ go read the source, it's right there π Xe Configfs(9)xe_configfs_check_device(9)xe_configfs_get_survivability_mode(9)xe_configfs_primary_gt_allowed(9)xe_configfs_media_gt_allowed(9)xe_configfs_get_engines_allowed(9)xe_configfs_get_psmi_enabled(9)xe_configfs_get_enable_multi_queue(9)xe_configfs_get_ctx_restore_post_bb(9)xe_configfs_admin_only_pf(9)xe_configfs_get_max_vfs(9)
the whole friend group fr fr ππ
okay tiny vibe check: the cs pointer is only valid during probe. periodt. don't come for me later π
and that's the page!! sourced from ./drivers/gpu/drm/xe, dated October 2026, filed under xe_configfs_...store_mid_bb(9) β mwah, go touch some configfs bestie π§ππ
π¦ 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