xe_gt_sriov_...get_lmem_obj(9)
π
xe_gt_sriov_...get_lmem_obj β a Kernel API Manual moment β¨
okay so bestie, welcome to the (9) page for xe_gt_sriov_...get_lmem_obj β she lives in the Kernel API Manual and honestly? she's lowkey iconic. let's get into it π
πΈ NAME πΈ
xe_gt_sriov_pf_config_get_lmem_obj β takes a reference to the struct xe_bo that's backing the VF LMEM. that's it, that's the whole vibe. grabbing a ref, being responsible about it, slaying π«Ά
β¨ SYNOPSIS β¨
struct xe_bo * xe_gt_sriov_pf_config_get_lmem_obj (struct xe_gt *gt ,
unsigned int vfid );
like look at her go π
π¦ ARGUMENTS π¦
gtβ thexe_gt. your graphics tile, your whole situation.vfidβ the VF identifier. and listen π she can't be 0. zero is not invited to this party, fr fr.
π DESCRIPTION π
the way this one's simple: this function can only be called on PF. not VF, PF. that's the rule, periodt.
and the caller β that's you, bestie β you are responsible for calling xe_bo_put on the object you get back. no cap, that's on you. hold the ref, then put the ref. balance. main character energy but make it memory management π
π RETURN π
a pointer to the struct xe_bo backing VF LMEM (if any). if any π«Ά
β SEE ALSO β
the whole friend group, and we're tagging everyone β iykyk:
- Kernel file
./drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c xe_gt_sriov_pf_config_get_ggtt(9),xe_gt_sriov_pf_config_set_ggtt(9),xe_gt_sriov_pf_config_bulk_set_ggtt(9),xe_gt_sriov_pf_config_set_fair_ggtt(9),xe_gt_sriov_pf_config_ggtt_save(9),xe_gt_sriov_pf_config_ggtt_restore(9)xe_gt_sriov_pf_config_get_ctxs(9),xe_gt_sriov_pf_config_set_ctxs(9),xe_gt_sriov_pf_config_bulk_set_ctxs(9),xe_gt_sriov_pf_config_set_fair_ctxs(9)xe_gt_sriov_pf_config_get_dbs(9),xe_gt_sriov_pf_config_set_dbs(9),xe_gt_sriov_pf_config_bulk_set_dbs(9),xe_gt_sriov_pf_config_set_fair_dbs(9)xe_gt_sriov_pf_config_get_lmem(9),xe_gt_sriov_pf_config_set_lmem(9),xe_gt_sriov_pf_config_bulk_set_lmem_locked(9),xe_gt_sriov_pf_config_bulk_set_lmem(9),xe_gt_sriov_pf_config_get_lmem_locked(9),xe_gt_sriov_pf_config_set_lmem_locked(9),xe_gt_sriov_pf_config_set_fair_lmem(9)xe_gt_sriov_pf_config_set_fair(9)xe_gt_sriov_pf_config_set_exec_quantum_locked(9),xe_gt_sriov_pf_config_set_exec_quantum(9),xe_gt_sriov_pf_config_get_exec_quantum_locked(9),xe_gt_sriov_pf_config_get_exec_quantum(9),xe_gt_sriov_pf_config_bulk_set_exec_quantum_locked(9),xe_gt_sriov_pf_config_set_groups_exec_quantums(9),xe_gt_sriov_pf_config_get_groups_exec_quantums(9)xe_gt_sriov_pf_config_set_preempt_timeout_locked(9),xe_gt_sriov_pf_config_set_preempt_timeout(9),xe_gt_sriov_pf_config_get_preempt_timeout_locked(9),xe_gt_sriov_pf_config_get_preempt_timeout(9),xe_gt_sriov_pf_config_bulk_set_preempt_timeout_locked(9),xe_gt_sriov_pf_config_set_groups_preempt_timeouts(9),xe_gt_sriov_pf_config_get_groups_preempt_timeouts(9)xe_gt_sriov_pf_config_set_sched_priority(9),xe_gt_sriov_pf_config_get_sched_priority(9),xe_gt_sriov_pf_config_force_sched_priority_locked(9),xe_gt_sriov_pf_config_set_fair_sched(9)xe_gt_sriov_pf_config_set_threshold(9),xe_gt_sriov_pf_config_get_threshold(9)xe_gt_sriov_pf_config_release(9),xe_gt_sriov_pf_config_sanitize(9),xe_gt_sriov_pf_config_push(9),xe_gt_sriov_pf_config_is_empty(9),xe_gt_sriov_pf_config_save(9),xe_gt_sriov_pf_config_restore(9),xe_gt_sriov_pf_config_init(9),xe_gt_sriov_pf_config_restart(9)xe_gt_sriov_pf_config_print_ggtt(9),xe_gt_sriov_pf_config_print_ctxs(9),xe_gt_sriov_pf_config_print_dbs(9),xe_gt_sriov_pf_config_print_lmem(9),xe_gt_sriov_pf_config_print_available_ggtt(9)
π«Ά reminder bestie: PF only, and xe_bo_put on the way out. don't leave her hanging π
and that's the page!! sign-off time: she's sourced from ./drivers/gpu/drm/xe, dated October 2026, and yes the header up top was xe_gt_sriov_...get_lmem_obj(9) because we keep the branding π
β¨ bye ily, go put your bo π
π¦ 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