id
stringlengths
4
63
text
stringlengths
153
8.81M
xe_gt_sriov_pf_config_bulk_set_preempt_timeout_locked(9)
NAME xe_gt_sriov_pf_config_bulk_set_preempt_timeout_locked - Configure PT for PF and VFs. SYNOPSIS int xe_gt_sriov_pf_config_bulk_set_preempt_timeout_locked (struct xe_gt *gt , u32 preempt_timeout ); ARGUMENTS gt the xe_gt to configure preempt_timeout requested preemption timeout i...
xe_gt_sriov_pf_config_get_ctxs(9)
NAME xe_gt_sriov_pf_config_get_ctxs - Get VF's GuC contexts IDs quota. SYNOPSIS u32 xe_gt_sriov_pf_config_get_ctxs (struct xe_gt *gt , unsigned int vfid ); ARGUMENTS gt the xe_gt vfid the VF identifier DESCRIPTION This function can only be called on PF. If vfid represents a PF then number of...
xe_gt_sriov_pf_config_get_dbs(9)
NAME xe_gt_sriov_pf_config_get_dbs - Get VF's GuC doorbells IDs quota. SYNOPSIS u32 xe_gt_sriov_pf_config_get_dbs (struct xe_gt *gt , unsigned int vfid ); ARGUMENTS gt the xe_gt vfid the VF identifier DESCRIPTION This function can only be called on PF. If vfid represents a PF then number of ...
xe_gt_sriov_pf_config_get_exec_quantum(9)
NAME xe_gt_sriov_pf_config_get_exec_quantum - Get PF/VF execution quantum. SYNOPSIS u32 xe_gt_sriov_pf_config_get_exec_quantum (struct xe_gt *gt , unsigned int vfid ); ARGUMENTS gt the xe_gt vfid the PF or VF identifier DESCRIPTION This function can only be called on PF. RETURN execution qua...
xe_gt_sriov_pf_config_get_exec_quantum_locked(9)
NAME xe_gt_sriov_pf_config_get_exec_quantum_locked - Get PF/VF execution quantum. SYNOPSIS u32 xe_gt_sriov_pf_config_get_exec_quantum_locked (struct xe_gt *gt , unsigned int vfid ); ARGUMENTS gt the xe_gt vfid the PF or VF identifier DESCRIPTION This function can only be called on PF with the...
xe_gt_sriov_pf_config_get_ggtt(9)
NAME xe_gt_sriov_pf_config_get_ggtt - Query size of GGTT address space of the VF. SYNOPSIS u64 xe_gt_sriov_pf_config_get_ggtt (struct xe_gt *gt , unsigned int vfid ); ARGUMENTS gt the xe_gt vfid the VF identifier DESCRIPTION This function can only be called on PF. RETURN size of the VF's ass...
xe_gt_sriov_pf_config_get_groups_exec_quantums(9)
NAME xe_gt_sriov_pf_config_get_groups_exec_quantums - Get PF/VF sched groups EQs SYNOPSIS void xe_gt_sriov_pf_config_get_groups_exec_quantums (struct xe_gt *gt , unsigned int vfid , u32 *exec_quantums , u32 count ); ARGUMENTS gt the xe_gt vfid the PF or VF identifier exec_quantums ...
xe_gt_sriov_pf_config_get_groups_preempt_timeouts(9)
NAME xe_gt_sriov_pf_config_get_groups_preempt_timeouts - Get PF/VF sched groups PTs SYNOPSIS void xe_gt_sriov_pf_config_get_groups_preempt_timeouts (struct xe_gt *gt , unsigned int vfid , u32 *preempt_timeouts , u32 count ); ARGUMENTS gt the xe_gt vfid the PF or VF identifier preempt_t...
xe_gt_sriov_pf_config_get_lmem(9)
NAME xe_gt_sriov_pf_config_get_lmem - Get VF's LMEM quota. SYNOPSIS u64 xe_gt_sriov_pf_config_get_lmem (struct xe_gt *gt , unsigned int vfid ); ARGUMENTS gt the xe_gt vfid the VF identifier DESCRIPTION This function can only be called on PF. RETURN VF's (or PF's spare) LMEM quota. SEE ALSO ...
xe_gt_sriov_pf_config_get_lmem_obj(9)
NAME xe_gt_sriov_pf_config_get_lmem_obj - Take a reference to the struct &xe_bo backing VF LMEM. SYNOPSIS struct xe_bo * xe_gt_sriov_pf_config_get_lmem_obj (struct xe_gt *gt , unsigned int vfid ); ARGUMENTS gt the xe_gt vfid the VF identifier (can't be 0) DESCRIPTION This function can only be...
xe_gt_sriov_pf_config_get_preempt_timeout(9)
NAME xe_gt_sriov_pf_config_get_preempt_timeout - Get PF/VF preemption timeout. SYNOPSIS u32 xe_gt_sriov_pf_config_get_preempt_timeout (struct xe_gt *gt , unsigned int vfid ); ARGUMENTS gt the xe_gt vfid the PF or VF identifier DESCRIPTION This function can only be called on PF. RETURN preemp...
xe_gt_sriov_pf_config_get_preempt_timeout_locked(9)
NAME xe_gt_sriov_pf_config_get_preempt_timeout_locked - Get PF/VF preemption timeout. SYNOPSIS u32 xe_gt_sriov_pf_config_get_preempt_timeout_locked (struct xe_gt *gt , unsigned int vfid ); ARGUMENTS gt the xe_gt vfid the PF or VF identifier DESCRIPTION This function can only be called on PF w...
xe_gt_sriov_pf_config_get_sched_priority(9)
NAME xe_gt_sriov_pf_config_get_sched_priority - Get VF's scheduling priority. SYNOPSIS u32 xe_gt_sriov_pf_config_get_sched_priority (struct xe_gt *gt , unsigned int vfid ); ARGUMENTS gt the xe_gt vfid the VF identifier DESCRIPTION This function can only be called on PF. RETURN VF's (or PF's)...
xe_gt_sriov_pf_config_get_threshold(9)
NAME xe_gt_sriov_pf_config_get_threshold - Get VF's threshold. SYNOPSIS u32 xe_gt_sriov_pf_config_get_threshold (struct xe_gt *gt , unsigned int vfid , enum xe_guc_klv_threshold_index index ); ARGUMENTS gt the xe_gt vfid the VF identifier index the threshold index DESCRIPTION Th...
xe_gt_sriov_pf_config_ggtt_restore(9)
NAME xe_gt_sriov_pf_config_ggtt_restore - Restore a VF provisioned GGTT data from a buffer. SYNOPSIS int xe_gt_sriov_pf_config_ggtt_restore (struct xe_gt *gt , unsigned int vfid , const void *buf , size_t size ); ARGUMENTS gt the xe_gt vfid VF identifier (can't be 0) buf the GG...
xe_gt_sriov_pf_config_ggtt_save(9)
NAME xe_gt_sriov_pf_config_ggtt_save - Save a VF provisioned GGTT data into a buffer. SYNOPSIS ssize_t xe_gt_sriov_pf_config_ggtt_save (struct xe_gt *gt , unsigned int vfid , void *buf , size_t size ); ARGUMENTS gt the xe_gt vfid VF identifier (can't be 0) buf the GGTT data des...
xe_gt_sriov_pf_config_init(9)
NAME xe_gt_sriov_pf_config_init - Initialize SR-IOV configuration data. SYNOPSIS int xe_gt_sriov_pf_config_init (struct xe_gt *gt ); ARGUMENTS gt the xe_gt DESCRIPTION This function can only be called on PF. RETURN 0 on success or a negative error code on failure. SEE ALSO Kernel file ./drivers/gpu/...
xe_gt_sriov_pf_config_is_empty(9)
NAME xe_gt_sriov_pf_config_is_empty - Check VF's configuration. SYNOPSIS bool xe_gt_sriov_pf_config_is_empty (struct xe_gt *gt , unsigned int vfid ); ARGUMENTS gt the xe_gt vfid the VF identifier (can't be PF) DESCRIPTION This function can only be called on PF. RETURN true if VF mandatory co...
xe_gt_sriov_pf_config_print_available_ggtt(9)
NAME xe_gt_sriov_pf_config_print_available_ggtt - Print available GGTT ranges. SYNOPSIS int xe_gt_sriov_pf_config_print_available_ggtt (struct xe_gt *gt , struct drm_printer *p ); ARGUMENTS gt the xe_gt p the drm_printer DESCRIPTION Print GGTT ranges that are available for the provisioning...
xe_gt_sriov_pf_config_print_ctxs(9)
NAME xe_gt_sriov_pf_config_print_ctxs - Print GuC context IDs configurations. SYNOPSIS int xe_gt_sriov_pf_config_print_ctxs (struct xe_gt *gt , struct drm_printer *p ); ARGUMENTS gt the xe_gt p the drm_printer DESCRIPTION Print GuC context ID allocations across all VFs. VFs without GuC co...
xe_gt_sriov_pf_config_print_dbs(9)
NAME xe_gt_sriov_pf_config_print_dbs - Print GuC doorbell ID configurations. SYNOPSIS int xe_gt_sriov_pf_config_print_dbs (struct xe_gt *gt , struct drm_printer *p ); ARGUMENTS gt the xe_gt p the drm_printer DESCRIPTION Print GuC doorbell IDs allocations across all VFs. VFs without GuC do...
xe_gt_sriov_pf_config_print_ggtt(9)
NAME xe_gt_sriov_pf_config_print_ggtt - Print GGTT configurations. SYNOPSIS int xe_gt_sriov_pf_config_print_ggtt (struct xe_gt *gt , struct drm_printer *p ); ARGUMENTS gt the xe_gt p the drm_printer DESCRIPTION Print GGTT configuration data for all VFs. VFs without provisioned GGTT are ig...
xe_gt_sriov_pf_config_print_lmem(9)
NAME xe_gt_sriov_pf_config_print_lmem - Print LMEM configurations. SYNOPSIS int xe_gt_sriov_pf_config_print_lmem (struct xe_gt *gt , struct drm_printer *p ); ARGUMENTS gt the xe_gt p the drm_printer DESCRIPTION Print LMEM allocations across all VFs. VFs without LMEM allocation are skipped...
xe_gt_sriov_pf_config_push(9)
NAME xe_gt_sriov_pf_config_push - Reprovision VF's configuration. SYNOPSIS int xe_gt_sriov_pf_config_push (struct xe_gt *gt , unsigned int vfid , bool refresh ); ARGUMENTS gt the xe_gt vfid the VF identifier (can't be PF) refresh explicit refresh DESCRIPTION This function can only...
xe_gt_sriov_pf_config_release(9)
NAME xe_gt_sriov_pf_config_release - Release and reset VF configuration. SYNOPSIS int xe_gt_sriov_pf_config_release (struct xe_gt *gt , unsigned int vfid , bool force ); ARGUMENTS gt the xe_gt vfid the VF identifier (can't be PF) force force configuration release DESCRIPTION Thi...
xe_gt_sriov_pf_config_restart(9)
NAME xe_gt_sriov_pf_config_restart - Restart SR-IOV configurations after a GT reset. SYNOPSIS void xe_gt_sriov_pf_config_restart (struct xe_gt *gt ); ARGUMENTS gt the xe_gt DESCRIPTION Any prior configurations pushed to GuC are lost when the GT is reset. Push again all non-empty VF configurations to the Gu...
xe_gt_sriov_pf_config_restore(9)
NAME xe_gt_sriov_pf_config_restore - Restore a VF provisioning config from binary blob. SYNOPSIS int xe_gt_sriov_pf_config_restore (struct xe_gt *gt , unsigned int vfid , const void *buf , size_t size ); ARGUMENTS gt the xe_gt vfid the VF identifier (can't be PF) buf the buffer...
xe_gt_sriov_pf_config_sanitize(9)
NAME xe_gt_sriov_pf_config_sanitize - Sanitize VF's resources. SYNOPSIS int xe_gt_sriov_pf_config_sanitize (struct xe_gt *gt , unsigned int vfid , long timeout ); ARGUMENTS gt the xe_gt vfid the VF identifier (can't be PF) timeout maximum timeout to wait for completion in jiffies ...
xe_gt_sriov_pf_config_save(9)
NAME xe_gt_sriov_pf_config_save - Save a VF provisioning config as binary blob. SYNOPSIS ssize_t xe_gt_sriov_pf_config_save (struct xe_gt *gt , unsigned int vfid , void *buf , size_t size ); ARGUMENTS gt the xe_gt vfid the VF identifier (can't be PF) buf the buffer to save a co...
xe_gt_sriov_pf_config_set_ctxs(9)
NAME xe_gt_sriov_pf_config_set_ctxs - Configure GuC contexts IDs quota for the VF. SYNOPSIS int xe_gt_sriov_pf_config_set_ctxs (struct xe_gt *gt , unsigned int vfid , u32 num_ctxs ); ARGUMENTS gt the xe_gt vfid the VF identifier num_ctxs requested number of GuC contexts IDs (0 to re...
xe_gt_sriov_pf_config_set_dbs(9)
NAME xe_gt_sriov_pf_config_set_dbs - Configure GuC doorbells IDs quota for the VF. SYNOPSIS int xe_gt_sriov_pf_config_set_dbs (struct xe_gt *gt , unsigned int vfid , u32 num_dbs ); ARGUMENTS gt the xe_gt vfid the VF identifier num_dbs requested number of GuC doorbells IDs (0 to rel...
xe_gt_sriov_pf_config_set_exec_quantum(9)
NAME xe_gt_sriov_pf_config_set_exec_quantum - Configure PF/VF execution quantum. SYNOPSIS int xe_gt_sriov_pf_config_set_exec_quantum (struct xe_gt *gt , unsigned int vfid , u32 exec_quantum ); ARGUMENTS gt the xe_gt vfid the PF or VF identifier exec_quantum requested...
xe_gt_sriov_pf_config_set_exec_quantum_locked(9)
NAME xe_gt_sriov_pf_config_set_exec_quantum_locked - Configure PF/VF execution quantum. SYNOPSIS int xe_gt_sriov_pf_config_set_exec_quantum_locked (struct xe_gt *gt , unsigned int vfid , u32 exec_quantum ); ARGUMENTS gt the xe_gt vfid the PF or VF identifier exec_quantum ...
xe_gt_sriov_pf_config_set_fair(9)
NAME xe_gt_sriov_pf_config_set_fair - Provision many VFs with fair resources. SYNOPSIS int xe_gt_sriov_pf_config_set_fair (struct xe_gt *gt , unsigned int vfid , unsigned int num_vfs ); ARGUMENTS gt the xe_gt vfid starting VF identifier (can't be 0) num_vfs number of VFs to provisi...
xe_gt_sriov_pf_config_set_fair_ctxs(9)
NAME xe_gt_sriov_pf_config_set_fair_ctxs - Provision many VFs with fair GuC context IDs. SYNOPSIS int xe_gt_sriov_pf_config_set_fair_ctxs (struct xe_gt *gt , unsigned int vfid , unsigned int num_vfs ); ARGUMENTS gt the xe_gt vfid starting VF identifier (can't be 0) num_vfs number o...
xe_gt_sriov_pf_config_set_fair_dbs(9)
NAME xe_gt_sriov_pf_config_set_fair_dbs - Provision many VFs with fair GuC doorbell IDs. SYNOPSIS int xe_gt_sriov_pf_config_set_fair_dbs (struct xe_gt *gt , unsigned int vfid , unsigned int num_vfs ); ARGUMENTS gt the xe_gt vfid starting VF identifier (can't be 0) num_vfs number of...
xe_gt_sriov_pf_config_set_fair_ggtt(9)
NAME xe_gt_sriov_pf_config_set_fair_ggtt - Provision many VFs with fair GGTT. SYNOPSIS int xe_gt_sriov_pf_config_set_fair_ggtt (struct xe_gt *gt , unsigned int vfid , unsigned int num_vfs ); ARGUMENTS gt the xe_gt (can't be media) vfid starting VF identifier (can't be 0) num_vfs nu...
xe_gt_sriov_pf_config_set_fair_lmem(9)
NAME xe_gt_sriov_pf_config_set_fair_lmem - Provision many VFs with fair LMEM. SYNOPSIS int xe_gt_sriov_pf_config_set_fair_lmem (struct xe_gt *gt , unsigned int vfid , unsigned int num_vfs ); ARGUMENTS gt the xe_gt (can't be media) vfid starting VF identifier (can't be 0) num_vfs nu...
xe_gt_sriov_pf_config_set_ggtt(9)
NAME xe_gt_sriov_pf_config_set_ggtt - Provision VF with GGTT space. SYNOPSIS int xe_gt_sriov_pf_config_set_ggtt (struct xe_gt *gt , unsigned int vfid , u64 size ); ARGUMENTS gt the xe_gt (can't be media) vfid the VF identifier size requested GGTT size DESCRIPTION If vfid repres...
xe_gt_sriov_pf_config_set_groups_exec_quantums(9)
NAME xe_gt_sriov_pf_config_set_groups_exec_quantums - Configure PF/VF EQs for sched groups. SYNOPSIS int xe_gt_sriov_pf_config_set_groups_exec_quantums (struct xe_gt *gt , unsigned int vfid , u32 *exec_quantums , u32 count ); ARGUMENTS gt the xe_gt vfid the PF or VF identifier exec_qua...
xe_gt_sriov_pf_config_set_groups_preempt_timeouts(9)
NAME xe_gt_sriov_pf_config_set_groups_preempt_timeouts - Configure PF/VF PTs for sched groups. SYNOPSIS int xe_gt_sriov_pf_config_set_groups_preempt_timeouts (struct xe_gt *gt , unsigned int vfid , u32 *preempt_timeouts , u32 count ); ARGUMENTS gt the xe_gt vfid the PF or VF identifier ...
xe_gt_sriov_pf_config_set_lmem(9)
NAME xe_gt_sriov_pf_config_set_lmem - Provision VF with LMEM. SYNOPSIS int xe_gt_sriov_pf_config_set_lmem (struct xe_gt *gt , unsigned int vfid , u64 size ); ARGUMENTS gt the xe_gt (can't be media) vfid the VF identifier size requested LMEM size DESCRIPTION This function can on...
xe_gt_sriov_pf_config_set_preempt_timeout(9)
NAME xe_gt_sriov_pf_config_set_preempt_timeout - Configure PF/VF preemption timeout. SYNOPSIS int xe_gt_sriov_pf_config_set_preempt_timeout (struct xe_gt *gt , unsigned int vfid , u32 preempt_timeout ); ARGUMENTS gt the xe_gt vfid the PF or VF identifier preempt_timeout ...
xe_gt_sriov_pf_config_set_preempt_timeout_locked(9)
NAME xe_gt_sriov_pf_config_set_preempt_timeout_locked - Configure PF/VF preemption timeout. SYNOPSIS int xe_gt_sriov_pf_config_set_preempt_timeout_locked (struct xe_gt *gt , unsigned int vfid , u32 preempt_timeout ); ARGUMENTS gt the xe_gt vfid the PF or VF identifier preempt_timeout ...
xe_gt_sriov_pf_config_set_sched_priority(9)
NAME xe_gt_sriov_pf_config_set_sched_priority - Configure scheduling priority. SYNOPSIS int xe_gt_sriov_pf_config_set_sched_priority (struct xe_gt *gt , unsigned int vfid , u32 priority ); ARGUMENTS gt the xe_gt vfid the VF identifier priority requested scheduling priority DESCRIPT...
xe_gt_sriov_pf_config_set_threshold(9)
NAME xe_gt_sriov_pf_config_set_threshold - Configure threshold for the VF. SYNOPSIS int xe_gt_sriov_pf_config_set_threshold (struct xe_gt *gt , unsigned int vfid , enum xe_guc_klv_threshold_index index , u32 value ); ARGUMENTS gt the xe_gt vfid the VF identifier index the thresho...
xe_gt_sriov_pf_control_check_restore_failed(9)
NAME xe_gt_sriov_pf_control_check_restore_failed - Check if restore processing has failed. SYNOPSIS bool xe_gt_sriov_pf_control_check_restore_failed (struct xe_gt *gt , unsigned int vfid ); ARGUMENTS gt the xe_gt vfid the VF identifier DESCRIPTION This function is for PF only. RETURN true if...
xe_gt_sriov_pf_control_check_save_data_done(9)
NAME xe_gt_sriov_pf_control_check_save_data_done - Check if all save migration data was produced. SYNOPSIS bool xe_gt_sriov_pf_control_check_save_data_done (struct xe_gt *gt , unsigned int vfid ); ARGUMENTS gt the xe_gt vfid the VF identifier DESCRIPTION This function is for PF only. RETURN ...
xe_gt_sriov_pf_control_check_save_failed(9)
NAME xe_gt_sriov_pf_control_check_save_failed - Check if save processing has failed. SYNOPSIS bool xe_gt_sriov_pf_control_check_save_failed (struct xe_gt *gt , unsigned int vfid ); ARGUMENTS gt the xe_gt vfid the VF identifier DESCRIPTION This function is for PF only. RETURN true if save pro...
xe_gt_sriov_pf_control_finish_restore_vf(9)
NAME xe_gt_sriov_pf_control_finish_restore_vf - Complete a VF migration data restore sequence. SYNOPSIS int xe_gt_sriov_pf_control_finish_restore_vf (struct xe_gt *gt , unsigned int vfid ); ARGUMENTS gt the xe_gt vfid the VF identifier DESCRIPTION This function is for PF only. RETURN 0 on su...
xe_gt_sriov_pf_control_finish_save_vf(9)
NAME xe_gt_sriov_pf_control_finish_save_vf - Complete a VF migration data save sequence. SYNOPSIS int xe_gt_sriov_pf_control_finish_save_vf (struct xe_gt *gt , unsigned int vfid ); ARGUMENTS gt the xe_gt vfid the VF identifier DESCRIPTION This function is for PF only. RETURN 0 on success or ...
xe_gt_sriov_pf_control_init(9)
NAME xe_gt_sriov_pf_control_init - Initialize PF's control data. SYNOPSIS int xe_gt_sriov_pf_control_init (struct xe_gt *gt ); ARGUMENTS gt the xe_gt DESCRIPTION This function is for PF only. RETURN 0 on success or a negative error code on failure. SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_gt_sriov_p...
xe_gt_sriov_pf_control_pause_vf(9)
NAME xe_gt_sriov_pf_control_pause_vf - Pause a VF. SYNOPSIS int xe_gt_sriov_pf_control_pause_vf (struct xe_gt *gt , unsigned int vfid ); ARGUMENTS gt the xe_gt vfid the VF identifier DESCRIPTION This function is for PF only. RETURN 0 on success or a negative error code on failure. SEE ALSO ...
xe_gt_sriov_pf_control_process_guc2pf(9)
NAME xe_gt_sriov_pf_control_process_guc2pf - Handle VF state notification from GuC. SYNOPSIS int xe_gt_sriov_pf_control_process_guc2pf (struct xe_gt *gt , const u32 *msg , u32 len ); ARGUMENTS gt the xe_gt msg the G2H message len the length of the G2H message DESCRIPTION This...
xe_gt_sriov_pf_control_process_restore_data(9)
NAME xe_gt_sriov_pf_control_process_restore_data - Queue VF restore migration data processing. SYNOPSIS int xe_gt_sriov_pf_control_process_restore_data (struct xe_gt *gt , unsigned int vfid ); ARGUMENTS gt the xe_gt vfid the VF identifier DESCRIPTION This function is for PF only. RETURN 0 on...
xe_gt_sriov_pf_control_process_save_data(9)
NAME xe_gt_sriov_pf_control_process_save_data - Queue VF save migration data processing. SYNOPSIS int xe_gt_sriov_pf_control_process_save_data (struct xe_gt *gt , unsigned int vfid ); ARGUMENTS gt the xe_gt vfid the VF identifier DESCRIPTION This function is for PF only. RETURN 0 on success ...
xe_gt_sriov_pf_control_restart(9)
NAME xe_gt_sriov_pf_control_restart - Restart SR-IOV control data after a GT reset. SYNOPSIS void xe_gt_sriov_pf_control_restart (struct xe_gt *gt ); ARGUMENTS gt the xe_gt DESCRIPTION Any per-VF status maintained by the PF or any ongoing VF control activity performed by the PF must be reset or cancelled wh...
xe_gt_sriov_pf_control_restore_data_done(9)
NAME xe_gt_sriov_pf_control_restore_data_done - Indicate the end of VF migration data stream. SYNOPSIS int xe_gt_sriov_pf_control_restore_data_done (struct xe_gt *gt , unsigned int vfid ); ARGUMENTS gt the xe_gt vfid the VF identifier DESCRIPTION This function is for PF only. RETURN 0 on suc...
xe_gt_sriov_pf_control_resume_vf(9)
NAME xe_gt_sriov_pf_control_resume_vf - Resume a VF. SYNOPSIS int xe_gt_sriov_pf_control_resume_vf (struct xe_gt *gt , unsigned int vfid ); ARGUMENTS gt the xe_gt vfid the VF identifier DESCRIPTION This function is for PF only. RETURN 0 on success or a negative error code on failure. SEE AL...
xe_gt_sriov_pf_control_stop_vf(9)
NAME xe_gt_sriov_pf_control_stop_vf - Stop a VF. SYNOPSIS int xe_gt_sriov_pf_control_stop_vf (struct xe_gt *gt , unsigned int vfid ); ARGUMENTS gt the xe_gt vfid the VF identifier DESCRIPTION This function is for PF only. RETURN 0 on success or a negative error code on failure. SEE ALSO Ker...
xe_gt_sriov_pf_control_sync_flr(9)
NAME xe_gt_sriov_pf_control_sync_flr - Synchronize on the VF FLR checkpoint. SYNOPSIS int xe_gt_sriov_pf_control_sync_flr (struct xe_gt *gt , unsigned int vfid , bool sync ); ARGUMENTS gt the xe_gt vfid the VF identifier sync if true it will allow to exit the checkpoint RETURN ...
xe_gt_sriov_pf_control_trigger_flr(9)
NAME xe_gt_sriov_pf_control_trigger_flr - Start a VF FLR sequence. SYNOPSIS int xe_gt_sriov_pf_control_trigger_flr (struct xe_gt *gt , unsigned int vfid ); ARGUMENTS gt the xe_gt vfid the VF identifier DESCRIPTION This function is for PF only. RETURN 0 on success or a negative error code on ...
xe_gt_sriov_pf_control_trigger_save_vf(9)
NAME xe_gt_sriov_pf_control_trigger_save_vf - Start an SR-IOV VF migration data save sequence. SYNOPSIS int xe_gt_sriov_pf_control_trigger_save_vf (struct xe_gt *gt , unsigned int vfid ); ARGUMENTS gt the xe_gt vfid the VF identifier DESCRIPTION This function is for PF only. RETURN 0 on succ...
xe_gt_sriov_pf_control_wait_flr(9)
NAME xe_gt_sriov_pf_control_wait_flr - Wait for a VF FLR to complete. SYNOPSIS int xe_gt_sriov_pf_control_wait_flr (struct xe_gt *gt , unsigned int vfid ); ARGUMENTS gt the xe_gt vfid the VF identifier DESCRIPTION This function is for PF only. RETURN 0 on success or a negative error code on ...
xe_gt_sriov_pf_debugfs_populate(9)
NAME xe_gt_sriov_pf_debugfs_populate - Create SR-IOV GT-level debugfs directories and files. SYNOPSIS void xe_gt_sriov_pf_debugfs_populate (struct xe_gt *gt , struct dentry *parent , unsigned int vfid ); ARGUMENTS gt the xe_gt to register parent the parent dentry that represents a xe_tile ...
xe_gt_sriov_pf_debugfs_register(9)
NAME xe_gt_sriov_pf_debugfs_register - Register SR-IOV PF specific entries in GT debugfs. SYNOPSIS void xe_gt_sriov_pf_debugfs_register (struct xe_gt *gt , struct dentry *dent ); ARGUMENTS gt the xe_gt to register dent the dentry that represents the GT directory DESCRIPTION Instead of actual ...
xe_gt_sriov_pf_init(9)
NAME xe_gt_sriov_pf_init - Prepare SR-IOV PF data structures on PF. SYNOPSIS int xe_gt_sriov_pf_init (struct xe_gt *gt ); ARGUMENTS gt the xe_gt to initialize DESCRIPTION Late one-time initialization of the PF data. RETURN 0 on success or a negative error code on failure. SEE ALSO Kernel file ./dr...
xe_gt_sriov_pf_init_early(9)
NAME xe_gt_sriov_pf_init_early - Prepare SR-IOV PF data structures on PF. SYNOPSIS int xe_gt_sriov_pf_init_early (struct xe_gt *gt ); ARGUMENTS gt the xe_gt to initialize DESCRIPTION Early initialization of the PF data. RETURN 0 on success or a negative error code on failure. SEE ALSO Kernel file ./dr...
xe_gt_sriov_pf_init_hw(9)
NAME xe_gt_sriov_pf_init_hw - Initialize SR-IOV hardware support. SYNOPSIS void xe_gt_sriov_pf_init_hw (struct xe_gt *gt ); ARGUMENTS gt the xe_gt to initialize DESCRIPTION On some platforms the PF must explicitly enable VF's access to the GGTT. SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_gt_sriov...
xe_gt_sriov_pf_migration_ggtt_restore(9)
NAME xe_gt_sriov_pf_migration_ggtt_restore - Restore VF GGTT migration data. SYNOPSIS int xe_gt_sriov_pf_migration_ggtt_restore (struct xe_gt *gt , unsigned int vfid , struct xe_sriov_packet *data ); ARGUMENTS gt the xe_gt vfid the VF identifier (can't be 0) data the xe_sriov_pa...
xe_gt_sriov_pf_migration_ggtt_save(9)
NAME xe_gt_sriov_pf_migration_ggtt_save - Save VF GGTT migration data. SYNOPSIS int xe_gt_sriov_pf_migration_ggtt_save (struct xe_gt *gt , unsigned int vfid ); ARGUMENTS gt the xe_gt vfid the VF identifier (can't be 0) DESCRIPTION This function is for PF only. RETURN 0 on success or a negati...
xe_gt_sriov_pf_migration_guc_restore(9)
NAME xe_gt_sriov_pf_migration_guc_restore - Restore VF GuC migration data. SYNOPSIS int xe_gt_sriov_pf_migration_guc_restore (struct xe_gt *gt , unsigned int vfid , struct xe_sriov_packet *data ); ARGUMENTS gt the xe_gt vfid the VF identifier data the xe_sriov_packet containing ...
xe_gt_sriov_pf_migration_guc_save(9)
NAME xe_gt_sriov_pf_migration_guc_save - Save VF GuC migration data. SYNOPSIS int xe_gt_sriov_pf_migration_guc_save (struct xe_gt *gt , unsigned int vfid ); ARGUMENTS gt the xe_gt vfid the VF identifier DESCRIPTION This function is for PF only. RETURN 0 on success or a negative error code on...
xe_gt_sriov_pf_migration_init(9)
NAME xe_gt_sriov_pf_migration_init - Initialize support for VF migration. SYNOPSIS int xe_gt_sriov_pf_migration_init (struct xe_gt *gt ); ARGUMENTS gt the xe_gt DESCRIPTION This function is for PF only. RETURN 0 on success or a negative error code on failure. SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe...
xe_gt_sriov_pf_migration_mmio_restore(9)
NAME xe_gt_sriov_pf_migration_mmio_restore - Restore VF MMIO migration data. SYNOPSIS int xe_gt_sriov_pf_migration_mmio_restore (struct xe_gt *gt , unsigned int vfid , struct xe_sriov_packet *data ); ARGUMENTS gt the xe_gt vfid the VF identifier (can't be 0) data the xe_sriov_pa...
xe_gt_sriov_pf_migration_mmio_save(9)
NAME xe_gt_sriov_pf_migration_mmio_save - Save VF MMIO migration data. SYNOPSIS int xe_gt_sriov_pf_migration_mmio_save (struct xe_gt *gt , unsigned int vfid ); ARGUMENTS gt the xe_gt vfid the VF identifier (can't be 0) DESCRIPTION This function is for PF only. RETURN 0 on success or a negati...
xe_gt_sriov_pf_migration_restore_consume(9)
NAME xe_gt_sriov_pf_migration_restore_consume - Get VF restore data packet from migration ring. SYNOPSIS struct xe_sriov_packet * xe_gt_sriov_pf_migration_restore_consume (struct xe_gt *gt , unsigned int vfid ); ARGUMENTS gt the xe_gt vfid the VF identifier DESCRIPTION Called by the restore m...
xe_gt_sriov_pf_migration_restore_produce(9)
NAME xe_gt_sriov_pf_migration_restore_produce - Add VF restore data packet to migration ring. SYNOPSIS int xe_gt_sriov_pf_migration_restore_produce (struct xe_gt *gt , unsigned int vfid , struct xe_sriov_packet *data ); ARGUMENTS gt the xe_gt vfid the VF identifier data the xe_s...
xe_gt_sriov_pf_migration_ring_empty(9)
NAME xe_gt_sriov_pf_migration_ring_empty - Check if a migration ring is empty. SYNOPSIS bool xe_gt_sriov_pf_migration_ring_empty (struct xe_gt *gt , unsigned int vfid ); ARGUMENTS gt the xe_gt vfid the VF identifier RETURN true if the ring is empty, otherwise false. SEE ALSO Kernel file ./...
xe_gt_sriov_pf_migration_ring_free(9)
NAME xe_gt_sriov_pf_migration_ring_free - Consume and free all data in migration ring SYNOPSIS void xe_gt_sriov_pf_migration_ring_free (struct xe_gt *gt , unsigned int vfid ); ARGUMENTS gt the xe_gt vfid the VF identifier SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c ...
xe_gt_sriov_pf_migration_ring_full(9)
NAME xe_gt_sriov_pf_migration_ring_full - Check if a migration ring is full. SYNOPSIS bool xe_gt_sriov_pf_migration_ring_full (struct xe_gt *gt , unsigned int vfid ); ARGUMENTS gt the xe_gt vfid the VF identifier RETURN true if the ring is full, otherwise false. SEE ALSO Kernel file ./driv...
xe_gt_sriov_pf_migration_save_consume(9)
NAME xe_gt_sriov_pf_migration_save_consume - Get VF save data packet from migration ring. SYNOPSIS struct xe_sriov_packet * xe_gt_sriov_pf_migration_save_consume (struct xe_gt *gt , unsigned int vfid ); ARGUMENTS gt the xe_gt vfid the VF identifier DESCRIPTION Called by the save migration...
xe_gt_sriov_pf_migration_save_data_complete(9)
NAME xe_gt_sriov_pf_migration_save_data_complete - Complete migration data type save. SYNOPSIS void xe_gt_sriov_pf_migration_save_data_complete (struct xe_gt *gt , unsigned int vfid , enum xe_sriov_packet_type type ); ARGUMENTS gt the xe_gt vfid the VF identifier (can't be 0) type ...
xe_gt_sriov_pf_migration_save_data_pending(9)
NAME xe_gt_sriov_pf_migration_save_data_pending - Check if migration data type needs to be saved. SYNOPSIS bool xe_gt_sriov_pf_migration_save_data_pending (struct xe_gt *gt , unsigned int vfid , enum xe_sriov_packet_type type ); ARGUMENTS gt the xe_gt vfid the VF identifier (can't be 0) ...
xe_gt_sriov_pf_migration_save_init(9)
NAME xe_gt_sriov_pf_migration_save_init - Initialize per-GT migration related data. SYNOPSIS void xe_gt_sriov_pf_migration_save_init (struct xe_gt *gt , unsigned int vfid ); ARGUMENTS gt the xe_gt vfid the VF identifier (can't be 0) SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_gt_sriov_pf_m...
xe_gt_sriov_pf_migration_save_produce(9)
NAME xe_gt_sriov_pf_migration_save_produce - Add VF save data packet to migration ring. SYNOPSIS int xe_gt_sriov_pf_migration_save_produce (struct xe_gt *gt , unsigned int vfid , struct xe_sriov_packet *data ); ARGUMENTS gt the xe_gt vfid the VF identifier data the xe_sriov_pack...
xe_gt_sriov_pf_migration_size(9)
NAME xe_gt_sriov_pf_migration_size - Total size of migration data from all components within a GT. SYNOPSIS ssize_t xe_gt_sriov_pf_migration_size (struct xe_gt *gt , unsigned int vfid ); ARGUMENTS gt the xe_gt vfid the VF identifier (can't be 0) DESCRIPTION This function is for PF only. RETU...
xe_gt_sriov_pf_migration_vram_restore(9)
NAME xe_gt_sriov_pf_migration_vram_restore - Restore VF VRAM migration data. SYNOPSIS int xe_gt_sriov_pf_migration_vram_restore (struct xe_gt *gt , unsigned int vfid , struct xe_sriov_packet *data ); ARGUMENTS gt the xe_gt vfid the VF identifier (can't be 0) data the xe_sriov_pa...
xe_gt_sriov_pf_migration_vram_save(9)
NAME xe_gt_sriov_pf_migration_vram_save - Save VF VRAM migration data. SYNOPSIS int xe_gt_sriov_pf_migration_vram_save (struct xe_gt *gt , unsigned int vfid ); ARGUMENTS gt the xe_gt vfid the VF identifier (can't be 0) DESCRIPTION This function is for PF only. RETURN 0 on success or a negati...
xe_gt_sriov_pf_monitor_flr(9)
NAME xe_gt_sriov_pf_monitor_flr - Cleanup VF data after VF FLR. SYNOPSIS void xe_gt_sriov_pf_monitor_flr (struct xe_gt *gt , u32 vfid ); ARGUMENTS gt the xe_gt vfid the VF identifier DESCRIPTION On FLR this function will reset all event data related to the VF. This function is for PF only. ...
xe_gt_sriov_pf_monitor_print_events(9)
NAME xe_gt_sriov_pf_monitor_print_events - Print adverse events counters. SYNOPSIS void xe_gt_sriov_pf_monitor_print_events (struct xe_gt *gt , struct drm_printer *p ); ARGUMENTS gt the xe_gt to print events from p the drm_printer DESCRIPTION Print adverse events counters for all VFs. VFs...
xe_gt_sriov_pf_monitor_process_guc2pf(9)
NAME xe_gt_sriov_pf_monitor_process_guc2pf - Handle adverse event notification from the GuC. SYNOPSIS int xe_gt_sriov_pf_monitor_process_guc2pf (struct xe_gt *gt , const u32 *msg , u32 len ); ARGUMENTS gt the xe_gt msg G2H event message len length of the message DESCRIPTION T...
xe_gt_sriov_pf_policy_get_reset_engine(9)
NAME xe_gt_sriov_pf_policy_get_reset_engine - Retrieve value of 'reset_engine' policy. SYNOPSIS bool xe_gt_sriov_pf_policy_get_reset_engine (struct xe_gt *gt ); ARGUMENTS gt the xe_gt where to read the policy from DESCRIPTION This function can only be called on PF. RETURN value of 'reset_engine' policy. S...
xe_gt_sriov_pf_policy_get_sample_period(9)
NAME xe_gt_sriov_pf_policy_get_sample_period - Retrieve value of 'sample_period' policy. SYNOPSIS u32 xe_gt_sriov_pf_policy_get_sample_period (struct xe_gt *gt ); ARGUMENTS gt the xe_gt where to read the policy from DESCRIPTION This function can only be called on PF. RETURN value of 'sample_period' policy....
xe_gt_sriov_pf_policy_get_sched_if_idle(9)
NAME xe_gt_sriov_pf_policy_get_sched_if_idle - Retrieve value of 'sched_if_idle' policy. SYNOPSIS bool xe_gt_sriov_pf_policy_get_sched_if_idle (struct xe_gt *gt ); ARGUMENTS gt the xe_gt where to read the policy from DESCRIPTION This function can only be called on PF. RETURN value of 'sched_if_idle' policy...
xe_gt_sriov_pf_policy_init(9)
NAME xe_gt_sriov_pf_policy_init - Initializes the SW state of the PF policies. SYNOPSIS void xe_gt_sriov_pf_policy_init (struct xe_gt *gt ); ARGUMENTS gt the xe_gt DESCRIPTION This function can only be called on PF. This function does not touch the HW, but must be called after the engines have been initiali...
xe_gt_sriov_pf_policy_print(9)
NAME xe_gt_sriov_pf_policy_print - Dump actual policy values. SYNOPSIS int xe_gt_sriov_pf_policy_print (struct xe_gt *gt , struct drm_printer *p ); ARGUMENTS gt the xe_gt where to read the policy from p the drm_printer DESCRIPTION This function can only be called on PF. RETURN 0 on succes...
xe_gt_sriov_pf_policy_reprovision(9)
NAME xe_gt_sriov_pf_policy_reprovision - Reprovision (and optionally reset) policy settings. SYNOPSIS int xe_gt_sriov_pf_policy_reprovision (struct xe_gt *gt , bool reset ); ARGUMENTS gt the xe_gt reset if true will reprovision using default values instead of latest DESCRIPTION This function c...
xe_gt_sriov_pf_policy_sanitize(9)
NAME xe_gt_sriov_pf_policy_sanitize - Reset policy settings. SYNOPSIS void xe_gt_sriov_pf_policy_sanitize (struct xe_gt *gt ); ARGUMENTS gt the xe_gt DESCRIPTION This function can only be called on PF. RETURN 0 on success or a negative error code on failure. SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_...
xe_gt_sriov_pf_policy_sched_groups_enabled(9)
NAME xe_gt_sriov_pf_policy_sched_groups_enabled - check whether the GT has multiple scheduler groups enabled SYNOPSIS bool xe_gt_sriov_pf_policy_sched_groups_enabled (struct xe_gt *gt ); ARGUMENTS gt the xe_gt to check DESCRIPTION This function can only be called on PF. RETURN true if the GT has multiple g...