id
stringlengths
4
63
text
stringlengths
153
8.81M
xe_pagemap_find_or_create(9)
NAME xe_pagemap_find_or_create - Find or create a struct xe_pagemap SYNOPSIS struct xe_pagemap * xe_pagemap_find_or_create (struct xe_device *xe , struct drm_pagemap_cache *cache , struct xe_vram_region *vr ); ARGUMENTS xe The xe device. cache The struct xe_pagemap_cache. vr Th...
xe_pagemap_shrinker_create(9)
NAME xe_pagemap_shrinker_create - Create a drm_pagemap shrinker SYNOPSIS int xe_pagemap_shrinker_create (struct xe_device *xe ); ARGUMENTS xe The xe device DESCRIPTION Create a drm_pagemap shrinker and register with the xe device. RETURN 0 on success, negative error code on failure. SEE ALSO Kernel file ...
xe_pat_dump(9)
NAME xe_pat_dump - Dump GT PAT table into a drm printer. SYNOPSIS int xe_pat_dump (struct xe_gt *gt , struct drm_printer *p ); ARGUMENTS gt the xe_gt p the drm_printer RETURN 0 on success or a negative error code on failure. SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_pat.c xe_pat_dump_s...
xe_pat_dump_sw_config(9)
NAME xe_pat_dump_sw_config - Dump the software-configured GT PAT table into a drm printer. SYNOPSIS int xe_pat_dump_sw_config (struct xe_gt *gt , struct drm_printer *p ); ARGUMENTS gt the xe_gt p the drm_printer RETURN 0 on success or a negative error code on failure. SEE ALSO Kernel file...
xe_pat_index_get_coh_mode(9)
NAME xe_pat_index_get_coh_mode - Extract the coherency mode for the given pat_index. SYNOPSIS u16 xe_pat_index_get_coh_mode (struct xe_device *xe , u16 pat_index ); ARGUMENTS xe xe device pat_index The pat_index to query SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_pat.h struct xe_pat_table_entry(...
xe_pat_index_get_comp_en(9)
NAME xe_pat_index_get_comp_en - Extract the compression enable flag for the given pat_index. SYNOPSIS bool xe_pat_index_get_comp_en (struct xe_device *xe , u16 pat_index ); ARGUMENTS xe xe device pat_index The pat_index to query RETURN true if compression is enabled for this pat_index, false other...
xe_pat_index_get_l3_policy(9)
NAME xe_pat_index_get_l3_policy - Extract the L3 policy for the given pat_index. SYNOPSIS u16 xe_pat_index_get_l3_policy (struct xe_device *xe , u16 pat_index ); ARGUMENTS xe xe device pat_index The pat_index to query SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_pat.h struct xe_pat_table_entry(9),...
xe_pat_init(9)
NAME xe_pat_init - Program HW PAT table SYNOPSIS void xe_pat_init (struct xe_gt *gt ); ARGUMENTS gt GT structure SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_pat.h struct xe_pat_table_entry(9), xe_pat_init_early(9), xe_pat_index_get_coh_mode(9), xe_pat_index_get_comp_en(9), xe_pat_index_get_l3_policy(9) Ap...
xe_pat_init_early(9)
NAME xe_pat_init_early - SW initialization, setting up data based on device SYNOPSIS void xe_pat_init_early (struct xe_device *xe ); ARGUMENTS xe xe device SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_pat.h struct xe_pat_table_entry(9), xe_pat_init(9), xe_pat_index_get_coh_mode(9), xe_pat_index_get_comp_en(...
xe_pci_fake_data_desc(9)
NAME xe_pci_fake_data_desc - Describe struct xe_pci_fake_data parameter SYNOPSIS void xe_pci_fake_data_desc (const struct xe_pci_fake_data *param , char *desc ); ARGUMENTS param the struct xe_pci_fake_data parameter to describe desc output buffer with minimum size of KUNIT_PARAM_DESC_SIZE DESCRI...
xe_pci_fake_data_gen_params(9)
NAME xe_pci_fake_data_gen_params - Generate struct xe_pci_fake_data parameters SYNOPSIS const void * xe_pci_fake_data_gen_params (struct kunit *test , const void *prev , char *desc ); ARGUMENTS test test context object prev the pointer to the previous parameter to iterate from or NULL de...
xe_pci_graphics_ip_gen_param(9)
NAME xe_pci_graphics_ip_gen_param - Generate graphics struct xe_ip parameters SYNOPSIS const void * xe_pci_graphics_ip_gen_param (struct kunit *test , const void *prev , char *desc ); ARGUMENTS test test context object prev the pointer to the previous parameter to iterate from or NULL de...
xe_pci_id_gen_param(9)
NAME xe_pci_id_gen_param - Generate struct pci_device_id parameters SYNOPSIS const void * xe_pci_id_gen_param (struct kunit *test , const void *prev , char *desc ); ARGUMENTS test test context object prev the pointer to the previous parameter to iterate from or NULL desc output bu...
xe_pci_live_device_gen_param(9)
NAME xe_pci_live_device_gen_param - Helper to iterate Xe devices as KUnit parameters SYNOPSIS const void * xe_pci_live_device_gen_param (struct kunit *test , const void *prev , char *desc ); ARGUMENTS test test context object prev the previously returned value, or NULL for the first iteration ...
xe_pci_media_ip_gen_param(9)
NAME xe_pci_media_ip_gen_param - Generate media struct xe_ip parameters SYNOPSIS const void * xe_pci_media_ip_gen_param (struct kunit *test , const void *prev , char *desc ); ARGUMENTS test test context object prev the pointer to the previous parameter to iterate from or NULL desc ...
xe_pci_sriov_configure(9)
NAME xe_pci_sriov_configure - Configure SR-IOV (enable/disable VFs). SYNOPSIS int xe_pci_sriov_configure (struct pci_dev *pdev , int num_vfs ); ARGUMENTS pdev the pci_dev num_vfs number of VFs to enable or zero to disable all VFs DESCRIPTION This is the Xe implementation of struct pci_driver....
xe_pci_sriov_get_vf_pdev(9)
NAME xe_pci_sriov_get_vf_pdev - Lookup the VF's PCI device using the VF identifier. SYNOPSIS struct pci_dev * xe_pci_sriov_get_vf_pdev (struct pci_dev *pdev , unsigned int vfid ); ARGUMENTS pdev the PF's pci_dev vfid VF identifier (1-based) DESCRIPTION The caller must decrement the reference co...
xe_pci_to_pf_device(9)
NAME xe_pci_to_pf_device - Get PF &xe_device. SYNOPSIS struct xe_device * xe_pci_to_pf_device (struct pci_dev *pdev ); ARGUMENTS pdev the VF pci_dev device RETURN pointer to PF xe_device, NULL otherwise. SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_pci.c April 2026 ...
xe_pcode_init(9)
NAME xe_pcode_init - initialize components of PCODE SYNOPSIS void xe_pcode_init (struct xe_tile *tile ); ARGUMENTS tile tile instance DESCRIPTION This function initializes the xe_pcode component. To be called once only during probe. SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_pcode.c Kernel API(9), xe_pcod...
xe_pcode_init_min_freq_table(9)
NAME xe_pcode_init_min_freq_table - Initialize PCODE's QOS frequency table SYNOPSIS int xe_pcode_init_min_freq_table (struct xe_tile *tile , u32 min_gt_freq , u32 max_gt_freq ); ARGUMENTS tile tile instance min_gt_freq Minimal (RPn) GT frequency in units of 50MHz. max_gt_freq Maximal (RP0) GT f...
xe_pcode_probe_early(9)
NAME xe_pcode_probe_early - initializes PCODE SYNOPSIS int xe_pcode_probe_early (struct xe_device *xe ); ARGUMENTS xe xe instance DESCRIPTION This function checks the initialization status of PCODE To be called once only during early probe without locks. Returns 0 on success, error code otherwise SEE ALSO...
xe_pcode_ready(9)
NAME xe_pcode_ready - Ensure PCODE is initialized SYNOPSIS int xe_pcode_ready (struct xe_device *xe , bool locked ); ARGUMENTS xe xe instance locked true if lock held, false otherwise DESCRIPTION PCODE init mailbox is polled only on root gt of root tile as the root tile provides the initializa...
xe_pcode_request(9)
NAME xe_pcode_request - send PCODE request until acknowledgment SYNOPSIS int xe_pcode_request (struct xe_tile *tile , u32 mbox , u32 request , u32 reply_mask , u32 reply , int timeout_base_ms ); ARGUMENTS tile tile mbox PCODE mailbox ID the request is targeted for request request ID ...
xe_pm_assert_unbounded_bridge(9)
NAME xe_pm_assert_unbounded_bridge - Disable PM on unbounded pcie parent bridge SYNOPSIS void xe_pm_assert_unbounded_bridge (struct xe_device *xe ); ARGUMENTS xe xe device instance SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_pm.c Kernel API(9), xe_pm_might_block_on_suspend(9), xe_pm_block_on_suspend(...
xe_pm_block_on_suspend(9)
NAME xe_pm_block_on_suspend - Block pending suspend. SYNOPSIS int xe_pm_block_on_suspend (struct xe_device *xe ); ARGUMENTS xe The xe device about to be suspended. DESCRIPTION Block if the pm notifier has start evicting bos, to avoid racing and validating those bos back. The function is annotated to ensu...
xe_pm_d3cold_allowed_toggle(9)
NAME xe_pm_d3cold_allowed_toggle - Check conditions to toggle d3cold.allowed SYNOPSIS void xe_pm_d3cold_allowed_toggle (struct xe_device *xe ); ARGUMENTS xe xe device instance DESCRIPTION To be called during runtime_pm idle callback. Check for all the D3Cold conditions ahead of runtime suspend. SEE ALSO K...
xe_pm_fini(9)
NAME xe_pm_fini - Finalize PM SYNOPSIS void xe_pm_fini (struct xe_device *xe ); ARGUMENTS xe xe device instance SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_pm.c Kernel API(9), xe_pm_might_block_on_suspend(9), xe_pm_block_on_suspend(9), xe_rpm_reclaim_safe(9), xe_pm_suspend(9), xe_pm_resume(9), xe_pm_in...
xe_pm_init(9)
NAME xe_pm_init - Initialize Xe Power Management SYNOPSIS int xe_pm_init (struct xe_device *xe ); ARGUMENTS xe xe device instance DESCRIPTION This component is responsible for System and Device sleep states. Returns 0 for success, negative error code otherwise. SEE ALSO Kernel file ./drivers/gpu/drm/xe/...
xe_pm_might_block_on_suspend(9)
NAME xe_pm_might_block_on_suspend - Annotate that the code might block on suspend SYNOPSIS void xe_pm_might_block_on_suspend (void ); ARGUMENTS void no arguments DESCRIPTION Annotation to use where the code might block or seize to make progress pending resume completion. SEE ALSO Kernel file ./drivers/gpu/...
xe_pm_module_init(9)
NAME xe_pm_module_init - Perform xe_pm specific module initialization. SYNOPSIS int xe_pm_module_init (void ); ARGUMENTS void no arguments RETURN 0 on success. Currently doesn't fail. SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_pm.c Kernel API(9), xe_pm_might_block_on_suspend(9), xe_pm_block_on_suspen...
xe_pm_resume(9)
NAME xe_pm_resume - Helper for System resume S3->S0 / S2idle->S0 SYNOPSIS int xe_pm_resume (struct xe_device *xe ); ARGUMENTS xe xe device instance RETURN 0 on success SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_pm.c Kernel API(9), xe_pm_might_block_on_suspend(9), xe_pm_block_on_suspend(9), xe_rpm_r...
xe_pm_runtime_get(9)
NAME xe_pm_runtime_get - Get a runtime_pm reference and resume synchronously SYNOPSIS void xe_pm_runtime_get (struct xe_device *xe ); ARGUMENTS xe xe device instance DESCRIPTION When possible, scope-based runtime PM (through guard(xe_pm_runtime)) is be preferred over direct usage of this function. Manual...
xe_pm_runtime_get_if_active(9)
NAME xe_pm_runtime_get_if_active - Get a runtime_pm reference if device active SYNOPSIS bool xe_pm_runtime_get_if_active (struct xe_device *xe ); ARGUMENTS xe xe device instance RETURN True if device is awake (regardless the previous number of references) and a new reference was taken, false otherwise. SEE...
xe_pm_runtime_get_if_in_use(9)
NAME xe_pm_runtime_get_if_in_use - Get a new reference if device is active with previous ref taken SYNOPSIS bool xe_pm_runtime_get_if_in_use (struct xe_device *xe ); ARGUMENTS xe xe device instance RETURN True if device is awake, a previous reference had been already taken, and a new reference was now taken...
xe_pm_runtime_get_ioctl(9)
NAME xe_pm_runtime_get_ioctl - Get a runtime_pm reference before ioctl SYNOPSIS int xe_pm_runtime_get_ioctl (struct xe_device *xe ); ARGUMENTS xe xe device instance DESCRIPTION When possible, scope-based runtime PM (through ACQUIRE(xe_pm_runtime_ioctl, ...)) is be preferred over direct usage of this fu...
xe_pm_runtime_get_noresume(9)
NAME xe_pm_runtime_get_noresume - Bump runtime PM usage counter without resuming SYNOPSIS void xe_pm_runtime_get_noresume (struct xe_device *xe ); ARGUMENTS xe xe device instance DESCRIPTION This function should be used in inner places where it is surely already protected by outer-bound callers of `xe_pm...
xe_pm_runtime_put(9)
NAME xe_pm_runtime_put - Put the runtime_pm reference back and mark as idle SYNOPSIS void xe_pm_runtime_put (struct xe_device *xe ); ARGUMENTS xe xe device instance SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_pm.c Kernel API(9), xe_pm_might_block_on_suspend(9), xe_pm_block_on_suspend(9), xe_rpm_recla...
xe_pm_runtime_resume(9)
NAME xe_pm_runtime_resume - Waking up from D3hot/D3Cold SYNOPSIS int xe_pm_runtime_resume (struct xe_device *xe ); ARGUMENTS xe xe device instance DESCRIPTION Returns 0 for success, negative error code otherwise. SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_pm.c Kernel API(9), xe_pm_might_block_on_sus...
xe_pm_runtime_resume_and_get(9)
NAME xe_pm_runtime_resume_and_get - Resume, then get a runtime_pm ref if awake. SYNOPSIS bool xe_pm_runtime_resume_and_get (struct xe_device *xe ); ARGUMENTS xe xe device instance RETURN True if device is awake and the reference was taken, false otherwise. SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_pm....
xe_pm_runtime_suspend(9)
NAME xe_pm_runtime_suspend - Prepare our device for D3hot/D3Cold SYNOPSIS int xe_pm_runtime_suspend (struct xe_device *xe ); ARGUMENTS xe xe device instance DESCRIPTION Returns 0 for success, negative error code otherwise. SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_pm.c Kernel API(9), xe_pm_might_bl...
xe_pm_runtime_suspended(9)
NAME xe_pm_runtime_suspended - Check if runtime_pm state is suspended SYNOPSIS bool xe_pm_runtime_suspended (struct xe_device *xe ); ARGUMENTS xe xe device instance DESCRIPTION This does not provide any guarantee that the device is going to remain suspended as it might be racing with the runtime state trans...
xe_pm_set_vram_threshold(9)
NAME xe_pm_set_vram_threshold - Set a VRAM threshold for allowing/blocking D3Cold SYNOPSIS int xe_pm_set_vram_threshold (struct xe_device *xe , u32 threshold ); ARGUMENTS xe xe device instance threshold VRAM size in MiB for the D3cold threshold RETURN * 0 - success * -EINVAL - invalid ...
xe_pm_suspend(9)
NAME xe_pm_suspend - Helper for System suspend, i.e. S0->S3 / S0->S2idle SYNOPSIS int xe_pm_suspend (struct xe_device *xe ); ARGUMENTS xe xe device instance RETURN 0 on success SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_pm.c Kernel API(9), xe_pm_might_block_on_suspend(9), xe_pm_block_on_suspend(9),...
xe_pmu_register(9)
NAME xe_pmu_register - Define basic PMU properties for Xe and add event callbacks. SYNOPSIS int xe_pmu_register (struct xe_pmu *pmu ); ARGUMENTS pmu the PMU object DESCRIPTION Returns 0 on success and an appropriate error code otherwise SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_pmu.c Kernel API(9), xe_pm...
xe_pmu_unregister(9)
NAME xe_pmu_unregister - Remove/cleanup PMU registration SYNOPSIS void xe_pmu_unregister (void *arg ); ARGUMENTS arg Ptr to pmu SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_pmu.c Kernel API(9), xe_pmu_register(9) April 2026 ...
xe_preempt_fence_alloc(9)
NAME xe_preempt_fence_alloc - Allocate a preempt fence with minimal initialization SYNOPSIS struct xe_preempt_fence * xe_preempt_fence_alloc (void ); ARGUMENTS void no arguments DESCRIPTION Allocate a preempt fence, and initialize its list head. If the preempt_fence allocated has been armed with xe_preempt_f...
xe_preempt_fence_arm(9)
NAME xe_preempt_fence_arm - Arm a preempt fence allocated using xe_preempt_fence_alloc(). SYNOPSIS struct dma_fence * xe_preempt_fence_arm (struct xe_preempt_fence *pfence , struct xe_exec_queue *q , u64 context , u32 seqno ); ARGUMENTS pfence The struct xe_preempt_fence pointer returned from xe_preempt_fence_al...
xe_preempt_fence_create(9)
NAME xe_preempt_fence_create - Helper to create and arm a preempt fence. SYNOPSIS struct dma_fence * xe_preempt_fence_create (struct xe_exec_queue *q , u64 context , u32 seqno ); ARGUMENTS q The struct xe_exec_queue used for arming. context The dma-fence context used for arming. seqno ...
xe_preempt_fence_free(9)
NAME xe_preempt_fence_free - Free a preempt fence allocated using xe_preempt_fence_alloc(). SYNOPSIS void xe_preempt_fence_free (struct xe_preempt_fence *pfence ); ARGUMENTS pfence pointer obtained from xe_preempt_fence_alloc; DESCRIPTION Free a preempt fence that has not yet been armed. SEE ALSO Kernel file ....
xe_preempt_fence_link(9)
NAME xe_preempt_fence_link - Return a link used to keep unarmed preempt fences on a list. SYNOPSIS struct list_head * xe_preempt_fence_link (struct xe_preempt_fence *pfence ); ARGUMENTS pfence Pointer to the preempt fence. DESCRIPTION The link is embedded in the struct xe_preempt_fence. Use link_to_preempt_fenc...
xe_print_blob_ascii85(9)
NAME xe_print_blob_ascii85 - print a BLOB to some useful location in ASCII85 SYNOPSIS void xe_print_blob_ascii85 (struct drm_printer *p , const char *prefix , char suffix , const void *blob , size_t offset , size_t size ); ARGUMENTS p the printer object to output to prefix optional prefix to ad...
xe_pt_clear(9)
NAME xe_pt_clear - Clear a page-table. SYNOPSIS void xe_pt_clear (struct xe_device *xe , struct xe_pt *pt ); ARGUMENTS xe xe device. pt The page-table. DESCRIPTION Clears page-table by setting to zero. SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_pt.c xe_pt_create(9), xe_pt_populate_em...
xe_pt_covers(9)
NAME xe_pt_covers - Whether the address range covers an entire entry in @level SYNOPSIS bool xe_pt_covers (u64 addr , u64 end , unsigned int level , const struct xe_pt_walk *walk ); ARGUMENTS addr Start of the range. end End of range + 1. level Page table level. walk ...
xe_pt_create(9)
NAME xe_pt_create - Create a page-table. SYNOPSIS struct xe_pt * xe_pt_create (struct xe_vm *vm , struct xe_tile *tile , unsigned int level , struct drm_exec *exec ); ARGUMENTS vm The vm to create for. tile The tile to create for. level The page-table level. exec T...
xe_pt_destroy(9)
NAME xe_pt_destroy - Destroy a page-table tree. SYNOPSIS void xe_pt_destroy (struct xe_pt *pt , u32 flags , struct llist_head *deferred ); ARGUMENTS pt The root of the page-table tree to destroy. flags vm flags. Currently unused. deferred List head of lockless list for deferred putti...
xe_pt_entry_fn(9)
NAME xe_pt_entry_fn - gpu page-table-walk callback-function SYNOPSIS int xe_pt_entry_fn (struct xe_ptw *parent , pgoff_t offset , unsigned int level , u64 addr , u64 next , struct xe_ptw **child , enum page_walk_action *action , struct xe_pt_walk *walk ); ARGUMENTS parent The parent page.table. offset ...
xe_pt_nonshared_offsets(9)
NAME xe_pt_nonshared_offsets - Determine the non-shared entry offsets of a shared pagetable. SYNOPSIS bool xe_pt_nonshared_offsets (u64 addr , u64 end , unsigned int level , struct xe_pt_walk *walk , enum page_walk_action *action , pgoff_t *offset , pgoff_t *end_offset ); ARGUMENTS addr The start address withi...
xe_pt_num_entries(9)
NAME xe_pt_num_entries - Number of page-table entries of a given range at this level SYNOPSIS pgoff_t xe_pt_num_entries (u64 addr , u64 end , unsigned int level , const struct xe_pt_walk *walk ); ARGUMENTS addr Start address. end End address. level Page table level. walk ...
xe_pt_offset(9)
NAME xe_pt_offset - Offset of the page-table entry for a given address. SYNOPSIS pgoff_t xe_pt_offset (u64 addr , unsigned int level , const struct xe_pt_walk *walk ); ARGUMENTS addr The address. level Page table level. walk Walk info. RETURN The page table entry offset for the gi...
xe_pt_populate_empty(9)
NAME xe_pt_populate_empty - Populate a page-table bo with scratch- or zero entries. SYNOPSIS void xe_pt_populate_empty (struct xe_tile *tile , struct xe_vm *vm , struct xe_pt *pt ); ARGUMENTS tile The tile the scratch pagetable of which to use. vm The vm we populate for. pt Th...
xe_pt_shift(9)
NAME xe_pt_shift - Return the ilog2 value of the size of the address range of a page-table at a certain level. SYNOPSIS unsigned int xe_pt_shift (unsigned int level ); ARGUMENTS level The level. RETURN The ilog2 value of the size of the address range of a page-table at level level. SEE ALSO Kernel file ./dr...
xe_pt_stage_bind(9)
NAME xe_pt_stage_bind - Build a disconnected page-table tree for a given address range. SYNOPSIS int xe_pt_stage_bind (struct xe_tile *tile , struct xe_vma *vma , struct xe_svm_range *range , struct xe_vm_pgtable_update *entries , u32 *num_entries , bool clear_pt ); ARGUMENTS tile The tile we're building for. ...
xe_pt_stage_unbind(9)
NAME xe_pt_stage_unbind - Build page-table update structures for an unbind operation SYNOPSIS unsigned int xe_pt_stage_unbind (struct xe_tile *tile , struct xe_vm *vm , struct xe_vma *vma , struct xe_svm_range *range , struct xe_vm_pgtable_update *entries ); ARGUMENTS tile The tile we're unbinding for. ...
xe_pt_update_ops_abort(9)
NAME xe_pt_update_ops_abort - Abort PT update operations SYNOPSIS void xe_pt_update_ops_abort (struct xe_tile *tile , struct xe_vma_ops *vops ); ARGUMENTS tile Tile of PT update operations vops VMA operationa DESCRIPTION Abort PT update operations by unwinding internal PT state SEE ALSO Kernel...
xe_pt_update_ops_fini(9)
NAME xe_pt_update_ops_fini - Finish PT update operations SYNOPSIS void xe_pt_update_ops_fini (struct xe_tile *tile , struct xe_vma_ops *vops ); ARGUMENTS tile Tile of PT update operations vops VMA operations DESCRIPTION Finish PT update operations by committing to destroy page table memory SEE...
xe_pt_update_ops_prepare(9)
NAME xe_pt_update_ops_prepare - Prepare PT update operations SYNOPSIS int xe_pt_update_ops_prepare (struct xe_tile *tile , struct xe_vma_ops *vops ); ARGUMENTS tile Tile of PT update operations vops VMA operationa DESCRIPTION Prepare PT update operations which includes updating internal PT stat...
xe_pt_update_ops_run(9)
NAME xe_pt_update_ops_run - Run PT update operations SYNOPSIS struct dma_fence * xe_pt_update_ops_run (struct xe_tile *tile , struct xe_vma_ops *vops ); ARGUMENTS tile Tile of PT update operations vops VMA operationa DESCRIPTION Run PT update operations which includes committing internal PT sta...
xe_pt_walk_range(9)
NAME xe_pt_walk_range - Walk a range of a gpu page table tree with callbacks for each page-table entry in all levels. SYNOPSIS int xe_pt_walk_range (struct xe_ptw *parent , unsigned int level , u64 addr , u64 end , struct xe_pt_walk *walk ); ARGUMENTS parent The root page table for walk start. level ...
xe_pt_walk_shared(9)
NAME xe_pt_walk_shared - Walk shared page tables of a page-table tree. SYNOPSIS int xe_pt_walk_shared (struct xe_ptw *parent , unsigned int level , u64 addr , u64 end , struct xe_pt_walk *walk ); ARGUMENTS parent Root page table directory. level Level of the root. addr Start address....
xe_pt_zap_ptes(9)
NAME xe_pt_zap_ptes - Zap (zero) gpu ptes of an address range SYNOPSIS bool xe_pt_zap_ptes (struct xe_tile *tile , struct xe_vma *vma ); ARGUMENTS tile The tile we're zapping for. vma GPU VMA detailing address range. DESCRIPTION Eviction and Userptr invalidation needs to be able to zap the g...
xe_pt_zap_ptes_range(9)
NAME xe_pt_zap_ptes_range - Zap (zero) gpu ptes of a SVM range SYNOPSIS bool xe_pt_zap_ptes_range (struct xe_tile *tile , struct xe_vm *vm , struct xe_svm_range *range ); ARGUMENTS tile The tile we're zapping for. vm The VM we're zapping for. range The SVM range we're zapping for...
xe_pxp_allocate_execution_resources(9)
NAME xe_pxp_allocate_execution_resources - Allocate PXP submission objects SYNOPSIS int xe_pxp_allocate_execution_resources (struct xe_pxp *pxp ); ARGUMENTS pxp the xe_pxp structure DESCRIPTION Allocates exec_queues objects for VCS and GSCCS submission. The GSCCS submissions are done via PPGTT, so this fu...
xe_pxp_bo_key_check(9)
NAME xe_pxp_bo_key_check - check if the key used by a xe_bo is valid SYNOPSIS int xe_pxp_bo_key_check (struct xe_pxp *pxp , struct xe_bo *bo ); ARGUMENTS pxp the xe->pxp pointer (it will be NULL if PXP is disabled) bo the BO we want to check DESCRIPTION Checks whether a BO was encrypted with...
xe_pxp_exec_queue_add(9)
NAME xe_pxp_exec_queue_add - add a queue to the PXP list SYNOPSIS int xe_pxp_exec_queue_add (struct xe_pxp *pxp , struct xe_exec_queue *q ); ARGUMENTS pxp the xe->pxp pointer (it will be NULL if PXP is disabled) q the queue to add to the list DESCRIPTION If PXP is enabled and the prerequisi...
xe_pxp_exec_queue_remove(9)
NAME xe_pxp_exec_queue_remove - remove a queue from the PXP list SYNOPSIS void xe_pxp_exec_queue_remove (struct xe_pxp *pxp , struct xe_exec_queue *q ); ARGUMENTS pxp the xe->pxp pointer (it will be NULL if PXP is disabled) q the queue to remove from the list DESCRIPTION If PXP is enabled a...
xe_pxp_exec_queue_set_type(9)
NAME xe_pxp_exec_queue_set_type - Mark a queue as using PXP SYNOPSIS int xe_pxp_exec_queue_set_type (struct xe_pxp *pxp , struct xe_exec_queue *q , u8 type ); ARGUMENTS pxp the xe->pxp pointer (it will be NULL if PXP is disabled) q the queue to mark as using PXP type the type ...
xe_pxp_get_readiness_status(9)
NAME xe_pxp_get_readiness_status - check whether PXP is ready for userspace use SYNOPSIS int xe_pxp_get_readiness_status (struct xe_pxp *pxp ); ARGUMENTS pxp the xe_pxp pointer (can be NULL if PXP is disabled) RETURN 0 if PXP is not ready yet, 1 if it is ready, a negative errno value if PXP is not supported...
xe_pxp_init(9)
NAME xe_pxp_init - initialize PXP support SYNOPSIS int xe_pxp_init (struct xe_device *xe ); ARGUMENTS xe the xe_device structure DESCRIPTION Initialize the HW state and allocate the objects required for PXP support. Note that some of the requirement for PXP support (GSC proxy init, HuC auth) are performe...
xe_pxp_irq_handler(9)
NAME xe_pxp_irq_handler - Handles PXP interrupts. SYNOPSIS void xe_pxp_irq_handler (struct xe_device *xe , u16 iir ); ARGUMENTS xe the xe_device structure iir interrupt vector SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_pxp.c Kernel API(9), xe_pxp_get_readiness_status(9), xe_pxp_init(...
xe_pxp_key_assign(9)
NAME xe_pxp_key_assign - mark a BO as using the current PXP key iteration SYNOPSIS int xe_pxp_key_assign (struct xe_pxp *pxp , struct xe_bo *bo ); ARGUMENTS pxp the xe->pxp pointer (it will be NULL if PXP is disabled) bo the BO to mark RETURN -ENODEV if PXP is disabled, 0 otherwise. SEE ALS...
xe_pxp_obj_key_check(9)
NAME xe_pxp_obj_key_check - check if the key used by a drm_gem_obj is valid SYNOPSIS int xe_pxp_obj_key_check (struct drm_gem_object *obj ); ARGUMENTS obj the drm_gem_obj we want to check DESCRIPTION Checks whether a drm_gem_obj was encrypted with the current key or an obsolete one. RETURN 0 if the key is v...
xe_pxp_pm_resume(9)
NAME xe_pxp_pm_resume - re-init PXP after HW suspend SYNOPSIS void xe_pxp_pm_resume (struct xe_pxp *pxp ); ARGUMENTS pxp the xe->pxp pointer (it will be NULL if PXP is disabled) SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_pxp.c Kernel API(9), xe_pxp_get_readiness_status(9), xe_pxp_irq_handler(9), xe_...
xe_pxp_pm_suspend(9)
NAME xe_pxp_pm_suspend - prepare PXP for HW suspend SYNOPSIS int xe_pxp_pm_suspend (struct xe_pxp *pxp ); ARGUMENTS pxp the xe->pxp pointer (it will be NULL if PXP is disabled) DESCRIPTION Makes sure all PXP actions have completed and invalidates all PXP queues and objects before we go into a suspend state. ...
xe_pxp_submit_session_init(9)
NAME xe_pxp_submit_session_init - submits a PXP GSC session initialization SYNOPSIS int xe_pxp_submit_session_init (struct xe_pxp_gsc_client_resources *gsc_res , u32 id ); ARGUMENTS gsc_res the pxp client resources id the session to initialize DESCRIPTION Submit a message to the GSC FW to initia...
xe_pxp_submit_session_invalidation(9)
NAME xe_pxp_submit_session_invalidation - submits a PXP GSC invalidation SYNOPSIS int xe_pxp_submit_session_invalidation (struct xe_pxp_gsc_client_resources *gsc_res , u32 id ); ARGUMENTS gsc_res the pxp client resources id the session to invalidate DESCRIPTION Submit a message to the GSC FW to ...
xe_pxp_submit_session_termination(9)
NAME xe_pxp_submit_session_termination - submits a PXP inline termination SYNOPSIS int xe_pxp_submit_session_termination (struct xe_pxp *pxp , u32 id ); ARGUMENTS pxp the xe_pxp structure id the session to terminate DESCRIPTION Emit an inline termination via the VCS engine to terminate a ses...
xe_range_fence_insert(9)
NAME xe_range_fence_insert - range fence insert SYNOPSIS int xe_range_fence_insert (struct xe_range_fence_tree *tree , struct xe_range_fence *rfence , const struct xe_range_fence_ops *ops , u64 start , u64 last , struct dma_fence *fence ); ARGUMENTS tree range fence tree to insert intoi rfence ran...
xe_range_fence_tree_fini(9)
NAME xe_range_fence_tree_fini - Fini range fence tree SYNOPSIS void xe_range_fence_tree_fini (struct xe_range_fence_tree *tree ); ARGUMENTS tree range fence tree SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_range_fence.c xe_range_fence_insert(9), xe_range_fence_tree_init(9), xe_range_fence_tree_first(9), xe_r...
xe_range_fence_tree_first(9)
NAME xe_range_fence_tree_first - range fence tree iterator first SYNOPSIS struct xe_range_fence * xe_range_fence_tree_first (struct xe_range_fence_tree *tree , u64 start , u64 last ); ARGUMENTS tree range fence tree start start address of range fence last last address of range fenc...
xe_range_fence_tree_init(9)
NAME xe_range_fence_tree_init - Init range fence tree SYNOPSIS void xe_range_fence_tree_init (struct xe_range_fence_tree *tree ); ARGUMENTS tree range fence tree SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_range_fence.c xe_range_fence_insert(9), xe_range_fence_tree_fini(9), xe_range_fence_tree_first(9), xe_r...
xe_range_fence_tree_next(9)
NAME xe_range_fence_tree_next - range fence tree iterator next SYNOPSIS struct xe_range_fence * xe_range_fence_tree_next (struct xe_range_fence *rfence , u64 start , u64 last ); ARGUMENTS rfence current range fence start start address of range fence last last address of range fence ...
xe_reg_sr_dump(9)
NAME xe_reg_sr_dump - print all save/restore entries SYNOPSIS void xe_reg_sr_dump (struct xe_reg_sr *sr , struct drm_printer *p ); ARGUMENTS sr Save/restore entries p DRM printer SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_reg_sr.c April 2026 ...
xe_reg_whitelist_dump(9)
NAME xe_reg_whitelist_dump - print all whitelist entries SYNOPSIS void xe_reg_whitelist_dump (struct xe_reg_sr *sr , struct drm_printer *p ); ARGUMENTS sr Save/restore entries p DRM printer SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_reg_whitelist.c xe_reg_whitelist_process_engine(9), xe_...
xe_reg_whitelist_print_entry(9)
NAME xe_reg_whitelist_print_entry - print one whitelist entry SYNOPSIS void xe_reg_whitelist_print_entry (struct drm_printer *p , unsigned int indent , u32 reg , struct xe_reg_sr_entry *entry ); ARGUMENTS p DRM printer indent indent level reg register allowed/denied entr...
xe_reg_whitelist_process_engine(9)
NAME xe_reg_whitelist_process_engine - process table of registers to whitelist SYNOPSIS void xe_reg_whitelist_process_engine (struct xe_hw_engine *hwe ); ARGUMENTS hwe engine instance to process whitelist for DESCRIPTION Process wwhitelist table for this platform, saving in hwe all the registers that need to...
xe_res_dma(9)
NAME xe_res_dma - return dma address of cursor at current position SYNOPSIS u64 xe_res_dma (const struct xe_res_cursor *cur ); ARGUMENTS cur the cursor to return the dma address from SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_res_cursor.h struct xe_res_cursor(9), xe_res_first(9), __xe_res_dma_next(9), xe_r...
xe_res_first(9)
NAME xe_res_first - initialize a xe_res_cursor SYNOPSIS void xe_res_first (struct ttm_resource *res , u64 start , u64 size , struct xe_res_cursor *cur ); ARGUMENTS res TTM resource object to walk start Start of the range size Size of the range cur cursor object to ...
xe_res_first_dma(9)
NAME xe_res_first_dma - initialize a xe_res_cursor with dma_addr array SYNOPSIS void xe_res_first_dma (const struct drm_pagemap_addr *dma_addr , u64 start , u64 size , struct xe_res_cursor *cur ); ARGUMENTS dma_addr struct drm_pagemap_addr array to walk start Start of the range size Si...
xe_res_first_sg(9)
NAME xe_res_first_sg - initialize a xe_res_cursor with a scatter gather table SYNOPSIS void xe_res_first_sg (const struct sg_table *sg , u64 start , u64 size , struct xe_res_cursor *cur ); ARGUMENTS sg scatter gather table to walk start Start of the range size Size of the range ...
xe_res_is_vram(9)
NAME xe_res_is_vram - Whether the cursor current dma address points to same-device VRAM SYNOPSIS bool xe_res_is_vram (const struct xe_res_cursor *cur ); ARGUMENTS cur The cursor. RETURN true iff the address returned by xe_res_dma points to internal vram. SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_res_curs...