id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
xe_res_next(9) | NAME xe_res_next - advance the cursor
SYNOPSIS void xe_res_next (struct xe_res_cursor *cur , u64 size );
ARGUMENTS cur the cursor to advance
size number of bytes to move forward
DESCRIPTION Move the cursor size bytes forwrad, walking to the next node if necessary.
SEE ALSO Kernel file ./drive... |
xe_rpm_reclaim_safe(9) | NAME xe_rpm_reclaim_safe - Whether runtime resume can be done from reclaim context
SYNOPSIS bool xe_rpm_reclaim_safe (const struct xe_device *xe );
ARGUMENTS xe The xe device.
RETURN true if it is safe to runtime resume from reclaim context. false otherwise.
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_... |
xe_rtp_match_even_instance(9) | NAME xe_rtp_match_even_instance - Match if engine instance is even
SYNOPSIS bool xe_rtp_match_even_instance (const struct xe_device *xe , const struct xe_gt *gt , const struct xe_hw_engine *hwe );
ARGUMENTS xe Device structure
gt GT structure
hwe Engine instance
RETURN true ... |
xe_rtp_match_has_flat_ccs(9) | NAME xe_rtp_match_has_flat_ccs - Match when platform has FlatCCS compression
SYNOPSIS bool xe_rtp_match_has_flat_ccs (const struct xe_device *xe , const struct xe_gt *gt , const struct xe_hw_engine *hwe );
ARGUMENTS xe Device structure
gt GT structure
hwe Engine instance
RET... |
xe_rtp_process(9) | NAME xe_rtp_process - Process all rtp @entries, without running any action
SYNOPSIS void xe_rtp_process (struct xe_rtp_process_ctx *ctx , const struct xe_rtp_entry *entries );
ARGUMENTS ctx The context for processing the table, with one of device, gt or hwe
entries Table with RTP definitions
DESC... |
xe_rtp_process_ctx_enable_active_tracking(9) | NAME xe_rtp_process_ctx_enable_active_tracking - Enable tracking of active entries
SYNOPSIS void xe_rtp_process_ctx_enable_active_tracking (struct xe_rtp_process_ctx *ctx , unsigned long *active_entries , size_t n_entries );
ARGUMENTS ctx The context for processing the table
active_entries
... |
xe_rtp_process_to_sr(9) | NAME xe_rtp_process_to_sr - Process all rtp @entries, adding the matching ones to the save-restore argument.
SYNOPSIS void xe_rtp_process_to_sr (struct xe_rtp_process_ctx *ctx , const struct xe_rtp_entry_sr *entries , size_t n_entries , struct xe_reg_sr *sr );
ARGUMENTS ctx The context for processing the tabl... |
xe_sa_bo_flush_write(9) | NAME xe_sa_bo_flush_write - Copy the data from the sub-allocation to the GPU memory.
SYNOPSIS void xe_sa_bo_flush_write (struct drm_suballoc *sa_bo );
ARGUMENTS sa_bo the drm_suballoc to flush
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_sa.c __xe_sa_bo_manager_init(9), xe_sa_bo_swap_shadow(9), xe_sa_bo_sync_s... |
xe_sa_bo_new(9) | NAME xe_sa_bo_new - Make a suballocation.
SYNOPSIS struct drm_suballoc * xe_sa_bo_new (struct xe_sa_manager *sa_manager , u32 size );
ARGUMENTS sa_manager the xe_sa_manager
size number of bytes we want to suballocate
DESCRIPTION Try to make a suballocation of size size.
RETURN a drm_suballoc, or an ... |
xe_sa_bo_swap_guard(9) | NAME xe_sa_bo_swap_guard - Retrieve the SA BO swap guard within sub-allocator.
SYNOPSIS struct mutex * xe_sa_bo_swap_guard (struct xe_sa_manager *sa_manager );
ARGUMENTS sa_manager the xe_sa_manager
RETURN Sub alloctor swap guard mutex.
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_sa.h xe_sa_bo_new(9), xe_sa_manag... |
xe_sa_bo_swap_shadow(9) | NAME xe_sa_bo_swap_shadow - Swap the SA BO with shadow BO.
SYNOPSIS void xe_sa_bo_swap_shadow (struct xe_sa_manager *sa_manager );
ARGUMENTS sa_manager the XE sub allocator manager
DESCRIPTION Swaps the sub-allocator primary buffer object with shadow buffer object.
RETURN None.
SEE ALSO Kernel file ./drivers/gpu/... |
xe_sa_bo_sync_read(9) | NAME xe_sa_bo_sync_read - Copy the data from GPU memory to the sub-allocation.
SYNOPSIS void xe_sa_bo_sync_read (struct drm_suballoc *sa_bo );
ARGUMENTS sa_bo the drm_suballoc to sync
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_sa.c __xe_sa_bo_manager_init(9), xe_sa_bo_swap_shadow(9), xe_sa_bo_sync_shadow(9),... |
xe_sa_bo_sync_shadow(9) | NAME xe_sa_bo_sync_shadow - Sync the SA Shadow BO with primary BO.
SYNOPSIS void xe_sa_bo_sync_shadow (struct drm_suballoc *sa_bo );
ARGUMENTS sa_bo the sub-allocator buffer object.
DESCRIPTION Synchronize sub-allocator shadow buffer object with primary buffer object.
RETURN None.
SEE ALSO Kernel file ./driv... |
xe_sa_manager_gpu_addr(9) | NAME xe_sa_manager_gpu_addr - Retrieve GPU address of a back storage BO within suballocator.
SYNOPSIS u64 xe_sa_manager_gpu_addr (struct xe_sa_manager *sa_manager );
ARGUMENTS sa_manager the xe_sa_manager struct instance
RETURN GGTT address of the back storage BO.
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_sa.h ... |
xe_sched_add_msg_head(9) | NAME xe_sched_add_msg_head - Xe GPU scheduler add message to head of list
SYNOPSIS void xe_sched_add_msg_head (struct xe_gpu_scheduler *sched , struct xe_sched_msg *msg );
ARGUMENTS sched Xe GPU scheduler
msg Message to add
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_gpu_scheduler.c
April 202... |
xe_sched_first_pending_job(9) | NAME xe_sched_first_pending_job - Find first pending job which is unsignaled
SYNOPSIS struct xe_sched_job * xe_sched_first_pending_job (struct xe_gpu_scheduler *sched );
ARGUMENTS sched Xe GPU scheduler
DESCRIPTION Return first unsignaled job in pending list or NULL
SEE ALSO Kernel file ./drivers/gpu/drm/xe/x... |
xe_sched_job_destroy(9) | NAME xe_sched_job_destroy - Destroy Xe schedule job
SYNOPSIS void xe_sched_job_destroy (struct kref *ref );
ARGUMENTS ref reference to Xe schedule job
DESCRIPTION Called when ref == 0, drop a reference to job's xe_engine + fence, cleanup base DRM schedule job, and free memory for Xe schedule job.
SEE ALSO K... |
xe_sched_job_get(9) | NAME xe_sched_job_get - get reference to Xe schedule job
SYNOPSIS struct xe_sched_job * xe_sched_job_get (struct xe_sched_job *job );
ARGUMENTS job Xe schedule job object
DESCRIPTION Increment Xe schedule job's reference count
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_sched_job.h xe_sched_job_put(9)
Apr... |
xe_sched_job_init_user_fence(9) | NAME xe_sched_job_init_user_fence - Initialize user_fence for the job
SYNOPSIS void xe_sched_job_init_user_fence (struct xe_sched_job *job , struct xe_sync_entry *sync );
ARGUMENTS job job whose user_fence needs an init
sync sync to be use to init user_fence
SEE ALSO Kernel file ./drivers/gpu/... |
xe_sched_job_put(9) | NAME xe_sched_job_put - put reference to Xe schedule job
SYNOPSIS void xe_sched_job_put (struct xe_sched_job *job );
ARGUMENTS job Xe schedule job object
DESCRIPTION Decrement Xe schedule job's reference count, call xe_sched_job_destroy when reference count == 0.
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe... |
xe_shrinker_create(9) | NAME xe_shrinker_create - Create an xe per-device shrinker
SYNOPSIS int xe_shrinker_create (struct xe_device *xe );
ARGUMENTS xe Pointer to the xe device.
RETURN 0 on success. Negative error code on failure.
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_shrinker.c struct xe_shrinker(9), xe_shrinker_mod_page... |
xe_shrinker_mod_pages(9) | NAME xe_shrinker_mod_pages - Modify shrinker page accounting
SYNOPSIS void xe_shrinker_mod_pages (struct xe_shrinker *shrinker , long shrinkable , long purgeable );
ARGUMENTS shrinker Pointer to the struct xe_shrinker.
shrinkable Shrinkable pages delta. May be negative.
purgeable Purgeable page ... |
xe_soc_remapper_init(9) | NAME xe_soc_remapper_init - Initialize SoC remapper
SYNOPSIS int xe_soc_remapper_init (struct xe_device *xe );
ARGUMENTS xe Pointer to xe device.
DESCRIPTION Initialize SoC remapper.
RETURN 0 on success, error code on failure
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_soc_remapper.c
April 2026 ... |
xe_sriov_function_name(9) | NAME xe_sriov_function_name - Get SR-IOV Function name.
SYNOPSIS const char * xe_sriov_function_name (unsigned int n , char *buf , size_t size );
ARGUMENTS n the Function number (identifier) to get name of
buf the buffer to format to
size size of the buffer (shall be at least ... |
xe_sriov_gt_pf_policy_has_multi_group_modes(9) | NAME xe_sriov_gt_pf_policy_has_multi_group_modes - check whether the GT supports any scheduler modes that have multiple groups
SYNOPSIS bool xe_sriov_gt_pf_policy_has_multi_group_modes (struct xe_gt *gt );
ARGUMENTS gt the xe_gt to check
DESCRIPTION This function can only be called on PF.
RETURN true if th... |
xe_sriov_gt_pf_policy_has_sched_group_mode(9) | NAME xe_sriov_gt_pf_policy_has_sched_group_mode - check whether the GT supports a specific scheduler group mode
SYNOPSIS bool xe_sriov_gt_pf_policy_has_sched_group_mode (struct xe_gt *gt , enum xe_sriov_sched_group_modes mode );
ARGUMENTS gt the xe_gt to check
mode the mode to check
DESCRIPTI... |
xe_sriov_gt_pf_policy_has_sched_groups_support(9) | NAME xe_sriov_gt_pf_policy_has_sched_groups_support - Checks whether scheduler groups are supported.
SYNOPSIS bool xe_sriov_gt_pf_policy_has_sched_groups_support (struct xe_gt *gt );
ARGUMENTS gt the xe_gt
DESCRIPTION This function can only be called on PF.
RETURN true if scheduler groups are supported, fa... |
xe_sriov_init(9) | NAME xe_sriov_init - Initialize SR-IOV specific data.
SYNOPSIS int xe_sriov_init (struct xe_device *xe );
ARGUMENTS xe the xe_device to initialize
DESCRIPTION In this function we create dedicated workqueue that will be used by the SR-IOV specific workers.
RETURN 0 on success or a negative error code on fai... |
xe_sriov_init_late(9) | NAME xe_sriov_init_late - SR-IOV late initialization functions.
SYNOPSIS int xe_sriov_init_late (struct xe_device *xe );
ARGUMENTS xe the xe_device to initialize
RETURN 0 on success or a negative error code on failure.
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_sriov.c xe_sriov_mode_to_string(9), xe_srio... |
xe_sriov_mode_to_string(9) | NAME xe_sriov_mode_to_string - Convert enum value to string.
SYNOPSIS const char * xe_sriov_mode_to_string (enum xe_sriov_mode mode );
ARGUMENTS mode the xe_sriov_mode to convert
RETURN SR-IOV mode as a user friendly string.
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_sriov.c xe_sriov_probe_early(9), xe_sri... |
xe_sriov_packet_alloc(9) | NAME xe_sriov_packet_alloc - Allocate migration data packet
SYNOPSIS struct xe_sriov_packet * xe_sriov_packet_alloc (struct xe_device *xe );
ARGUMENTS xe the xe_device
DESCRIPTION Only allocates the "outer" structure, without initializing the migration data backing storage.
RETURN Pointer to xe_sriov_packe... |
xe_sriov_packet_free(9) | NAME xe_sriov_packet_free - Free migration data packet.
SYNOPSIS void xe_sriov_packet_free (struct xe_sriov_packet *data );
ARGUMENTS data the xe_sriov_packet
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_sriov_packet.c xe_sriov_packet_alloc(9), xe_sriov_packet_init(9), xe_sriov_packet_init_from_hdr(9), xe_... |
xe_sriov_packet_init(9) | NAME xe_sriov_packet_init - Initialize migration packet header and backing storage.
SYNOPSIS int xe_sriov_packet_init (struct xe_sriov_packet *data , u8 tile_id , u8 gt_id , enum xe_sriov_packet_type type , loff_t offset , size_t size );
ARGUMENTS data the xe_sriov_packet
tile_id tile identifier
... |
xe_sriov_packet_init_from_hdr(9) | NAME xe_sriov_packet_init_from_hdr - Initialize migration packet backing storage based on header.
SYNOPSIS int xe_sriov_packet_init_from_hdr (struct xe_sriov_packet *data );
ARGUMENTS data the xe_sriov_packet
DESCRIPTION Header data is expected to be filled prior to calling this function.
RETURN 0 on success... |
xe_sriov_packet_process_descriptor(9) | NAME xe_sriov_packet_process_descriptor - Process migration data descriptor packet.
SYNOPSIS int xe_sriov_packet_process_descriptor (struct xe_device *xe , unsigned int vfid , struct xe_sriov_packet *data );
ARGUMENTS xe the xe_device
vfid the VF identifier
data the xe_sriov_pac... |
xe_sriov_packet_read_single(9) | NAME xe_sriov_packet_read_single - Read migration data from a single packet.
SYNOPSIS ssize_t xe_sriov_packet_read_single (struct xe_device *xe , unsigned int vfid , char __user *buf , size_t len );
ARGUMENTS xe the xe_device
vfid the VF identifier
buf start address of userspac... |
xe_sriov_packet_save_init(9) | NAME xe_sriov_packet_save_init - Initialize the pending save migration packets.
SYNOPSIS int xe_sriov_packet_save_init (struct xe_device *xe , unsigned int vfid );
ARGUMENTS xe the xe_device
vfid the VF identifier
RETURN 0 on success, -errno on failure.
SEE ALSO Kernel file ./drivers/gpu/d... |
xe_sriov_packet_write_single(9) | NAME xe_sriov_packet_write_single - Write migration data to a single packet.
SYNOPSIS ssize_t xe_sriov_packet_write_single (struct xe_device *xe , unsigned int vfid , const char __user *buf , size_t len );
ARGUMENTS xe the xe_device
vfid the VF identifier
buf start address of u... |
xe_sriov_pf_admin_only(9) | NAME xe_sriov_pf_admin_only - Check if PF is mainly used for VFs administration.
SYNOPSIS bool xe_sriov_pf_admin_only (const struct xe_device *xe );
ARGUMENTS xe the PF xe_device
RETURN True if PF is mainly used for VFs administration.
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_sriov_pf_helpers.h xe_srio... |
xe_sriov_pf_arm_guard(9) | NAME xe_sriov_pf_arm_guard - Arm the guard for exclusive/lockdown mode.
SYNOPSIS int xe_sriov_pf_arm_guard (struct xe_device *xe , struct xe_guard *guard , bool lockdown , void *who );
ARGUMENTS xe the PF xe_device
guard the xe_guard to arm
lockdown arm for lockdown(true) or exclusiv... |
xe_sriov_pf_assert_vfid(9) | NAME xe_sriov_pf_assert_vfid - warn if &id is not a supported VF number when debugging.
SYNOPSIS xe_sriov_pf_assert_vfid (xe , vfid );
ARGUMENTS xe the PF xe_device to assert on
vfid the VF number to assert
DESCRIPTION Assert that xe represents the Physical Function (PF) device and provided v... |
xe_sriov_pf_control_finish_restore_vf(9) | NAME xe_sriov_pf_control_finish_restore_vf - Complete VF migration data RESTORE sequence on all GTs.
SYNOPSIS int xe_sriov_pf_control_finish_restore_vf (struct xe_device *xe , unsigned int vfid );
ARGUMENTS xe the xe_device
vfid the VF identifier
DESCRIPTION This function is for PF only.
RET... |
xe_sriov_pf_control_finish_save_vf(9) | NAME xe_sriov_pf_control_finish_save_vf - Complete VF migration data SAVE sequence on all GTs.
SYNOPSIS int xe_sriov_pf_control_finish_save_vf (struct xe_device *xe , unsigned int vfid );
ARGUMENTS xe the xe_device
vfid the VF identifier
DESCRIPTION This function is for PF only.
RETURN 0 on ... |
xe_sriov_pf_control_pause_vf(9) | NAME xe_sriov_pf_control_pause_vf - Pause a VF on all GTs.
SYNOPSIS int xe_sriov_pf_control_pause_vf (struct xe_device *xe , unsigned int vfid );
ARGUMENTS xe the xe_device
vfid the VF identifier (can't be 0 == PFID)
DESCRIPTION This function is for PF only.
RETURN 0 on success or a negative... |
xe_sriov_pf_control_reset_vf(9) | NAME xe_sriov_pf_control_reset_vf - Perform a VF reset (FLR).
SYNOPSIS int xe_sriov_pf_control_reset_vf (struct xe_device *xe , unsigned int vfid );
ARGUMENTS xe the xe_device
vfid the VF identifier
DESCRIPTION This function is for PF only.
RETURN 0 on success or a negative error code on fai... |
xe_sriov_pf_control_resume_vf(9) | NAME xe_sriov_pf_control_resume_vf - Resume a VF on all GTs.
SYNOPSIS int xe_sriov_pf_control_resume_vf (struct xe_device *xe , unsigned int vfid );
ARGUMENTS xe the xe_device
vfid the VF identifier
DESCRIPTION This function is for PF only.
RETURN 0 on success or a negative error code on fai... |
xe_sriov_pf_control_stop_vf(9) | NAME xe_sriov_pf_control_stop_vf - Stop a VF on all GTs.
SYNOPSIS int xe_sriov_pf_control_stop_vf (struct xe_device *xe , unsigned int vfid );
ARGUMENTS xe the xe_device
vfid the VF identifier
DESCRIPTION This function is for PF only.
RETURN 0 on success or a negative error code on failure.
... |
xe_sriov_pf_control_sync_flr(9) | NAME xe_sriov_pf_control_sync_flr - Synchronize a VF FLR between all GTs.
SYNOPSIS int xe_sriov_pf_control_sync_flr (struct xe_device *xe , unsigned int vfid );
ARGUMENTS xe the xe_device
vfid the VF identifier
DESCRIPTION This function is for PF only.
RETURN 0 on success or a negative error... |
xe_sriov_pf_control_trigger_restore_vf(9) | NAME xe_sriov_pf_control_trigger_restore_vf - Start VF migration data RESTORE sequence on all GTs.
SYNOPSIS int xe_sriov_pf_control_trigger_restore_vf (struct xe_device *xe , unsigned int vfid );
ARGUMENTS xe the xe_device
vfid the VF identifier
DESCRIPTION This function is for PF only.
RETU... |
xe_sriov_pf_control_trigger_save_vf(9) | NAME xe_sriov_pf_control_trigger_save_vf - Start VF migration data SAVE sequence on all GTs.
SYNOPSIS int xe_sriov_pf_control_trigger_save_vf (struct xe_device *xe , unsigned int vfid );
ARGUMENTS xe the xe_device
vfid the VF identifier
DESCRIPTION This function is for PF only.
RETURN 0 on s... |
xe_sriov_pf_control_wait_flr(9) | NAME xe_sriov_pf_control_wait_flr - Wait for a VF reset (FLR) to complete.
SYNOPSIS int xe_sriov_pf_control_wait_flr (struct xe_device *xe , unsigned int vfid );
ARGUMENTS xe the xe_device
vfid the VF identifier
DESCRIPTION This function is for PF only.
RETURN 0 on success or a negative erro... |
xe_sriov_pf_debugfs_register(9) | NAME xe_sriov_pf_debugfs_register - Register PF debugfs attributes.
SYNOPSIS void xe_sriov_pf_debugfs_register (struct xe_device *xe , struct dentry *root );
ARGUMENTS xe the xe_device
root the root dentry
DESCRIPTION Create separate directory that will contain all SR-IOV related files, organ... |
xe_sriov_pf_disarm_guard(9) | NAME xe_sriov_pf_disarm_guard - Disarm the guard.
SYNOPSIS void xe_sriov_pf_disarm_guard (struct xe_device *xe , struct xe_guard *guard , bool lockdown , void *who );
ARGUMENTS xe the PF xe_device
guard the xe_guard to disarm
lockdown disarm from lockdown(true) or exclusive(false) mo... |
xe_sriov_pf_end_lockdown(9) | NAME xe_sriov_pf_end_lockdown - Allow the PF to enable VFs again.
SYNOPSIS void xe_sriov_pf_end_lockdown (struct xe_device *xe );
ARGUMENTS xe the PF xe_device
DESCRIPTION This function can only be called on PF. See xe_sriov_pf_lockdown for details.
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_sriov_p... |
xe_sriov_pf_get_totalvfs(9) | NAME xe_sriov_pf_get_totalvfs - Get maximum number of VFs that driver can support.
SYNOPSIS int xe_sriov_pf_get_totalvfs (struct xe_device *xe );
ARGUMENTS xe the xe_device to query (shall be PF)
RETURN Maximum number of VFs that this PF driver supports.
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_sriov_p... |
xe_sriov_pf_init_early(9) | NAME xe_sriov_pf_init_early - Initialize SR-IOV PF specific data.
SYNOPSIS int xe_sriov_pf_init_early (struct xe_device *xe );
ARGUMENTS xe the xe_device to initialize
RETURN 0 on success or a negative error code on failure.
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_sriov_pf.c xe_sriov_pf_readines... |
xe_sriov_pf_init_late(9) | NAME xe_sriov_pf_init_late - Late initialization of the SR-IOV PF.
SYNOPSIS int xe_sriov_pf_init_late (struct xe_device *xe );
ARGUMENTS xe the xe_device to initialize
DESCRIPTION This function can only be called on PF.
RETURN 0 on success or a negative error code on failure.
SEE ALSO Kernel file ./dr... |
xe_sriov_pf_lockdown(9) | NAME xe_sriov_pf_lockdown - Lockdown the PF to prevent VFs enabling.
SYNOPSIS int xe_sriov_pf_lockdown (struct xe_device *xe );
ARGUMENTS xe the PF xe_device
DESCRIPTION This function can only be called on PF. Once the PF is locked down, it will not enable VFs. If VFs are already enabled, the -EBUSY will ... |
xe_sriov_pf_migration_disable(9) | NAME xe_sriov_pf_migration_disable - Turn off SR-IOV VF migration support on PF.
SYNOPSIS void xe_sriov_pf_migration_disable (struct xe_device *xe , const char *fmt , ... );
ARGUMENTS xe the xe_device instance.
fmt format string for the log message, to be combined with following VAs.
... |
xe_sriov_pf_migration_init(9) | NAME xe_sriov_pf_migration_init - Initialize support for SR-IOV VF migration.
SYNOPSIS int xe_sriov_pf_migration_init (struct xe_device *xe );
ARGUMENTS xe the xe_device
RETURN 0 on success or a negative error code on failure.
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_sriov_pf_migration.c xe_sriov_pf_m... |
xe_sriov_pf_migration_read(9) | NAME xe_sriov_pf_migration_read - Read migration data from the device.
SYNOPSIS ssize_t xe_sriov_pf_migration_read (struct xe_device *xe , unsigned int vfid , char __user *buf , size_t len );
ARGUMENTS xe the xe_device
vfid the VF identifier
buf start address of userspace buffe... |
xe_sriov_pf_migration_restore_produce(9) | NAME xe_sriov_pf_migration_restore_produce - Produce a VF migration data packet to the device.
SYNOPSIS int xe_sriov_pf_migration_restore_produce (struct xe_device *xe , unsigned int vfid , struct xe_sriov_packet *data );
ARGUMENTS xe the xe_device
vfid the VF identifier
data Po... |
xe_sriov_pf_migration_save_consume(9) | NAME xe_sriov_pf_migration_save_consume - Consume a VF migration data packet from the device.
SYNOPSIS struct xe_sriov_packet * xe_sriov_pf_migration_save_consume (struct xe_device *xe , unsigned int vfid );
ARGUMENTS xe the xe_device
vfid the VF identifier
DESCRIPTION Called by the save migr... |
xe_sriov_pf_migration_size(9) | NAME xe_sriov_pf_migration_size - Total size of migration data from all components within a device
SYNOPSIS ssize_t xe_sriov_pf_migration_size (struct xe_device *xe , unsigned int vfid );
ARGUMENTS xe the xe_device
vfid the VF identifier (can't be 0)
DESCRIPTION This function is for PF only.
... |
xe_sriov_pf_migration_supported(9) | NAME xe_sriov_pf_migration_supported - Check if SR-IOV VF migration is supported by the device
SYNOPSIS bool xe_sriov_pf_migration_supported (struct xe_device *xe );
ARGUMENTS xe the xe_device
RETURN true if migration is supported, false otherwise
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_sriov_pf_mig... |
xe_sriov_pf_migration_waitqueue(9) | NAME xe_sriov_pf_migration_waitqueue - Get waitqueue for migration.
SYNOPSIS wait_queue_head_t * xe_sriov_pf_migration_waitqueue (struct xe_device *xe , unsigned int vfid );
ARGUMENTS xe the xe_device
vfid the VF identifier
RETURN pointer to the migration waitqueue.
SEE ALSO Kernel file ./... |
xe_sriov_pf_migration_write(9) | NAME xe_sriov_pf_migration_write - Write migration data to the device.
SYNOPSIS ssize_t xe_sriov_pf_migration_write (struct xe_device *xe , unsigned int vfid , const char __user *buf , size_t len );
ARGUMENTS xe the xe_device
vfid the VF identifier
buf start address of userspac... |
xe_sriov_pf_num_vfs(9) | NAME xe_sriov_pf_num_vfs - Number of enabled VFs on the PF.
SYNOPSIS unsigned int xe_sriov_pf_num_vfs (const struct xe_device *xe );
ARGUMENTS xe the PF xe_device
RETURN Number of enabled VFs on the PF.
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_sriov_pf_helpers.h xe_sriov_pf_assert_vfid(9), xe_sriov_pf_... |
xe_sriov_pf_print_vfs_summary(9) | NAME xe_sriov_pf_print_vfs_summary - Print SR-IOV PF information.
SYNOPSIS void xe_sriov_pf_print_vfs_summary (struct xe_device *xe , struct drm_printer *p );
ARGUMENTS xe the xe_device to print info from
p the drm_printer
DESCRIPTION Print SR-IOV PF related information into provided DRM p... |
xe_sriov_pf_provision_apply_vf_eq(9) | NAME xe_sriov_pf_provision_apply_vf_eq - Change VF's execution quantum.
SYNOPSIS int xe_sriov_pf_provision_apply_vf_eq (struct xe_device *xe , unsigned int vfid , u32 eq );
ARGUMENTS xe the PF xe_device
vfid the VF identifier
eq execution quantum in [ms] to set
DESCRIPTION Ch... |
xe_sriov_pf_provision_apply_vf_priority(9) | NAME xe_sriov_pf_provision_apply_vf_priority - Change VF's scheduling priority.
SYNOPSIS int xe_sriov_pf_provision_apply_vf_priority (struct xe_device *xe , unsigned int vfid , u32 prio );
ARGUMENTS xe the PF xe_device
vfid the VF identifier
prio scheduling priority to set
DESC... |
xe_sriov_pf_provision_apply_vf_pt(9) | NAME xe_sriov_pf_provision_apply_vf_pt - Change VF's preemption timeout.
SYNOPSIS int xe_sriov_pf_provision_apply_vf_pt (struct xe_device *xe , unsigned int vfid , u32 pt );
ARGUMENTS xe the PF xe_device
vfid the VF identifier
pt preemption timeout in [us] to set
DESCRIPTION ... |
xe_sriov_pf_provision_bulk_apply_eq(9) | NAME xe_sriov_pf_provision_bulk_apply_eq - Change execution quantum for all VFs and PF.
SYNOPSIS int xe_sriov_pf_provision_bulk_apply_eq (struct xe_device *xe , u32 eq );
ARGUMENTS xe the PF xe_device
eq execution quantum in [ms] to set
DESCRIPTION Change execution quantum (EQ) provisioning... |
xe_sriov_pf_provision_bulk_apply_priority(9) | NAME xe_sriov_pf_provision_bulk_apply_priority - Change scheduling priority of all VFs and PF.
SYNOPSIS int xe_sriov_pf_provision_bulk_apply_priority (struct xe_device *xe , u32 prio );
ARGUMENTS xe the PF xe_device
prio scheduling priority to set
DESCRIPTION Change the scheduling priority pr... |
xe_sriov_pf_provision_bulk_apply_pt(9) | NAME xe_sriov_pf_provision_bulk_apply_pt - Change preemption timeout for all VFs and PF.
SYNOPSIS int xe_sriov_pf_provision_bulk_apply_pt (struct xe_device *xe , u32 pt );
ARGUMENTS xe the PF xe_device
pt preemption timeout in [us] to set
DESCRIPTION Change preemption timeout (PT) provision... |
xe_sriov_pf_provision_query_vf_eq(9) | NAME xe_sriov_pf_provision_query_vf_eq - Query VF's execution quantum.
SYNOPSIS int xe_sriov_pf_provision_query_vf_eq (struct xe_device *xe , unsigned int vfid , u32 *eq );
ARGUMENTS xe the PF xe_device
vfid the VF identifier
eq placeholder for the returned execution quantum i... |
xe_sriov_pf_provision_query_vf_priority(9) | NAME xe_sriov_pf_provision_query_vf_priority - Query VF's scheduling priority.
SYNOPSIS int xe_sriov_pf_provision_query_vf_priority (struct xe_device *xe , unsigned int vfid , u32 *prio );
ARGUMENTS xe the PF xe_device
vfid the VF identifier
prio placeholder for the returned sch... |
xe_sriov_pf_provision_query_vf_pt(9) | NAME xe_sriov_pf_provision_query_vf_pt - Query VF's preemption timeout.
SYNOPSIS int xe_sriov_pf_provision_query_vf_pt (struct xe_device *xe , unsigned int vfid , u32 *pt );
ARGUMENTS xe the PF xe_device
vfid the VF identifier
pt placeholder for the returned preemption timeout... |
xe_sriov_pf_provision_set_custom_mode(9) | NAME xe_sriov_pf_provision_set_custom_mode - Change VFs provision mode to custom.
SYNOPSIS int xe_sriov_pf_provision_set_custom_mode (struct xe_device *xe );
ARGUMENTS xe the PF xe_device
DESCRIPTION This function can only be called on PF.
RETURN 0 on success or a negative error code on failure.
SEE ALSO ... |
xe_sriov_pf_provision_set_mode(9) | NAME xe_sriov_pf_provision_set_mode - Change VFs provision mode.
SYNOPSIS int xe_sriov_pf_provision_set_mode (struct xe_device *xe , enum xe_sriov_provisioning_mode mode );
ARGUMENTS xe the PF xe_device
mode the new VFs provisioning mode
DESCRIPTION When changing from AUTO to CUSTOM mode, ... |
xe_sriov_pf_provision_vfs(9) | NAME xe_sriov_pf_provision_vfs - Provision VFs in auto-mode.
SYNOPSIS int xe_sriov_pf_provision_vfs (struct xe_device *xe , unsigned int num_vfs );
ARGUMENTS xe the PF xe_device
num_vfs the number of VFs to auto-provision
DESCRIPTION This function can only be called on PF.
RETURN 0 on success o... |
xe_sriov_pf_readiness(9) | NAME xe_sriov_pf_readiness - Check if PF functionality can be enabled.
SYNOPSIS bool xe_sriov_pf_readiness (struct xe_device *xe );
ARGUMENTS xe the xe_device to check
DESCRIPTION This function is called as part of the SR-IOV probe to validate if all PF prerequisites are satisfied and we can continue with e... |
xe_sriov_pf_service_handshake_vf(9) | NAME xe_sriov_pf_service_handshake_vf - Confirm a connection with the VF.
SYNOPSIS int xe_sriov_pf_service_handshake_vf (struct xe_device *xe , u32 vfid , u32 wanted_major , u32 wanted_minor , u32 *major , u32 *minor );
ARGUMENTS xe the xe_device
vfid the VF identifier
wanted_major
... |
xe_sriov_pf_service_init(9) | NAME xe_sriov_pf_service_init - Early initialization of the SR-IOV PF service.
SYNOPSIS void xe_sriov_pf_service_init (struct xe_device *xe );
ARGUMENTS xe the xe_device to initialize
DESCRIPTION Performs early initialization of the SR-IOV PF service. This function can only be called on PF.
SEE ALSO Kerne... |
xe_sriov_pf_service_is_negotiated(9) | NAME xe_sriov_pf_service_is_negotiated - Check if VF has negotiated given ABI version.
SYNOPSIS bool xe_sriov_pf_service_is_negotiated (struct xe_device *xe , u32 vfid , u32 major , u32 minor );
ARGUMENTS xe the xe_device
vfid the VF identifier
major the major version to check
... |
xe_sriov_pf_service_print_versions(9) | NAME xe_sriov_pf_service_print_versions - Print ABI versions negotiated with VFs.
SYNOPSIS void xe_sriov_pf_service_print_versions (struct xe_device *xe , struct drm_printer *p );
ARGUMENTS xe the xe_device
p the drm_printer
DESCRIPTION This function is for PF use only.
SEE ALSO Kernel fi... |
xe_sriov_pf_service_reset_vf(9) | NAME xe_sriov_pf_service_reset_vf - Reset a connection with the VF.
SYNOPSIS void xe_sriov_pf_service_reset_vf (struct xe_device *xe , unsigned int vfid );
ARGUMENTS xe the xe_device
vfid the VF identifier
DESCRIPTION Reset a VF driver negotiated VF/PF ABI version. After that point, the VF d... |
xe_sriov_pf_sysfs_init(9) | NAME xe_sriov_pf_sysfs_init - Setup PF's SR-IOV sysfs tree.
SYNOPSIS int xe_sriov_pf_sysfs_init (struct xe_device *xe );
ARGUMENTS xe the PF xe_device to setup sysfs
DESCRIPTION This function will create additional nodes that will represent PF and VFs devices, each populated with SR-IOV Xe specific attribut... |
xe_sriov_pf_sysfs_link_vfs(9) | NAME xe_sriov_pf_sysfs_link_vfs - Add VF's links in SR-IOV sysfs tree.
SYNOPSIS void xe_sriov_pf_sysfs_link_vfs (struct xe_device *xe , unsigned int num_vfs );
ARGUMENTS xe the xe_device where to update sysfs
num_vfs number of enabled VFs to link
DESCRIPTION This function is specific for the PF ... |
xe_sriov_pf_sysfs_unlink_vfs(9) | NAME xe_sriov_pf_sysfs_unlink_vfs - Remove VF's links from SR-IOV sysfs tree.
SYNOPSIS void xe_sriov_pf_sysfs_unlink_vfs (struct xe_device *xe , unsigned int num_vfs );
ARGUMENTS xe the xe_device where to update sysfs
num_vfs number of VFs to unlink
DESCRIPTION This function shall be called only... |
xe_sriov_pf_unprovision_vfs(9) | NAME xe_sriov_pf_unprovision_vfs - Unprovision VFs in auto-mode.
SYNOPSIS int xe_sriov_pf_unprovision_vfs (struct xe_device *xe , unsigned int num_vfs );
ARGUMENTS xe the PF xe_device
num_vfs the number of VFs to unprovision
DESCRIPTION This function can only be called on PF.
RETURN 0 on succes... |
xe_sriov_pf_wait_ready(9) | NAME xe_sriov_pf_wait_ready - Wait until PF is ready to operate.
SYNOPSIS int xe_sriov_pf_wait_ready (struct xe_device *xe );
ARGUMENTS xe the xe_device to test
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/g... |
xe_sriov_print_info(9) | NAME xe_sriov_print_info - Print basic SR-IOV information.
SYNOPSIS void xe_sriov_print_info (struct xe_device *xe , struct drm_printer *p );
ARGUMENTS xe the xe_device to print info from
p the drm_printer
DESCRIPTION Print SR-IOV related information into provided DRM printer.
SEE ALSO Ke... |
xe_sriov_probe_early(9) | NAME xe_sriov_probe_early - Probe a SR-IOV mode.
SYNOPSIS void xe_sriov_probe_early (struct xe_device *xe );
ARGUMENTS xe the xe_device to probe mode on
DESCRIPTION This function should be called only once and as soon as possible during driver probe to detect whether we are running a SR-IOV Physical Funct... |
xe_sriov_vf_ccs_attach_bo(9) | NAME xe_sriov_vf_ccs_attach_bo - Insert CCS read write commands in the BO.
SYNOPSIS int xe_sriov_vf_ccs_attach_bo (struct xe_bo *bo );
ARGUMENTS bo the buffer object to which batch buffer commands will be added.
DESCRIPTION This function shall be called only by VF. It inserts the PTEs and copy command instr... |
xe_sriov_vf_ccs_detach_bo(9) | NAME xe_sriov_vf_ccs_detach_bo - Remove CCS read write commands from the BO.
SYNOPSIS int xe_sriov_vf_ccs_detach_bo (struct xe_bo *bo );
ARGUMENTS bo the buffer object from which batch buffer commands will be removed.
DESCRIPTION This function shall be called only by VF. It removes the PTEs and copy command... |
xe_sriov_vf_ccs_init(9) | NAME xe_sriov_vf_ccs_init - Setup LRCA for save & restore.
SYNOPSIS int xe_sriov_vf_ccs_init (struct xe_device *xe );
ARGUMENTS xe the xe_device to start recovery on
DESCRIPTION This function shall be called only by VF. It initializes LRCA and suballocator needed for CCS save & restore.
RETURN 0 on success... |
xe_sriov_vf_ccs_print(9) | NAME xe_sriov_vf_ccs_print - Print VF CCS details.
SYNOPSIS void xe_sriov_vf_ccs_print (struct xe_device *xe , struct drm_printer *p );
ARGUMENTS xe the xe_device
p the drm_printer
DESCRIPTION This function is for VF use only.
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_sriov_vf_ccs.c Ke... |
xe_sriov_vf_ccs_rebase(9) | NAME xe_sriov_vf_ccs_rebase - Rebase GGTT addresses for CCS save / restore
SYNOPSIS void xe_sriov_vf_ccs_rebase (struct xe_device *xe );
ARGUMENTS xe the xe_device.
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_sriov_vf_ccs.c Kernel API(9), xe_sriov_vf_ccs_register_context(9), xe_sriov_vf_ccs_init(9), xe_sri... |
xe_sriov_vf_ccs_register_context(9) | NAME xe_sriov_vf_ccs_register_context - Register read/write contexts with guc.
SYNOPSIS int xe_sriov_vf_ccs_register_context (struct xe_device *xe );
ARGUMENTS xe the xe_device to register contexts on.
DESCRIPTION This function registers read and write contexts with Guc. Re-registration is needed whenever r... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.