id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
xe_sriov_vf_debugfs_register(9) | NAME xe_sriov_vf_debugfs_register - Register VF debugfs attributes.
SYNOPSIS void xe_sriov_vf_debugfs_register (struct xe_device *xe , struct dentry *root );
ARGUMENTS xe the xe_device
root the root dentry
DESCRIPTION Prepare debugfs attributes exposed by the VF.
SEE ALSO Kernel file ./drive... |
xe_sriov_vf_init_early(9) | NAME xe_sriov_vf_init_early - Initialize SR-IOV VF specific data.
SYNOPSIS void xe_sriov_vf_init_early (struct xe_device *xe );
ARGUMENTS xe the xe_device to initialize
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_sriov_vf.c Kernel API(9), xe_sriov_vf_migration_supported(9), xe_sriov_vf_migration_disable(9)... |
xe_sriov_vf_init_late(9) | NAME xe_sriov_vf_init_late - SR-IOV VF late initialization functions.
SYNOPSIS int xe_sriov_vf_init_late (struct xe_device *xe );
ARGUMENTS xe the xe_device to initialize
DESCRIPTION This function initializes code for CCS migration.
RETURN 0 on success or a negative error code on failure.
SEE ALSO Kernel ... |
xe_sriov_vf_migration_disable(9) | NAME xe_sriov_vf_migration_disable - Turn off VF migration with given log message.
SYNOPSIS void xe_sriov_vf_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_vf_migration_supported(9) | NAME xe_sriov_vf_migration_supported - Report whether SR-IOV VF migration is supported or not.
SYNOPSIS bool xe_sriov_vf_migration_supported (struct xe_device *xe );
ARGUMENTS xe the xe_device to check
RETURN true if VF migration is supported, false otherwise.
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_s... |
xe_sriov_vfio_data_read(9) | NAME xe_sriov_vfio_data_read - Read migration data from the VF device.
SYNOPSIS ssize_t xe_sriov_vfio_data_read (struct xe_device *xe , unsigned int vfid , char __user *buf , size_t len );
ARGUMENTS xe the PF xe_device obtained by calling xe_sriov_vfio_get_pf
vfid the VF identifier (can't be 0... |
xe_sriov_vfio_data_write(9) | NAME xe_sriov_vfio_data_write - Write migration data to the VF device.
SYNOPSIS ssize_t xe_sriov_vfio_data_write (struct xe_device *xe , unsigned int vfid , const char __user *buf , size_t len );
ARGUMENTS xe the PF xe_device obtained by calling xe_sriov_vfio_get_pf
vfid the VF identifier (can... |
xe_sriov_vfio_error(9) | NAME xe_sriov_vfio_error - Move VF device to error state.
SYNOPSIS int xe_sriov_vfio_error (struct xe_device *xe , unsigned int vfid );
ARGUMENTS xe the PF xe_device obtained by calling xe_sriov_vfio_get_pf
vfid the VF identifier (can't be 0)
DESCRIPTION Reset is needed to move it out of erro... |
xe_sriov_vfio_get_pf(9) | NAME xe_sriov_vfio_get_pf - Get PF &xe_device.
SYNOPSIS struct xe_device * xe_sriov_vfio_get_pf (struct pci_dev *pdev );
ARGUMENTS pdev the VF pci_dev device
RETURN pointer to PF xe_device, NULL otherwise.
SEE ALSO Kernel file ./include/drm/intel/xe_sriov_vfio.h xe_sriov_vfio_migration_supported(9), xe_s... |
xe_sriov_vfio_migration_supported(9) | NAME xe_sriov_vfio_migration_supported - Check if migration is supported.
SYNOPSIS bool xe_sriov_vfio_migration_supported (struct xe_device *xe );
ARGUMENTS xe the PF xe_device obtained by calling xe_sriov_vfio_get_pf
RETURN true if migration is supported, false otherwise.
SEE ALSO Kernel file ./include/dr... |
xe_sriov_vfio_resume_data_enter(9) | NAME xe_sriov_vfio_resume_data_enter - Initiate a VF device migration data restore.
SYNOPSIS int xe_sriov_vfio_resume_data_enter (struct xe_device *xe , unsigned int vfid );
ARGUMENTS xe the PF xe_device obtained by calling xe_sriov_vfio_get_pf
vfid the VF identifier (can't be 0)
RETURN 0 on ... |
xe_sriov_vfio_resume_data_exit(9) | NAME xe_sriov_vfio_resume_data_exit - Finish a VF device migration data restore.
SYNOPSIS int xe_sriov_vfio_resume_data_exit (struct xe_device *xe , unsigned int vfid );
ARGUMENTS xe the PF xe_device obtained by calling xe_sriov_vfio_get_pf
vfid the VF identifier (can't be 0)
RETURN 0 on succ... |
xe_sriov_vfio_resume_device(9) | NAME xe_sriov_vfio_resume_device - Resume VF.
SYNOPSIS int xe_sriov_vfio_resume_device (struct xe_device *xe , unsigned int vfid );
ARGUMENTS xe the PF xe_device obtained by calling xe_sriov_vfio_get_pf
vfid the VF identifier (can't be 0)
DESCRIPTION This function will resume VF on all tiles.... |
xe_sriov_vfio_stop_copy_enter(9) | NAME xe_sriov_vfio_stop_copy_enter - Initiate a VF device migration data save.
SYNOPSIS int xe_sriov_vfio_stop_copy_enter (struct xe_device *xe , unsigned int vfid );
ARGUMENTS xe the PF xe_device obtained by calling xe_sriov_vfio_get_pf
vfid the VF identifier (can't be 0)
RETURN 0 on success... |
xe_sriov_vfio_stop_copy_exit(9) | NAME xe_sriov_vfio_stop_copy_exit - Finish a VF device migration data save.
SYNOPSIS int xe_sriov_vfio_stop_copy_exit (struct xe_device *xe , unsigned int vfid );
ARGUMENTS xe the PF xe_device obtained by calling xe_sriov_vfio_get_pf
vfid the VF identifier (can't be 0)
RETURN 0 on success or ... |
xe_sriov_vfio_stop_copy_size(9) | NAME xe_sriov_vfio_stop_copy_size - Get a size estimate of VF device migration data.
SYNOPSIS ssize_t xe_sriov_vfio_stop_copy_size (struct xe_device *xe , unsigned int vfid );
ARGUMENTS xe the PF xe_device obtained by calling xe_sriov_vfio_get_pf
vfid the VF identifier (can't be 0)
RETURN mig... |
xe_sriov_vfio_suspend_device(9) | NAME xe_sriov_vfio_suspend_device - Suspend VF.
SYNOPSIS int xe_sriov_vfio_suspend_device (struct xe_device *xe , unsigned int vfid );
ARGUMENTS xe the PF xe_device obtained by calling xe_sriov_vfio_get_pf
vfid the VF identifier (can't be 0)
DESCRIPTION This function will pause VF on all tile... |
xe_sriov_vfio_wait_flr_done(9) | NAME xe_sriov_vfio_wait_flr_done - Wait for VF FLR completion.
SYNOPSIS int xe_sriov_vfio_wait_flr_done (struct xe_device *xe , unsigned int vfid );
ARGUMENTS xe the PF xe_device obtained by calling xe_sriov_vfio_get_pf
vfid the VF identifier (can't be 0)
DESCRIPTION This function will wait u... |
xe_step_gmdid_get(9) | NAME xe_step_gmdid_get - Determine IP steppings from GMD_ID revid fields
SYNOPSIS struct xe_step_info xe_step_gmdid_get (struct xe_device *xe , u32 graphics_gmdid_revid , u32 media_gmdid_revid );
ARGUMENTS xe Xe device
graphics_gmdid_revid
value of graphics GMD_ID register's revid ... |
xe_step_pre_gmdid_get(9) | NAME xe_step_pre_gmdid_get - Determine IP steppings from PCI revid
SYNOPSIS struct xe_step_info xe_step_pre_gmdid_get (struct xe_device *xe );
ARGUMENTS xe Xe device
DESCRIPTION Convert the PCI revid into proper IP steppings. This should only be used on platforms that do not have GMD_ID support.
SEE ALSO ... |
xe_survivability_mode_boot_enable(9) | NAME xe_survivability_mode_boot_enable - Initialize and enable boot survivability mode
SYNOPSIS int xe_survivability_mode_boot_enable (struct xe_device *xe );
ARGUMENTS xe xe device instance
DESCRIPTION Initialize survivability information and enable boot survivability mode
RETURN 0 if boot survivability m... |
xe_survivability_mode_is_boot_enabled(9) | NAME xe_survivability_mode_is_boot_enabled - check if boot survivability mode is enabled
SYNOPSIS bool xe_survivability_mode_is_boot_enabled (struct xe_device *xe );
ARGUMENTS xe xe device instance
DESCRIPTION Returns true if in boot survivability mode of type, else false
SEE ALSO Kernel file ./drivers/gpu... |
xe_survivability_mode_is_requested(9) | NAME xe_survivability_mode_is_requested - check if it's possible to enable survivability mode that was requested by firmware or userspace
SYNOPSIS bool xe_survivability_mode_is_requested (struct xe_device *xe );
ARGUMENTS xe xe device instance
DESCRIPTION This function reads configfs and boot status from P... |
xe_survivability_mode_runtime_enable(9) | NAME xe_survivability_mode_runtime_enable - Initialize and enable runtime survivability mode
SYNOPSIS int xe_survivability_mode_runtime_enable (struct xe_device *xe );
ARGUMENTS xe xe device instance
DESCRIPTION Initialize survivability information and enable runtime survivability mode. Runtime survivab... |
xe_svm_alloc_vram(9) | NAME xe_svm_alloc_vram - Allocate device memory pages for range, migrating existing data.
SYNOPSIS int xe_svm_alloc_vram (struct xe_svm_range *range , const struct drm_gpusvm_ctx *ctx , struct drm_pagemap *dpagemap );
ARGUMENTS range SVM range
ctx DRM GPU SVM context
dpagemap The stru... |
xe_svm_bo_evict(9) | NAME xe_svm_bo_evict - SVM evict BO to system memory
SYNOPSIS int xe_svm_bo_evict (struct xe_bo *bo );
ARGUMENTS bo BO to evict
DESCRIPTION SVM evict BO to system memory. GPU SVM layer ensures all device pages are evicted before returning.
RETURN 0 on success standard error code otherwise
SEE ALSO Kernel ... |
xe_svm_close(9) | NAME xe_svm_close - SVM close
SYNOPSIS void xe_svm_close (struct xe_vm *vm );
ARGUMENTS vm The VM.
DESCRIPTION Close SVM state (i.e., stop and flush all SVM actions).
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_svm.c Kernel API(9), xe_svm_init(9), xe_svm_fini(9), xe_svm_range_validate(9), xe_s... |
xe_svm_find_vma_start(9) | NAME xe_svm_find_vma_start - Find start of CPU VMA
SYNOPSIS u64 xe_svm_find_vma_start (struct xe_vm *vm , u64 start , u64 end , struct xe_vma *vma );
ARGUMENTS vm xe_vm pointer
start start address
end end address
vma Pointer to struct xe_vma
DESCRIPTION This fun... |
xe_svm_fini(9) | NAME xe_svm_fini - SVM finalize
SYNOPSIS void xe_svm_fini (struct xe_vm *vm );
ARGUMENTS vm The VM.
DESCRIPTION Finalize SVM state which is embedded within the VM.
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_svm.c Kernel API(9), xe_svm_init(9), xe_svm_close(9), xe_svm_range_validate(9), xe_svm_... |
xe_svm_flush(9) | NAME xe_svm_flush - SVM flush
SYNOPSIS void xe_svm_flush (struct xe_vm *vm );
ARGUMENTS vm The VM.
DESCRIPTION Flush all SVM actions.
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_svm.c Kernel API(9), xe_svm_init(9), xe_svm_close(9), xe_svm_fini(9), xe_svm_range_validate(9), xe_svm_find_vma_start(... |
xe_svm_handle_pagefault(9) | NAME xe_svm_handle_pagefault - SVM handle page fault
SYNOPSIS int xe_svm_handle_pagefault (struct xe_vm *vm , struct xe_vma *vma , struct xe_gt *gt , u64 fault_addr , bool atomic );
ARGUMENTS vm The VM.
vma The CPU address mirror VMA.
gt The gt upon the fault occurred.
... |
xe_svm_has_mapping(9) | NAME xe_svm_has_mapping - SVM has mappings
SYNOPSIS bool xe_svm_has_mapping (struct xe_vm *vm , u64 start , u64 end );
ARGUMENTS vm The VM.
start Start address.
end End address.
DESCRIPTION Check if an address range has SVM mappings.
RETURN True if address range has a SVM mapp... |
xe_svm_init(9) | NAME xe_svm_init - SVM initialize
SYNOPSIS int xe_svm_init (struct xe_vm *vm );
ARGUMENTS vm The VM.
DESCRIPTION Initialize SVM state which is embedded within the VM.
RETURN 0 on success, negative error code on error.
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_svm.c Kernel API(9), xe_svm_close(9... |
xe_svm_range_end(9) | NAME xe_svm_range_end - SVM range end address
SYNOPSIS unsigned long xe_svm_range_end (struct xe_svm_range *range );
ARGUMENTS range SVM range
RETURN end address of range.
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_svm.h struct xe_pagemap(9), xe_svm_range_pages_valid(9), xe_svm_range_has_dma_mapping(9), to_... |
xe_svm_range_find_or_insert(9) | NAME xe_svm_range_find_or_insert - Find or insert GPU SVM range
SYNOPSIS struct xe_svm_range * xe_svm_range_find_or_insert (struct xe_vm *vm , u64 addr , struct xe_vma *vma , struct drm_gpusvm_ctx *ctx );
ARGUMENTS vm xe_vm pointer
addr address for which range needs to be found/inserted
... |
xe_svm_range_get_pages(9) | NAME xe_svm_range_get_pages - Get pages for a SVM range
SYNOPSIS int xe_svm_range_get_pages (struct xe_vm *vm , struct xe_svm_range *range , struct drm_gpusvm_ctx *ctx );
ARGUMENTS vm Pointer to the struct xe_vm
range Pointer to the xe SVM range structure
ctx GPU SVM context
DE... |
xe_svm_range_has_dma_mapping(9) | NAME xe_svm_range_has_dma_mapping - SVM range has DMA mapping
SYNOPSIS bool xe_svm_range_has_dma_mapping (struct xe_svm_range *range );
ARGUMENTS range SVM range
RETURN True if SVM range has a DMA mapping, False otherwise
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_svm.h struct xe_pagemap(9), xe_svm_range_pa... |
xe_svm_range_needs_migrate_to_vram(9) | NAME xe_svm_range_needs_migrate_to_vram - SVM range needs migrate to VRAM or not
SYNOPSIS bool xe_svm_range_needs_migrate_to_vram (struct xe_svm_range *range , struct xe_vma *vma , const struct drm_pagemap *dpagemap );
ARGUMENTS range SVM range for which migration needs to be decided
vma vma whi... |
xe_svm_range_pages_valid(9) | NAME xe_svm_range_pages_valid - SVM range pages valid
SYNOPSIS bool xe_svm_range_pages_valid (struct xe_svm_range *range );
ARGUMENTS range SVM range
RETURN True if SVM range pages are valid, False otherwise
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_svm.h struct xe_pagemap(9), xe_svm_range_has_dma_mapping(... |
xe_svm_range_size(9) | NAME xe_svm_range_size - SVM range size
SYNOPSIS unsigned long xe_svm_range_size (struct xe_svm_range *range );
ARGUMENTS range SVM range
RETURN Size of range.
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_svm.h struct xe_pagemap(9), xe_svm_range_pages_valid(9), xe_svm_range_has_dma_mapping(9), to_xe_range(9),... |
xe_svm_range_start(9) | NAME xe_svm_range_start - SVM range start address
SYNOPSIS unsigned long xe_svm_range_start (struct xe_svm_range *range );
ARGUMENTS range SVM range
RETURN start address of range.
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_svm.h struct xe_pagemap(9), xe_svm_range_pages_valid(9), xe_svm_range_has_dma_mapping... |
xe_svm_range_validate(9) | NAME xe_svm_range_validate - Check if the SVM range is valid
SYNOPSIS bool xe_svm_range_validate (struct xe_vm *vm , struct xe_svm_range *range , u8 tile_mask , const struct drm_pagemap *dpagemap );
ARGUMENTS vm xe_vm pointer
range Pointer to the SVM range structure
tile_mask Mask rep... |
xe_svm_ranges_zap_ptes_in_range(9) | NAME xe_svm_ranges_zap_ptes_in_range - clear ptes of svm ranges in input range
SYNOPSIS u8 xe_svm_ranges_zap_ptes_in_range (struct xe_vm *vm , u64 start , u64 end );
ARGUMENTS vm Pointer to the xe_vm structure
start Start of the input range
end End of the input range
DESCRIPTIO... |
xe_svm_unmap_address_range(9) | NAME xe_svm_unmap_address_range - UNMAP SVM mappings and ranges
SYNOPSIS void xe_svm_unmap_address_range (struct xe_vm *vm , u64 start , u64 end );
ARGUMENTS vm The VM
start start addr
end end addr
DESCRIPTION This function UNMAPS svm ranges if start or end address are inside t... |
xe_sync_entry_wait(9) | NAME xe_sync_entry_wait - Wait on in-sync
SYNOPSIS int xe_sync_entry_wait (struct xe_sync_entry *sync );
ARGUMENTS sync Sync object
DESCRIPTION If the sync is in an in-sync, wait on the sync to signal.
RETURN 0 on success, -ERESTARTSYS on failure (interruption)
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_s... |
xe_sync_in_fence_get(9) | NAME xe_sync_in_fence_get - Get a fence from syncs, exec queue, and VM
SYNOPSIS struct dma_fence * xe_sync_in_fence_get (struct xe_sync_entry *sync , int num_sync , struct xe_exec_queue *q , struct xe_vm *vm );
ARGUMENTS sync input syncs
num_sync number of syncs
q exec queue
... |
xe_sync_needs_wait(9) | NAME xe_sync_needs_wait - Sync needs a wait (input dma-fence not signaled)
SYNOPSIS bool xe_sync_needs_wait (struct xe_sync_entry *sync );
ARGUMENTS sync Sync object
RETURN True if sync needs a wait, False otherwise
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_sync.c xe_sync_entry_wait(9), xe_sync_in_fence_g... |
xe_sync_ufence_get(9) | NAME xe_sync_ufence_get - Get user fence from sync
SYNOPSIS struct xe_user_fence * xe_sync_ufence_get (struct xe_sync_entry *sync );
ARGUMENTS sync input sync
DESCRIPTION Get a user fence reference from sync.
RETURN xe_user_fence pointer with reference
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_sync.c xe_... |
xe_sync_ufence_get_status(9) | NAME xe_sync_ufence_get_status - Get user fence status
SYNOPSIS int xe_sync_ufence_get_status (struct xe_user_fence *ufence );
ARGUMENTS ufence user fence
RETURN 1 if signalled, 0 not signalled, <0 on error
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_sync.c xe_sync_entry_wait(9), xe_sync_needs_wait(9), xe_syn... |
xe_sync_ufence_put(9) | NAME xe_sync_ufence_put - Put user fence reference
SYNOPSIS void xe_sync_ufence_put (struct xe_user_fence *ufence );
ARGUMENTS ufence user fence reference
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_sync.c xe_sync_entry_wait(9), xe_sync_needs_wait(9), xe_sync_in_fence_get(9), __xe_sync_ufence_get(9), xe_sync_u... |
xe_tile_alloc(9) | NAME xe_tile_alloc - Perform per-tile memory allocation
SYNOPSIS int xe_tile_alloc (struct xe_tile *tile );
ARGUMENTS tile Tile to perform allocations for
DESCRIPTION Allocates various per-tile data structures using DRM-managed allocations. Does not touch the hardware. Returns -ENOMEM if allocations fail, o... |
xe_tile_alloc_vram(9) | NAME xe_tile_alloc_vram - Perform per-tile VRAM structs allocation
SYNOPSIS int xe_tile_alloc_vram (struct xe_tile *tile );
ARGUMENTS tile Tile to perform allocations for
DESCRIPTION Allocates VRAM per-tile data structures using DRM-managed allocations. Does not touch the hardware. Returns -ENOMEM if alloca... |
xe_tile_assert(9) | NAME xe_tile_assert - warn if condition is false when debugging.
SYNOPSIS xe_tile_assert (tile , condition );
ARGUMENTS tile the struct xe_tile pointer to which condition applies
condition condition to check
DESCRIPTION xe_tile_assert uses drm_WARN to emit a warning and print additional informat... |
xe_tile_dbg_printer(9) | NAME xe_tile_dbg_printer - Construct a &drm_printer that outputs like xe_tile_dbg()
SYNOPSIS struct drm_printer xe_tile_dbg_printer (struct xe_tile *tile );
ARGUMENTS tile the xe_tile pointer to use in xe_tile_dbg
RETURN The drm_printer object.
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_tile_printk.h xe_ti... |
xe_tile_debugfs_register(9) | NAME xe_tile_debugfs_register - Register tile's debugfs attributes
SYNOPSIS void xe_tile_debugfs_register (struct xe_tile *tile );
ARGUMENTS tile the xe_tile to register
DESCRIPTION Create debugfs sub-directory with a name that includes a tile ID and then creates set of debugfs files (attributes) specific to ... |
xe_tile_debugfs_show_with_rpm(9) | NAME xe_tile_debugfs_show_with_rpm - A show callback for struct drm_info_list
SYNOPSIS int xe_tile_debugfs_show_with_rpm (struct seq_file *m , void *data );
ARGUMENTS m the seq_file
data data used by the drm debugfs helpers
DESCRIPTION Similar to tile_debugfs_simple_show but implicitly takes... |
xe_tile_debugfs_simple_show(9) | NAME xe_tile_debugfs_simple_show - A show callback for struct drm_info_list
SYNOPSIS int xe_tile_debugfs_simple_show (struct seq_file *m , void *data );
ARGUMENTS m the seq_file
data data used by the drm debugfs helpers
DESCRIPTION This callback can be used in struct drm_info_list to de... |
xe_tile_err_printer(9) | NAME xe_tile_err_printer - Construct a &drm_printer that outputs to xe_tile_err()
SYNOPSIS struct drm_printer xe_tile_err_printer (struct xe_tile *tile );
ARGUMENTS tile the xe_tile pointer to use in xe_tile_err
RETURN The drm_printer object.
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_tile_printk.h xe_tile... |
xe_tile_info_printer(9) | NAME xe_tile_info_printer - Construct a &drm_printer that outputs to xe_tile_info()
SYNOPSIS struct drm_printer xe_tile_info_printer (struct xe_tile *tile );
ARGUMENTS tile the xe_tile pointer to use in xe_tile_info
RETURN The drm_printer object.
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_tile_printk.h xe_... |
xe_tile_init_early(9) | NAME xe_tile_init_early - Initialize the tile and primary GT
SYNOPSIS int xe_tile_init_early (struct xe_tile *tile , struct xe_device *xe , u8 id );
ARGUMENTS tile Tile to initialize
xe Parent Xe device
id Tile ID
DESCRIPTION Initializes per-tile resources that don't require ... |
xe_tile_init_noalloc(9) | NAME xe_tile_init_noalloc - Init tile up to the point where allocations can happen.
SYNOPSIS int xe_tile_init_noalloc (struct xe_tile *tile );
ARGUMENTS tile The tile to initialize.
DESCRIPTION This function prepares the tile to allow memory allocations to VRAM, but is not allowed to allocate memory itse... |
xe_tile_local_pagemap(9) | NAME xe_tile_local_pagemap - Return a pointer to the tile's local drm_pagemap if any
SYNOPSIS struct drm_pagemap * xe_tile_local_pagemap (struct xe_tile *tile );
ARGUMENTS tile The tile.
RETURN A pointer to the tile's local drm_pagemap, or NULL if local pagemap support has been compiled out.
SEE ALSO Kernel ... |
xe_tile_sriov_pf_debugfs_populate(9) | NAME xe_tile_sriov_pf_debugfs_populate - Populate SR-IOV debugfs tree with tile files.
SYNOPSIS void xe_tile_sriov_pf_debugfs_populate (struct xe_tile *tile , struct dentry *parent , unsigned int vfid );
ARGUMENTS tile the xe_tile to register
parent the parent dentry that represents the SR-IOV vfi... |
xe_tile_sriov_vf_balloon_ggtt_locked(9) | NAME xe_tile_sriov_vf_balloon_ggtt_locked - Insert balloon nodes to limit used GGTT address range.
SYNOPSIS int xe_tile_sriov_vf_balloon_ggtt_locked (struct xe_tile *tile );
ARGUMENTS tile the xe_tile struct instance
RETURN 0 on success or a negative error code on failure.
SEE ALSO Kernel file ./drivers/gp... |
xe_tile_sriov_vf_deballoon_ggtt_locked(9) | NAME xe_tile_sriov_vf_deballoon_ggtt_locked - Remove balloon nodes.
SYNOPSIS void xe_tile_sriov_vf_deballoon_ggtt_locked (struct xe_tile *tile );
ARGUMENTS tile the xe_tile struct instance
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_tile_sriov_vf.c xe_tile_sriov_vf_balloon_ggtt_locked(9), xe_tile_sriov_... |
xe_tile_sriov_vf_fixup_ggtt_nodes_locked(9) | NAME xe_tile_sriov_vf_fixup_ggtt_nodes_locked - Shift GGTT allocations to match assigned range.
SYNOPSIS void xe_tile_sriov_vf_fixup_ggtt_nodes_locked (struct xe_tile *tile , s64 shift );
ARGUMENTS tile the xe_tile struct instance
shift the shift value
DESCRIPTION Since Global GTT is not virtual... |
xe_tile_sriov_vf_ggtt(9) | NAME xe_tile_sriov_vf_ggtt - VF GGTT configuration.
SYNOPSIS u64 xe_tile_sriov_vf_ggtt (struct xe_tile *tile );
ARGUMENTS tile the xe_tile
DESCRIPTION This function is for VF use only.
RETURN size of the GGTT assigned to VF.
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_tile_sriov_vf.c xe_ti... |
xe_tile_sriov_vf_ggtt_base(9) | NAME xe_tile_sriov_vf_ggtt_base - VF GGTT base configuration.
SYNOPSIS u64 xe_tile_sriov_vf_ggtt_base (struct xe_tile *tile );
ARGUMENTS tile the xe_tile
DESCRIPTION This function is for VF use only.
RETURN base of the GGTT assigned to VF.
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_tile_sriov_... |
xe_tile_sriov_vf_ggtt_base_store(9) | NAME xe_tile_sriov_vf_ggtt_base_store - Store VF GGTT base configuration
SYNOPSIS void xe_tile_sriov_vf_ggtt_base_store (struct xe_tile *tile , u64 ggtt_base );
ARGUMENTS tile the xe_tile
ggtt_base VF GGTT base to store
DESCRIPTION This function is for VF use only.
SEE ALSO Kernel file ... |
xe_tile_sriov_vf_ggtt_store(9) | NAME xe_tile_sriov_vf_ggtt_store - Store VF GGTT configuration
SYNOPSIS void xe_tile_sriov_vf_ggtt_store (struct xe_tile *tile , u64 ggtt_size );
ARGUMENTS tile the xe_tile
ggtt_size VF GGTT size to store
DESCRIPTION This function is for VF use only.
SEE ALSO Kernel file ./drivers/gpu/d... |
xe_tile_sriov_vf_lmem(9) | NAME xe_tile_sriov_vf_lmem - VF LMEM configuration.
SYNOPSIS u64 xe_tile_sriov_vf_lmem (struct xe_tile *tile );
ARGUMENTS tile the xe_tile
DESCRIPTION This function is for VF use only.
RETURN size of the LMEM assigned to VF.
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_tile_sriov_vf.c xe_ti... |
xe_tile_sriov_vf_lmem_store(9) | NAME xe_tile_sriov_vf_lmem_store - Store VF LMEM configuration
SYNOPSIS void xe_tile_sriov_vf_lmem_store (struct xe_tile *tile , u64 lmem_size );
ARGUMENTS tile the xe_tile
lmem_size VF LMEM size to store
DESCRIPTION This function is for VF use only.
SEE ALSO Kernel file ./drivers/gpu/d... |
xe_tile_sriov_vf_prepare_ggtt(9) | NAME xe_tile_sriov_vf_prepare_ggtt - Prepare a VF's GGTT configuration.
SYNOPSIS int xe_tile_sriov_vf_prepare_ggtt (struct xe_tile *tile );
ARGUMENTS tile the xe_tile
DESCRIPTION This function is for VF use only.
RETURN 0 on success or a negative error code on failure.
SEE ALSO Kernel file ./drivers/gpu/drm... |
xe_tile_to_vr(9) | NAME xe_tile_to_vr - Return the struct xe_vram_region pointer from a struct xe_tile pointer
SYNOPSIS struct xe_vram_region * xe_tile_to_vr (struct xe_tile *tile );
ARGUMENTS tile Pointer to the struct xe_tile.
RETURN Pointer to the struct xe_vram_region embedded in *tile.
SEE ALSO Kernel file ./drivers/gpu/d... |
xe_tlb_inval_all(9) | NAME xe_tlb_inval_all - Issue a TLB invalidation for all TLBs
SYNOPSIS int xe_tlb_inval_all (struct xe_tlb_inval *tlb_inval , struct xe_tlb_inval_fence *fence );
ARGUMENTS tlb_inval TLB invalidation client
fence invalidation fence which will be signal on TLB invalidation completion
DESCRIPTION Issue ... |
xe_tlb_inval_done_handler(9) | NAME xe_tlb_inval_done_handler - TLB invalidation done handler
SYNOPSIS void xe_tlb_inval_done_handler (struct xe_tlb_inval *tlb_inval , int seqno );
ARGUMENTS tlb_inval TLB invalidation client
seqno seqno of invalidation that is done
DESCRIPTION Update recv seqno, signal any TLB invalidation fences,... |
xe_tlb_inval_fence_init(9) | NAME xe_tlb_inval_fence_init - Initialize TLB invalidation fence
SYNOPSIS void xe_tlb_inval_fence_init (struct xe_tlb_inval *tlb_inval , struct xe_tlb_inval_fence *fence , bool stack );
ARGUMENTS tlb_inval TLB invalidation client
fence TLB invalidation fence to initialize
stack fence is ... |
xe_tlb_inval_fence_wait(9) | NAME xe_tlb_inval_fence_wait - TLB invalidiation fence wait
SYNOPSIS void xe_tlb_inval_fence_wait (struct xe_tlb_inval_fence *fence );
ARGUMENTS fence TLB invalidation fence to wait on
DESCRIPTION Wait on a TLB invalidiation fence until it signals, non interruptible
SEE ALSO Kernel file ./drivers/gpu/drm/xe/x... |
xe_tlb_inval_ggtt(9) | NAME xe_tlb_inval_ggtt - Issue a TLB invalidation for the GGTT
SYNOPSIS int xe_tlb_inval_ggtt (struct xe_tlb_inval *tlb_inval );
ARGUMENTS tlb_inval TLB invalidation client
DESCRIPTION Issue a TLB invalidation for the GGTT. Completion of TLB is asynchronous and caller can use the invalidation fence to wait for com... |
xe_tlb_inval_job_add_page_reclaim(9) | NAME xe_tlb_inval_job_add_page_reclaim - Embed PRL into a TLB job
SYNOPSIS void xe_tlb_inval_job_add_page_reclaim (struct xe_tlb_inval_job *job , struct xe_page_reclaim_list *prl );
ARGUMENTS job TLB invalidation job that may trigger reclamation
prl Page reclaim list populated during unbind
D... |
xe_tlb_inval_job_alloc_dep(9) | NAME xe_tlb_inval_job_alloc_dep - TLB invalidation job alloc dependency
SYNOPSIS int xe_tlb_inval_job_alloc_dep (struct xe_tlb_inval_job *job );
ARGUMENTS job TLB invalidation job to alloc dependency for
DESCRIPTION Allocate storage for a dependency in the TLB invalidation fence. This function should be call... |
xe_tlb_inval_job_create(9) | NAME xe_tlb_inval_job_create - TLB invalidation job create
SYNOPSIS struct xe_tlb_inval_job * xe_tlb_inval_job_create (struct xe_exec_queue *q , struct xe_tlb_inval *tlb_inval , struct xe_dep_scheduler *dep_scheduler , struct xe_vm *vm , u64 start , u64 end , int type );
ARGUMENTS q exec queue issuing the i... |
xe_tlb_inval_job_get(9) | NAME xe_tlb_inval_job_get - Get a reference to TLB invalidation job
SYNOPSIS void xe_tlb_inval_job_get (struct xe_tlb_inval_job *job );
ARGUMENTS job TLB invalidation job object
DESCRIPTION Increment the TLB invalidation job's reference count
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_tlb_inval_job.c xe_t... |
xe_tlb_inval_job_push(9) | NAME xe_tlb_inval_job_push - TLB invalidation job push
SYNOPSIS struct dma_fence * xe_tlb_inval_job_push (struct xe_tlb_inval_job *job , struct xe_migrate *m , struct dma_fence *fence );
ARGUMENTS job TLB invalidation job to push
m The migration object being used
fence Dependen... |
xe_tlb_inval_job_put(9) | NAME xe_tlb_inval_job_put - Put a reference to TLB invalidation job
SYNOPSIS void xe_tlb_inval_job_put (struct xe_tlb_inval_job *job );
ARGUMENTS job TLB invalidation job object
DESCRIPTION Decrement the TLB invalidation job's reference count, call xe_tlb_inval_job_destroy when reference count == 0. Skips de... |
xe_tlb_inval_range(9) | NAME xe_tlb_inval_range - Issue a TLB invalidation for an address range
SYNOPSIS int xe_tlb_inval_range (struct xe_tlb_inval *tlb_inval , struct xe_tlb_inval_fence *fence , u64 start , u64 end , u32 asid , struct drm_suballoc *prl_sa );
ARGUMENTS tlb_inval TLB invalidation client
fence invalidation fe... |
xe_tlb_inval_reset(9) | NAME xe_tlb_inval_reset - TLB invalidation reset
SYNOPSIS void xe_tlb_inval_reset (struct xe_tlb_inval *tlb_inval );
ARGUMENTS tlb_inval TLB invalidation client
DESCRIPTION Signal any pending invalidation fences, should be called during a GT reset
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_tlb_inval.c Kernel A... |
xe_tlb_inval_reset_timeout(9) | NAME xe_tlb_inval_reset_timeout - Reset TLB inval fence timeout
SYNOPSIS void xe_tlb_inval_reset_timeout (struct xe_tlb_inval *tlb_inval );
ARGUMENTS tlb_inval TLB invalidation client
DESCRIPTION Reset the TLB invalidation timeout timer.
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_tlb_inval.c Kernel API(9), tlb_... |
xe_tlb_inval_vm(9) | NAME xe_tlb_inval_vm - Issue a TLB invalidation for a VM
SYNOPSIS void xe_tlb_inval_vm (struct xe_tlb_inval *tlb_inval , struct xe_vm *vm );
ARGUMENTS tlb_inval TLB invalidation client
vm VM to invalidate
DESCRIPTION Invalidate entire VM's address space
SEE ALSO Kernel file ./drivers/gpu/drm/xe/... |
xe_ttm_stolen_cpu_access_needs_ggtt(9) | NAME xe_ttm_stolen_cpu_access_needs_ggtt - If we can't directly CPU access stolen, can we then fallback to mapping through the GGTT.
SYNOPSIS bool xe_ttm_stolen_cpu_access_needs_ggtt (struct xe_device *xe );
ARGUMENTS xe xe device
DESCRIPTION Some older integrated platforms don't support reliable CPU access... |
xe_ttm_vram_mgr_init(9) | NAME xe_ttm_vram_mgr_init - initialize TTM VRAM region
SYNOPSIS int xe_ttm_vram_mgr_init (struct xe_device *xe , struct xe_vram_region *vram );
ARGUMENTS xe pointer to Xe device
vram pointer to xe_vram_region that contains the memory region attributes
DESCRIPTION Initialize the Xe TTM for giv... |
xe_tuning_dump(9) | NAME xe_tuning_dump - Dump GT tuning info into a drm printer.
SYNOPSIS int xe_tuning_dump (struct xe_gt *gt , struct drm_printer *p );
ARGUMENTS gt the xe_gt
p the drm_printer
RETURN always 0.
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_tuning.c xe_tuning_init(9), xe_tuning_process_lrc(9... |
xe_tuning_init(9) | NAME xe_tuning_init - initialize gt with tunings bookkeeping
SYNOPSIS int xe_tuning_init (struct xe_gt *gt );
ARGUMENTS gt GT instance to initialize
DESCRIPTION Returns 0 for success, negative error code otherwise.
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_tuning.c xe_tuning_process_lrc(9), xe_tuning_du... |
xe_tuning_process_lrc(9) | NAME xe_tuning_process_lrc - process lrc tunings
SYNOPSIS void xe_tuning_process_lrc (struct xe_hw_engine *hwe );
ARGUMENTS hwe engine instance to process tunings for
DESCRIPTION Process LRC table for this platform, saving in hwe all the tunings that need to be applied on context restore. These are tunings t... |
xe_uc_declare_wedged(9) | NAME xe_uc_declare_wedged - Declare UC wedged
SYNOPSIS void xe_uc_declare_wedged (struct xe_uc *uc );
ARGUMENTS uc the UC object
DESCRIPTION Wedge the UC which stops all submission, saves desired debug state, and cleans up anything which could timeout.
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_uc.c xe_u... |
xe_uc_fw_copy_rsa(9) | NAME xe_uc_fw_copy_rsa - copy fw RSA to buffer
SYNOPSIS size_t xe_uc_fw_copy_rsa (struct xe_uc_fw *uc_fw , void *dst , u32 max_len );
ARGUMENTS uc_fw uC firmware
dst dst buffer
max_len max number of bytes to copy
RETURN number of copied bytes.
SEE ALSO Kernel file ./drivers/gpu/drm... |
xe_uc_fw_get_upload_size(9) | NAME xe_uc_fw_get_upload_size - Get size of firmware needed to be uploaded.
SYNOPSIS u32 xe_uc_fw_get_upload_size (struct xe_uc_fw *uc_fw );
ARGUMENTS uc_fw uC firmware.
DESCRIPTION Get the size of the firmware and header that will be uploaded to WOPCM.
RETURN Upload firmware size, or zero on firmware fetch f... |
xe_uc_init_post_hwconfig(9) | NAME xe_uc_init_post_hwconfig - init Uc post hwconfig load
SYNOPSIS int xe_uc_init_post_hwconfig (struct xe_uc *uc );
ARGUMENTS uc The UC object
RETURN 0 on success, negative error code on error.
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_uc.c xe_uc_runtime_suspend(9), xe_uc_runtime_resume(9), xe_uc_decl... |
xe_uc_runtime_resume(9) | NAME xe_uc_runtime_resume - UC runtime resume
SYNOPSIS void xe_uc_runtime_resume (struct xe_uc *uc );
ARGUMENTS uc the UC object
DESCRIPTION Runtime resume all UCs.
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_uc.c xe_uc_init_post_hwconfig(9), xe_uc_runtime_suspend(9), xe_uc_declare_wedged(9)
April 2026 ... |
xe_uc_runtime_suspend(9) | NAME xe_uc_runtime_suspend - UC runtime suspend
SYNOPSIS void xe_uc_runtime_suspend (struct xe_uc *uc );
ARGUMENTS uc the UC object
DESCRIPTION Runtime suspend all UCs.
SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_uc.c xe_uc_init_post_hwconfig(9), xe_uc_runtime_resume(9), xe_uc_declare_wedged(9)
April 202... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.