Home
last modified time | relevance | path

Searched defs:xe (Results 1 – 25 of 130) sorted by relevance

123456

/linux/drivers/gpu/drm/xe/
H A Dxe_pm.c131 int xe_pm_block_on_suspend(struct xe_device *xe) in xe_pm_block_on_suspend()
145 bool xe_rpm_reclaim_safe(const struct xe_device *xe) in xe_rpm_reclaim_safe()
150 static void xe_rpm_lockmap_acquire(const struct xe_device *xe) in xe_rpm_lockmap_acquire()
157 static void xe_rpm_lockmap_release(const struct xe_device *xe) in xe_rpm_lockmap_release()
170 int xe_pm_suspend(struct xe_device *xe) in xe_pm_suspend()
228 int xe_pm_resume(struct xe_device *xe) in xe_pm_resume()
288 static bool xe_pm_pci_d3cold_capable(struct xe_device *xe) in xe_pm_pci_d3cold_capable()
312 static void xe_pm_runtime_init(struct xe_device *xe) in xe_pm_runtime_init()
339 int xe_pm_init_early(struct xe_device *xe) in xe_pm_init_early()
358 static u32 vram_threshold_value(struct xe_device *xe) in vram_threshold_value()
[all …]
H A Dxe_device.c80 struct xe_device *xe = to_xe_device(dev); xe_file_open() local
161 struct xe_device *xe = to_xe_device(dev); xe_file_close() local
215 struct xe_device *xe = to_xe_device(file_priv->minor->dev); xe_drm_ioctl() local
233 struct xe_device *xe = to_xe_device(file_priv->minor->dev); xe_drm_compat_ioctl() local
317 struct xe_device *xe = to_xe_device(dev); xe_pci_barrier_mmap() local
402 struct xe_device *xe = to_xe_device(dev); xe_device_destroy() local
424 struct xe_device *xe; xe_device_create() local
513 xe_driver_flr_disabled(struct xe_device * xe) xe_driver_flr_disabled() argument
539 __xe_driver_flr(struct xe_device * xe) __xe_driver_flr() argument
585 xe_driver_flr(struct xe_device * xe) xe_driver_flr() argument
595 struct xe_device *xe = arg; xe_driver_flr_fini() local
603 struct xe_device *xe = arg; xe_device_sanitize() local
611 xe_set_dma_info(struct xe_device * xe) xe_set_dma_info() argument
633 verify_lmem_ready(struct xe_device * xe) verify_lmem_ready() argument
640 wait_for_lmem_ready(struct xe_device * xe) wait_for_lmem_ready() argument
688 vf_update_device_info(struct xe_device * xe) vf_update_device_info() argument
700 xe_device_vram_alloc(struct xe_device * xe) xe_device_vram_alloc() argument
725 xe_device_probe_early(struct xe_device * xe) xe_device_probe_early() argument
771 probe_has_flat_ccs(struct xe_device * xe) probe_has_flat_ccs() argument
799 xe_device_probe(struct xe_device * xe) xe_device_probe() argument
973 xe_device_remove(struct xe_device * xe) xe_device_remove() argument
984 xe_device_shutdown(struct xe_device * xe) xe_device_shutdown() argument
1015 xe_device_wmb(struct xe_device * xe) xe_device_wmb() argument
1025 tdf_request_sync(struct xe_device * xe) tdf_request_sync() argument
1056 xe_device_l2_flush(struct xe_device * xe) xe_device_l2_flush() argument
1099 xe_device_td_flush(struct xe_device * xe) xe_device_td_flush() argument
1117 xe_device_ccs_bytes(struct xe_device * xe,u64 size) xe_device_ccs_bytes() argument
1134 xe_device_assert_mem_access(struct xe_device * xe) xe_device_assert_mem_access() argument
1139 xe_device_snapshot_print(struct xe_device * xe,struct drm_printer * p) xe_device_snapshot_print() argument
1160 xe_device_canonicalize_addr(struct xe_device * xe,u64 address) xe_device_canonicalize_addr() argument
1165 xe_device_uncanonicalize_addr(struct xe_device * xe,u64 address) xe_device_uncanonicalize_addr() argument
1172 struct xe_device *xe = arg; xe_device_wedged_fini() local
1221 xe_device_set_wedged_method(struct xe_device * xe,unsigned long method) xe_device_set_wedged_method() argument
1244 xe_device_declare_wedged(struct xe_device * xe) xe_device_declare_wedged() argument
[all...]
H A Dxe_irq.c97 static u32 xelp_intr_disable(struct xe_device *xe) in xelp_intr_disable() argument
113 gu_misc_irq_ack(struct xe_device *xe, const u32 master_ctl) in gu_misc_irq_ack() argument
128 static inline void xelp_intr_enable(struct xe_device *xe, boo argument
140 struct xe_device *xe = gt_to_xe(gt); xe_irq_enable_hwe() local
228 gt_engine_identity(struct xe_device * xe,struct xe_mmio * mmio,const unsigned int bank,const unsigned int bit) gt_engine_identity() argument
284 struct xe_device *xe = tile_to_xe(tile); pick_engine_gt() local
312 struct xe_device *xe = tile_to_xe(tile); gt_irq_handler() local
370 struct xe_device *xe = arg; xelp_irq_handler() local
398 dg1_intr_disable(struct xe_device * xe) dg1_intr_disable() argument
416 dg1_intr_enable(struct xe_device * xe,bool stall) dg1_intr_enable() argument
432 struct xe_device *xe = arg; dg1_irq_handler() local
576 vf_irq_reset(struct xe_device * xe) vf_irq_reset() argument
596 xe_irq_reset(struct xe_device * xe) xe_irq_reset() argument
631 vf_irq_postinstall(struct xe_device * xe) vf_irq_postinstall() argument
646 xe_irq_postinstall(struct xe_device * xe) xe_irq_postinstall() argument
677 struct xe_device *xe = arg; vf_mem_irq_handler() local
690 xe_irq_handler(struct xe_device * xe) xe_irq_handler() argument
701 xe_irq_msi_request_irqs(struct xe_device * xe) xe_irq_msi_request_irqs() argument
723 xe_irq_msi_free(struct xe_device * xe) xe_irq_msi_free() argument
734 struct xe_device *xe = arg; irq_uninstall() local
747 xe_irq_init(struct xe_device * xe) xe_irq_init() argument
754 xe_irq_install(struct xe_device * xe) xe_irq_install() argument
788 xe_irq_msi_synchronize_irq(struct xe_device * xe) xe_irq_msi_synchronize_irq() argument
793 xe_irq_suspend(struct xe_device * xe) xe_irq_suspend() argument
805 xe_irq_resume(struct xe_device * xe) xe_irq_resume() argument
832 xe_irq_msix_init(struct xe_device * xe) xe_irq_msix_init() argument
853 struct xe_device *xe = arg; xe_irq_msix_default_hwe_handler() local
880 xe_irq_msix_alloc_vector(struct xe_device * xe,void * irq_buf,bool dynamic_msix,u16 * msix) xe_irq_msix_alloc_vector() argument
899 xe_irq_msix_release_vector(struct xe_device * xe,u16 msix) xe_irq_msix_release_vector() argument
904 xe_irq_msix_request_irq_internal(struct xe_device * xe,irq_handler_t handler,void * irq_buf,const char * name,u16 msix) xe_irq_msix_request_irq_internal() argument
921 xe_irq_msix_request_irq(struct xe_device * xe,irq_handler_t handler,void * irq_buf,const char * name,bool dynamic_msix,u16 * msix) xe_irq_msix_request_irq() argument
940 xe_irq_msix_free_irq(struct xe_device * xe,u16 msix) xe_irq_msix_free_irq() argument
960 xe_irq_msix_request_irqs(struct xe_device * xe) xe_irq_msix_request_irqs() argument
982 xe_irq_msix_free(struct xe_device * xe) xe_irq_msix_free() argument
992 xe_irq_msix_synchronize_irq(struct xe_device * xe) xe_irq_msix_synchronize_irq() argument
[all...]
H A Dxe_sriov_pf_migration.c19 static struct xe_sriov_migration_state *pf_pick_migration(struct xe_device *xe, unsigned int vfid) in pf_pick_migration()
34 wait_queue_head_t *xe_sriov_pf_migration_waitqueue(struct xe_device *xe, unsigned int vfid) in xe_sriov_pf_migration_waitqueue()
45 bool xe_sriov_pf_migration_supported(struct xe_device *xe) in xe_sriov_pf_migration_supported()
57 void xe_sriov_pf_migration_disable(struct xe_device *xe, const char *fmt, ...) in xe_sriov_pf_migration_disable()
76 static void pf_migration_check_support(struct xe_device *xe) in pf_migration_check_support()
97 int xe_sriov_pf_migration_init(struct xe_device *xe) in xe_sriov_pf_migration_init()
127 static bool pf_migration_data_ready(struct xe_device *xe, unsigned int vfid) in pf_migration_data_ready()
143 pf_migration_consume(struct xe_device *xe, unsigned int vfid) in pf_migration_consume()
178 xe_sriov_pf_migration_save_consume(struct xe_device *xe, unsigned int vfid) in xe_sriov_pf_migration_save_consume()
200 static int pf_handle_descriptor(struct xe_device *xe, unsigned int vfid, in pf_handle_descriptor()
[all …]
H A Dxe_bo_evict.c15 static int xe_bo_apply_to_pinned(struct xe_device *xe, in xe_bo_apply_to_pinned() argument
64 int xe_bo_notifier_prepare_all_pinned(struct xe_device *xe) in xe_bo_notifier_prepare_all_pinned() argument
87 xe_bo_notifier_unprepare_all_pinned(struct xe_device * xe) xe_bo_notifier_unprepare_all_pinned() argument
106 xe_bo_evict_all_user(struct xe_device * xe) xe_bo_evict_all_user() argument
151 xe_bo_evict_all(struct xe_device * xe) xe_bo_evict_all() argument
217 xe_bo_restore_early(struct xe_device * xe) xe_bo_restore_early() argument
234 xe_bo_restore_late(struct xe_device * xe) xe_bo_restore_late() argument
264 xe_bo_pci_dev_remove_pinned(struct xe_device * xe) xe_bo_pci_dev_remove_pinned() argument
289 xe_bo_pci_dev_remove_all(struct xe_device * xe) xe_bo_pci_dev_remove_all() argument
313 struct xe_device *xe = arg; xe_bo_pinned_fini() local
333 xe_bo_pinned_init(struct xe_device * xe) xe_bo_pinned_init() argument
[all...]
H A Dxe_sriov_printk.h18 #define xe_sriov_printk(xe, _level, fmt, ...) \ argument
21 #define xe_sriov_err(xe, fmt, ...) \ argument
24 #define xe_sriov_err_ratelimited(xe, fmt, ...) \ argument
14 xe_sriov_printk_prefix(xe) global() argument
27 xe_sriov_warn(xe,fmt,...) global() argument
30 xe_sriov_notice(xe,fmt,...) global() argument
33 xe_sriov_info(xe,fmt,...) global() argument
36 xe_sriov_dbg(xe,fmt,...) global() argument
41 xe_sriov_dbg_verbose(xe,fmt,...) global() argument
43 xe_sriov_dbg_verbose(xe,fmt,...) global() argument
[all...]
H A Dxe_bo.c172 tile = &xe->tiles[mem_type == XE_PL_STOLEN ? 0 : (mem_type - XE_PL_VRAM0)]; in res_to_mem_region() local
183 mgr = ttm_manager_type(&xe->ttm, res->mem_type); in try_add_system() argument
89 resource_is_stolen_vram(struct xe_device * xe,struct ttm_resource * res) resource_is_stolen_vram() argument
161 mem_type_to_migrate(struct xe_device * xe,u32 mem_type) mem_type_to_migrate() argument
216 add_vram(struct xe_device * xe,struct xe_bo * bo,struct ttm_place * places,u32 bo_flags,u32 mem_type,u32 * c) add_vram() argument
247 try_add_vram(struct xe_device * xe,struct xe_bo * bo,u32 bo_flags,u32 * c) try_add_vram() argument
256 try_add_stolen(struct xe_device * xe,struct xe_bo * bo,u32 bo_flags,u32 * c) try_add_stolen() argument
271 __xe_bo_placement_for_flags(struct xe_device * xe,struct xe_bo * bo,u32 bo_flags) __xe_bo_placement_for_flags() argument
291 xe_bo_placement_for_flags(struct xe_device * xe,struct xe_bo * bo,u32 bo_flags) xe_bo_placement_for_flags() argument
301 struct xe_device *xe = container_of(tbo->bdev, typeof(*xe), ttm); xe_evict_flags() local
353 xe_tt_map_sg(struct xe_device * xe,struct ttm_tt * tt) xe_tt_map_sg() argument
385 xe_tt_unmap_sg(struct xe_device * xe,struct ttm_tt * tt) xe_tt_unmap_sg() argument
409 xe_ttm_tt_account_add(struct xe_device * xe,struct ttm_tt * tt) xe_ttm_tt_account_add() argument
419 xe_ttm_tt_account_subtract(struct xe_device * xe,struct ttm_tt * tt) xe_ttm_tt_account_subtract() argument
433 struct xe_device *xe = ttm_to_xe_device(ttm_dev); update_global_total_pages() local
446 struct xe_device *xe = xe_bo_device(bo); xe_ttm_tt_create() local
556 struct xe_device *xe = ttm_to_xe_device(ttm_dev); xe_ttm_tt_unpopulate() local
586 struct xe_device *xe = ttm_to_xe_device(bdev); xe_ttm_io_mem_reserve() local
620 xe_bo_trigger_rebind(struct xe_device * xe,struct xe_bo * bo,const struct ttm_operation_ctx * ctx) xe_bo_trigger_rebind() argument
697 struct xe_device *xe = ttm_to_xe_device(ttm_bo->bdev); xe_bo_move_dmabuf() local
755 struct xe_device *xe = ttm_to_xe_device(ttm_bo->bdev); xe_bo_move_notify() local
797 struct xe_device *xe = ttm_to_xe_device(ttm_bo->bdev); xe_bo_move() local
1010 struct xe_device *xe = ttm_to_xe_device(bo->bdev); xe_bo_shrink_purge() local
1086 struct xe_device *xe = ttm_to_xe_device(bo->bdev); xe_bo_shrink() local
1143 struct xe_device *xe = ttm_to_xe_device(bo->ttm.bdev); xe_bo_notifier_prepare_pinned() local
1212 struct xe_device *xe = xe_bo_device(bo); xe_bo_evict_pinned_copy() local
1280 struct xe_device *xe = ttm_to_xe_device(bo->ttm.bdev); xe_bo_evict_pinned() local
1350 struct xe_device *xe = ttm_to_xe_device(bo->ttm.bdev); xe_bo_restore_pinned() local
1471 struct xe_device *xe = ttm_to_xe_device(ttm_bo->bdev); xe_ttm_bo_lock_in_destructor() local
1564 struct xe_device *xe = ttm_to_xe_device(ttm_bo->bdev); xe_ttm_bo_purge() local
1595 struct xe_device *xe = ttm_to_xe_device(ttm_bo->bdev); xe_ttm_access_memory() local
1662 struct xe_device *xe = ttm_to_xe_device(ttm_bo->bdev); xe_ttm_bo_destroy() local
1778 __xe_bo_cpu_fault(struct vm_fault * vmf,struct xe_device * xe,struct xe_bo * bo) __xe_bo_cpu_fault() argument
1830 xe_bo_cpu_fault_fastpath(struct vm_fault * vmf,struct xe_device * xe,struct xe_bo * bo,bool needs_rpm) xe_bo_cpu_fault_fastpath() argument
1890 struct xe_device *xe = to_xe_device(ddev); xe_bo_cpu_fault() local
1988 struct xe_device *xe = xe_bo_device(bo); xe_bo_vm_access() local
2092 xe_bo_init_locked(struct xe_device * xe,struct xe_bo * bo,struct xe_tile * tile,struct dma_resv * resv,struct ttm_lru_bulk_move * bulk,size_t size,u16 cpu_caching,enum ttm_bo_type type,u32 flags,struct drm_exec * exec) xe_bo_init_locked() argument
2224 __xe_bo_fixed_placement(struct xe_device * xe,struct xe_bo * bo,u32 flags,u64 start,u64 end,u64 size) __xe_bo_fixed_placement() argument
2263 __xe_bo_create_locked(struct xe_device * xe,struct xe_tile * tile,struct xe_vm * vm,size_t size,u64 start,u64 end,u16 cpu_caching,enum ttm_bo_type type,u32 flags,u64 alignment,struct drm_exec * exec) __xe_bo_create_locked() argument
2361 xe_bo_create_locked(struct xe_device * xe,struct xe_tile * tile,struct xe_vm * vm,size_t size,enum ttm_bo_type type,u32 flags,struct drm_exec * exec) xe_bo_create_locked() argument
2370 xe_bo_create_novm(struct xe_device * xe,struct xe_tile * tile,size_t size,u16 cpu_caching,enum ttm_bo_type type,u32 flags,u64 alignment,bool intr) xe_bo_create_novm() argument
2410 xe_bo_create_user(struct xe_device * xe,struct xe_vm * vm,size_t size,u16 cpu_caching,u32 flags,struct drm_exec * exec) xe_bo_create_user() argument
2451 xe_bo_create_pin_range_novm(struct xe_device * xe,struct xe_tile * tile,size_t size,u64 start,u64 end,enum ttm_bo_type type,u32 flags) xe_bo_create_pin_range_novm() argument
2483 xe_bo_create_pin_map_at_aligned(struct xe_device * xe,struct xe_tile * tile,struct xe_vm * vm,size_t size,u64 offset,enum ttm_bo_type type,u32 flags,u64 alignment,struct drm_exec * exec) xe_bo_create_pin_map_at_aligned() argument
2545 xe_bo_create_pin_map_at_novm(struct xe_device * xe,struct xe_tile * tile,size_t size,u64 offset,enum ttm_bo_type type,u32 flags,u64 alignment,bool intr) xe_bo_create_pin_map_at_novm() argument
2588 xe_bo_create_pin_map(struct xe_device * xe,struct xe_tile * tile,struct xe_vm * vm,size_t size,enum ttm_bo_type type,u32 flags,struct drm_exec * exec) xe_bo_create_pin_map() argument
2614 xe_bo_create_pin_map_novm(struct xe_device * xe,struct xe_tile * tile,size_t size,enum ttm_bo_type type,u32 flags,bool intr) xe_bo_create_pin_map_novm() argument
2626 xe_managed_bo_create_pin_map(struct xe_device * xe,struct xe_tile * tile,size_t size,u32 flags) xe_managed_bo_create_pin_map() argument
2649 xe_managed_bo_create_from_data(struct xe_device * xe,struct xe_tile * tile,const void * data,size_t size,u32 flags) xe_managed_bo_create_from_data() argument
2675 xe_managed_bo_reinit_in_vram(struct xe_device * xe,struct xe_tile * tile,struct xe_bo ** src) xe_managed_bo_reinit_in_vram() argument
2703 struct xe_device *xe = ttm_to_xe_device(res->bo->bdev); vram_region_gpu_offset() local
2731 struct xe_device *xe = xe_bo_device(bo); xe_bo_pin_external() local
2775 struct xe_device *xe = xe_bo_device(bo); xe_bo_pin() local
2832 struct xe_device *xe = xe_bo_device(bo); xe_bo_unpin_external() local
2857 struct xe_device *xe = xe_bo_device(bo); xe_bo_unpin() local
2943 struct xe_device *xe = xe_bo_device(bo); __xe_bo_addr() local
2975 struct xe_device *xe = ttm_to_xe_device(bo->ttm.bdev); xe_bo_vmap() local
3023 gem_create_set_pxp_type(struct xe_device * xe,struct xe_bo * bo,u64 value) gem_create_set_pxp_type() argument
3043 gem_create_user_ext_set_property(struct xe_device * xe,struct xe_bo * bo,u64 extension) gem_create_user_ext_set_property() argument
3078 gem_create_user_extensions(struct xe_device * xe,struct xe_bo * bo,u64 extensions,int ext_number) gem_create_user_extensions() argument
3113 struct xe_device *xe = to_xe_device(dev); xe_gem_create_ioctl() local
3244 struct xe_device *xe = to_xe_device(dev); xe_gem_mmap_offset_ioctl() local
3377 struct xe_device *xe = ttm_to_xe_device(bo->ttm.bdev); xe_bo_migrate() local
3459 struct xe_device *xe = xe_bo_device(bo); xe_bo_needs_ccs_pages() local
3577 struct xe_device *xe = to_xe_device(dev); xe_bo_dumb_create() local
[all...]
H A Dxe_survivability_mode.c95 static void populate_survivability_info(struct xe_device *xe) in populate_survivability_info()
131 struct xe_device *xe = pdev_to_xe_device(pdev); in log_survivability_info() local
145 static int check_boot_failure(struct xe_device *xe) in check_boot_failure()
157 struct xe_device *xe = pdev_to_xe_device(pdev); in survivability_mode_show() local
181 struct xe_device *xe = arg; in xe_survivability_mode_fini() local
191 struct xe_device *xe = pdev_to_xe_device(pdev); in create_survivability_sysfs() local
212 struct xe_device *xe = pdev_to_xe_device(pdev); in enable_boot_survivability_mode() local
242 static int init_survivability_mode(struct xe_device *xe) in init_survivability_mode()
267 bool xe_survivability_mode_is_boot_enabled(struct xe_device *xe) in xe_survivability_mode_is_boot_enabled()
284 bool xe_survivability_mode_is_requested(struct xe_device *xe) in xe_survivability_mode_is_requested()
[all …]
H A Dxe_sriov_pf.c38 xe_sriov_notice(xe, "Failed to set number of VFs to %d (%pe)\n", in pf_continue_as_native() argument
20 wanted_max_vfs(struct xe_device * xe) wanted_max_vfs() argument
25 pf_reduce_totalvfs(struct xe_device * xe,int limit) pf_reduce_totalvfs() argument
54 xe_sriov_pf_readiness(struct xe_device * xe) xe_sriov_pf_readiness() argument
86 xe_sriov_pf_init_early(struct xe_device * xe) xe_sriov_pf_init_early() argument
114 xe_sriov_pf_wait_ready(struct xe_device * xe) xe_sriov_pf_wait_ready() argument
139 xe_sriov_pf_print_vfs_summary(struct xe_device * xe,struct drm_printer * p) xe_sriov_pf_print_vfs_summary() argument
155 struct xe_device *xe = parent->d_inode->i_private; simple_show() local
174 xe_sriov_pf_debugfs_register(struct xe_device * xe,struct dentry * root) xe_sriov_pf_debugfs_register() argument
[all...]
H A Dxe_pci_sriov.c34 static void pf_link_vfs(struct xe_device *xe, int num_vfs) in pf_provision_vfs() argument
50 pf_unprovision_vfs(struct xe_device * xe,unsigned int num_vfs) pf_unprovision_vfs() argument
61 pf_reset_vfs(struct xe_device * xe,unsigned int num_vfs) pf_reset_vfs() argument
72 xe_pci_pf_get_vf_dev(struct xe_device * xe,unsigned int vf_id) xe_pci_pf_get_vf_dev() argument
84 pf_link_vfs(struct xe_device * xe,int num_vfs) pf_link_vfs() argument
121 pf_engine_activity_stats(struct xe_device * xe,unsigned int num_vfs,bool enable) pf_engine_activity_stats() argument
135 resize_vf_vram_bar(struct xe_device * xe,int num_vfs) resize_vf_vram_bar() argument
147 pf_enable_vfs(struct xe_device * xe,int num_vfs) pf_enable_vfs() argument
205 pf_disable_vfs(struct xe_device * xe) pf_disable_vfs() argument
246 struct xe_device *xe = pdev_to_xe_device(pdev); xe_pci_sriov_configure() local
[all...]
H A Dxe_sriov_pf_service.c24 void xe_sriov_pf_service_init(struct xe_device *xe) in xe_sriov_pf_service_init()
41 static int pf_negotiate_version(struct xe_device *xe, in pf_negotiate_version()
87 static void pf_connect(struct xe_device *xe, u32 vfid, u32 major, u32 minor) in pf_connect()
96 static void pf_disconnect(struct xe_device *xe, u32 vfid) in pf_disconnect()
117 bool xe_sriov_pf_service_is_negotiated(struct xe_device *xe, u32 vfid, u32 major, u32 minor) in xe_sriov_pf_service_is_negotiated()
140 int xe_sriov_pf_service_handshake_vf(struct xe_device *xe, u32 vfid, in xe_sriov_pf_service_handshake_vf()
176 void xe_sriov_pf_service_reset_vf(struct xe_device *xe, unsigned int vfid) in xe_sriov_pf_service_reset_vf()
194 void xe_sriov_pf_service_print_versions(struct xe_device *xe, struct drm_printer *p) in xe_sriov_pf_service_print_versions()
H A Dxe_query.c50 static size_t calc_hw_engine_info_size(struct xe_device *xe) in calc_hw_engine_info_size() argument
115 query_engine_cycles(struct xe_device *xe, in query_engine_cycles() argument
187 static int query_engines(struct xe_device *xe, in query_engines() argument
236 calc_mem_regions_size(struct xe_device * xe) calc_mem_regions_size() argument
248 query_mem_regions(struct xe_device * xe,struct drm_xe_device_query * query) query_mem_regions() argument
316 query_config(struct xe_device * xe,struct drm_xe_device_query * query) query_config() argument
362 query_gt_list(struct xe_device * xe,struct drm_xe_device_query * query) query_gt_list() argument
435 query_hwconfig(struct xe_device * xe,struct drm_xe_device_query * query) query_hwconfig() argument
465 calc_topo_query_size(struct xe_device * xe) calc_topo_query_size() argument
503 query_gt_topology(struct xe_device * xe,struct drm_xe_device_query * query) query_gt_topology() argument
563 query_uc_fw_version(struct xe_device * xe,struct drm_xe_device_query * query) query_uc_fw_version() argument
635 calc_oa_unit_query_size(struct xe_device * xe) calc_oa_unit_query_size() argument
652 query_oa_units(struct xe_device * xe,struct drm_xe_device_query * query) query_oa_units() argument
713 query_pxp_status(struct xe_device * xe,struct drm_xe_device_query * query) query_pxp_status() argument
740 query_eu_stall(struct xe_device * xe,struct drm_xe_device_query * query) query_eu_stall() argument
796 struct xe_device *xe = to_xe_device(dev); xe_query_ioctl() local
[all...]
H A Dxe_late_bind_fw.c58 struct xe_device *xe = late_bind_fw_to_xe(lb_fw); in parse_cpd_header() local
115 struct xe_device *xe = late_bind_fw_to_xe(lb_fw); in parse_lb_layout() local
189 struct xe_device *xe = late_bind_to_xe(late_bind); in xe_late_bind_fw_num_fans() local
198 struct xe_device *xe = late_bind_to_xe(late_bind); in xe_late_bind_wait_for_worker_completion() local
217 struct xe_device *xe = late_bind_to_xe(late_bind); in xe_late_bind_work() local
274 struct xe_device *xe = late_bind_to_xe(late_bind); in xe_late_bind_fw_load() local
296 struct xe_device *xe = late_bind_to_xe(late_bind); in __xe_late_bind_fw_init() local
386 struct xe_device *xe = kdev_to_xe_device(xe_kdev); in xe_late_bind_component_bind() local
398 struct xe_device *xe = kdev_to_xe_device(xe_kdev); in xe_late_bind_component_unbind() local
414 struct xe_device *xe = late_bind_to_xe(late_bind); in xe_late_bind_remove() local
[all …]
H A Dxe_pmu.c93 struct xe_device *xe = container_of(event->pmu, typeof(*xe), pmu.base); in event_to_gt() local
101 struct xe_device *xe = container_of(event->pmu, typeof(*xe), pmu.base); in event_to_hwe() local
135 struct xe_device *xe = container_of(event->pmu, typeof(*xe), pmu.base); in event_gt_forcewake() local
163 struct xe_device *xe in event_supported() local
175 struct xe_device *xe = container_of(event->pmu, typeof(*xe), pmu.base); event_param_valid() local
216 struct xe_device *xe = container_of(event->pmu, typeof(*xe), pmu.base); xe_pmu_event_destroy() local
234 struct xe_device *xe = container_of(event->pmu, typeof(*xe), pmu.base); xe_pmu_event_init() local
338 struct xe_device *xe = container_of(event->pmu, typeof(*xe), pmu.base); xe_pmu_event_read() local
361 struct xe_device *xe = container_of(event->pmu, typeof(*xe), pmu.base); xe_pmu_event_start() local
373 struct xe_device *xe = container_of(event->pmu, typeof(*xe), pmu.base); xe_pmu_event_stop() local
385 struct xe_device *xe = container_of(event->pmu, typeof(*xe), pmu.base); xe_pmu_event_add() local
499 struct xe_device *xe = container_of(pmu, typeof(*xe), pmu); set_supported_events() local
521 struct xe_device *xe = container_of(pmu, typeof(*xe), pmu); xe_pmu_unregister() local
540 struct xe_device *xe = container_of(pmu, typeof(*xe), pmu); xe_pmu_register() local
[all...]
H A Dxe_pci.c500 find_subplatform(const struct xe_device *xe, const struct xe_device_desc *desc) in find_subplatform()
518 static int read_gmdid(struct xe_device *xe, enum xe_gmdid_type type, u32 *ver, u32 *revid) in read_gmdid()
606 static int handle_gmdid(struct xe_device *xe, in handle_gmdid()
649 static int xe_info_init_early(struct xe_device *xe, in xe_info_init_early()
704 static void xe_info_probe_tile_count(struct xe_device *xe) in xe_info_probe_tile_count()
743 struct xe_device *xe = tile_to_xe(tile); in alloc_primary_gt() local
773 struct xe_device *xe = tile_to_xe(tile); in alloc_media_gt() local
802 static int xe_info_init(struct xe_device *xe, in xe_info_init()
919 struct xe_device *xe = pdev_to_xe_device(pdev); in xe_pci_remove() local
954 struct xe_device *xe; in xe_pci_probe() local
[all …]
H A Dxe_vram.c51 struct pci_dev *pdev = to_pci_dev(xe->drm.dev); in resize_bar() argument
73 xe_vram_resize_bar(struct xe_device * xe) xe_vram_resize_bar() argument
162 determine_lmem_bar_size(struct xe_device * xe,struct xe_vram_region * lmem_bar) determine_lmem_bar_size() argument
187 struct xe_device *xe = gt_to_xe(gt); get_flat_ccs_offset() local
245 struct xe_device *xe = tile_to_xe(tile); tile_vram_size() local
298 struct xe_device *xe = arg; vram_fini() local
308 xe_vram_region_alloc(struct xe_device * xe,u8 id,u32 placement) xe_vram_region_alloc() argument
328 print_vram_region_info(struct xe_device * xe,struct xe_vram_region * vram) print_vram_region_info() argument
343 vram_region_init(struct xe_device * xe,struct xe_vram_region * vram,struct xe_vram_region * lmem_bar,u64 offset,u64 usable_size,u64 region_size,resource_size_t remain_io_size) vram_region_init() argument
377 xe_vram_probe(struct xe_device * xe) xe_vram_probe() argument
[all...]
H A Dxe_device_sysfs.c40 struct xe_device *xe = pdev_to_xe_device(pdev); in vram_d3cold_threshold_show() local
55 struct xe_device *xe = pdev_to_xe_device(pdev); vram_d3cold_threshold_store() local
86 struct xe_device *xe = pdev_to_xe_device(to_pci_dev(dev)); lb_fan_control_version_show() local
125 struct xe_device *xe = pdev_to_xe_device(to_pci_dev(dev)); lb_voltage_regulator_version_show() local
171 struct xe_device *xe = pdev_to_xe_device(to_pci_dev(dev)); late_bind_attr_is_visible() local
241 struct xe_device *xe = pdev_to_xe_device(pdev); auto_link_downgrade_capable_show() local
257 struct xe_device *xe = pdev_to_xe_device(pdev); auto_link_downgrade_status_show() local
282 xe_device_sysfs_init(struct xe_device * xe) xe_device_sysfs_init() argument
[all...]
H A Dxe_pagefault.c142 static struct xe_vm *xe_pagefault_asid_to_vm(struct xe_device *xe, u32 asid) in xe_pagefault_asid_to_vm()
160 struct xe_device *xe = gt_to_xe(gt); in xe_pagefault_service() local
277 static int xe_pagefault_queue_init(struct xe_device *xe, in xe_pagefault_queue_init()
327 struct xe_device *xe = arg; in xe_pagefault_fini() local
340 int xe_pagefault_init(struct xe_device *xe) in xe_pagefault_init()
366 static void xe_pagefault_queue_reset(struct xe_device *xe, struct xe_gt *gt, in xe_pagefault_queue_reset()
396 void xe_pagefault_reset(struct xe_device *xe, struct xe_gt *gt) in xe_pagefault_reset()
422 int xe_pagefault_handler(struct xe_device *xe, struct xe_pagefault *pf) in xe_pagefault_handler()
H A Dxe_exec_queue.c85 static int alloc_dep_schedulers(struct xe_device *xe, struct xe_exec_queue *q) in alloc_dep_schedulers()
118 static struct xe_exec_queue *__xe_exec_queue_alloc(struct xe_device *xe, in __xe_exec_queue_alloc()
257 struct xe_exec_queue *xe_exec_queue_create(struct xe_device *xe, struct xe_vm *vm, in xe_exec_queue_create()
300 struct xe_exec_queue *xe_exec_queue_create_class(struct xe_device *xe, struct xe_gt *gt, in xe_exec_queue_create_class()
342 struct xe_exec_queue *xe_exec_queue_create_bind(struct xe_device *xe, in xe_exec_queue_create_bind()
467 xe_exec_queue_device_get_max_priority(struct xe_device *xe) in xe_exec_queue_device_get_max_priority()
473 static int exec_queue_set_priority(struct xe_device *xe, struct xe_exec_queue *q, in exec_queue_set_priority()
538 static int exec_queue_set_timeslice(struct xe_device *xe, struct xe_exec_queue *q, in exec_queue_set_timeslice()
555 exec_queue_set_pxp_type(struct xe_device *xe, struct xe_exec_queue *q, u64 value) in exec_queue_set_pxp_type()
580 static int exec_queue_user_ext_set_property(struct xe_device *xe, in exec_queue_user_ext_set_property()
[all …]
H A Dxe_guc.c50 struct xe_device *xe = guc_to_xe(guc); guc_bo_ggtt_addr() local
84 struct xe_device *xe = guc_to_xe(guc); guc_ctl_feature_flags() local
179 struct xe_device *xe = guc_to_xe(guc); guc_ctl_wa_flags() local
221 struct xe_device *xe = guc_to_xe(guc); guc_ctl_devid() local
289 struct xe_device *xe = gt_to_xe(gt); guc_action_register_g2g_buffer() local
309 struct xe_device *xe = gt_to_xe(gt); guc_action_deregister_g2g_buffer() local
399 struct xe_device *xe = gt_to_xe(near_gt); guc_g2g_register() local
437 struct xe_device *xe = gt_to_xe(gt); guc_g2g_size() local
446 xe_guc_g2g_wanted(struct xe_device * xe) xe_guc_g2g_wanted() argument
459 struct xe_device *xe = gt_to_xe(gt); guc_g2g_alloc() local
513 struct xe_device *xe = gt_to_xe(gt); guc_g2g_start() local
587 struct xe_device *xe = guc_to_xe(guc); supports_dynamic_ics() local
614 struct xe_device *xe = guc_to_xe(guc); xe_guc_opt_in_features_enable() local
685 struct xe_device *xe = guc_to_xe(guc); xe_guc_realloc_post_hwconfig() local
724 struct xe_device *xe = guc_to_xe(guc); xe_guc_init_noalloc() local
753 struct xe_device *xe = guc_to_xe(guc); xe_guc_init() local
924 struct xe_device *xe = guc_to_xe(guc); guc_prepare_xfer() local
1338 struct xe_device *xe = guc_to_xe(guc); xe_guc_enable_communication() local
1405 struct xe_device *xe = guc_to_xe(guc); xe_guc_mmio_send_recv() local
1537 struct xe_device *xe = guc_to_xe(guc); guc_self_cfg() local
[all...]
H A Dxe_nvm.c44 static bool xe_nvm_non_posted_erase(struct xe_device *xe) in xe_nvm_non_posted_erase()
54 static bool xe_nvm_writable_override(struct xe_device *xe) in xe_nvm_writable_override()
86 int xe_nvm_init(struct xe_device *xe) in xe_nvm_init()
152 void xe_nvm_fini(struct xe_device *xe) in xe_nvm_fini()
H A Dxe_sriov_pf_helpers.h25 #define xe_sriov_pf_assert_vfid(xe, vfid) \ argument
34 static inline int xe_sriov_pf_get_totalvfs(struct xe_device *xe) in xe_sriov_pf_get_totalvfs() argument
40 xe_sriov_pf_master_mutex(struct xe_device * xe) xe_sriov_pf_master_mutex() argument
[all...]
H A Dxe_sriov_pf.h22 void xe_sriov_pf_print_vfs_summary(struct xe_device *xe, struct drm_printer *p); in xe_sriov_pf_readiness() argument
27 xe_sriov_pf_init_early(struct xe_device * xe) xe_sriov_pf_init_early() argument
32 xe_sriov_pf_debugfs_register(struct xe_device * xe,struct dentry * root) xe_sriov_pf_debugfs_register() argument
[all...]
/linux/drivers/gpu/drm/xe/tests/
H A Dxe_sriov_pf_service_kunit.c19 struct xe_device *xe; in pf_service_test_init() local
45 struct xe_device *xe = test->priv; in pf_negotiate_any() local
58 struct xe_device *xe = test->priv; in pf_negotiate_base_match() local
72 struct xe_device *xe = test->priv; in pf_negotiate_base_newer() local
90 struct xe_device *xe = test->priv; in pf_negotiate_base_next() local
107 struct xe_device *xe = test->priv; in pf_negotiate_base_older() local
122 struct xe_device *xe = test->priv; in pf_negotiate_base_prev() local
133 struct xe_device *xe = test->priv; in pf_negotiate_latest_match() local
147 struct xe_device *xe = test->priv; in pf_negotiate_latest_newer() local
161 struct xe_device *xe = test->priv; in pf_negotiate_latest_next() local
[all …]
H A Dxe_bo.c126 static void ccs_test_run_tile(struct xe_device *xe, struct xe_tile *tile, in ccs_test_run_tile()
171 static int ccs_test_run_device(struct xe_device *xe) in ccs_test_run_device()
204 struct xe_device *xe = test->priv; in xe_ccs_migrate_kunit() local
209 static int evict_test_run_tile(struct xe_device *xe, struct xe_tile *tile, struct kunit *test) in evict_test_run_tile()
348 static int evict_test_run_device(struct xe_device *xe) in evict_test_run_device()
371 struct xe_device *xe = test->priv; in xe_bo_evict_kunit() local
446 static int shrink_test_run_device(struct xe_device *xe) in shrink_test_run_device()
606 struct xe_device *xe = test->priv; in xe_bo_shrink_kunit() local

123456