Home
last modified time | relevance | path

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

1234

/linux/drivers/gpu/drm/xe/
H A Dxe_device.c87 struct xe_device *xe = to_xe_device(dev); in xe_file_open() local
168 struct xe_device *xe = to_xe_device(dev); in xe_file_close() local
224 struct xe_device *xe = to_xe_device(file_priv->minor->dev); in xe_drm_ioctl() local
242 struct xe_device *xe = to_xe_device(file_priv->minor->dev); in xe_drm_compat_ioctl() local
326 struct xe_device *xe = to_xe_device(dev); in xe_pci_barrier_mmap() local
449 bool xe_device_is_admin_only(const struct xe_device *xe) in xe_device_is_admin_only()
458 struct xe_device *xe = to_xe_device(dev); in xe_device_destroy() local
488 struct xe_device *xe; in xe_device_create() local
522 int xe_device_init_early(struct xe_device *xe) in xe_device_init_early()
604 static bool xe_driver_flr_disabled(struct xe_device *xe) in xe_driver_flr_disabled()
[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()
179 xe_sriov_pf_migration_save_consume(struct xe_device *xe, unsigned int vfid) in xe_sriov_pf_migration_save_consume()
201 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()
64 int xe_bo_notifier_prepare_all_pinned(struct xe_device *xe) in xe_bo_notifier_prepare_all_pinned()
92 void xe_bo_notifier_unprepare_all_pinned(struct xe_device *xe) in xe_bo_notifier_unprepare_all_pinned()
115 int xe_bo_evict_all_user(struct xe_device *xe) in xe_bo_evict_all_user()
160 int xe_bo_evict_all(struct xe_device *xe) in xe_bo_evict_all()
226 int xe_bo_restore_early(struct xe_device *xe) in xe_bo_restore_early()
243 int xe_bo_restore_late(struct xe_device *xe) in xe_bo_restore_late()
273 static void xe_bo_pci_dev_remove_pinned(struct xe_device *xe) in xe_bo_pci_dev_remove_pinned()
298 void xe_bo_pci_dev_remove_all(struct xe_device *xe) in xe_bo_pci_dev_remove_all()
322 struct xe_device *xe = arg; in xe_bo_pinned_fini() local
[all …]
H A Dxe_rtp.c28 static bool has_samedia(const struct xe_device *xe) in has_samedia()
34 const struct xe_device *xe; member
50 const struct xe_device *xe = match_ctx->xe; in rule_match_item() local
197 static bool rule_matches_with_err(const struct xe_device *xe, in rule_matches_with_err()
219 static bool rule_matches(const struct xe_device *xe, in rule_matches()
251 struct xe_device *xe, struct xe_gt *gt, in rtp_process_one_sr()
277 struct xe_device **xe) in rtp_get_context()
318 static void rtp_mark_active(struct xe_device *xe, in rtp_mark_active()
353 struct xe_device *xe = NULL; in xe_rtp_process_to_sr() local
399 struct xe_device *xe; in xe_rtp_process() local
[all …]
H A Dxe_bo.c95 static bool resource_is_stolen_vram(struct xe_device *xe, struct ttm_resource *res) in resource_is_stolen_vram() argument
167 mem_type_to_migrate(struct xe_device *xe, u32 mem_type) in mem_type_to_migrate() argument
176 static void try_add_system(struct xe_device *xe, struct xe_bo *bo, in try_add_system() argument
209 static u8 vram_bo_flag_to_tile_id(struct xe_device *xe, u32 vram_bo_flag) in vram_bo_flag_to_tile_id() argument
217 bo_vram_flags_to_vram_placement(struct xe_device * xe,u32 bo_flags,u32 vram_flag,enum ttm_bo_type type) bo_vram_flags_to_vram_placement() argument
230 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
261 try_add_vram(struct xe_device * xe,struct xe_bo * bo,u32 bo_flags,enum ttm_bo_type type,u32 * c) try_add_vram() argument
273 try_add_stolen(struct xe_device * xe,struct xe_bo * bo,u32 bo_flags,u32 * c) try_add_stolen() argument
288 __xe_bo_placement_for_flags(struct xe_device * xe,struct xe_bo * bo,u32 bo_flags,enum ttm_bo_type type) __xe_bo_placement_for_flags() argument
308 xe_bo_placement_for_flags(struct xe_device * xe,struct xe_bo * bo,u32 bo_flags,enum ttm_bo_type type) xe_bo_placement_for_flags() argument
318 struct xe_device *xe = container_of(tbo->bdev, typeof(*xe), ttm); xe_evict_flags() local
382 xe_tt_map_sg(struct xe_device * xe,struct ttm_tt * tt) xe_tt_map_sg() argument
414 xe_tt_unmap_sg(struct xe_device * xe,struct ttm_tt * tt) xe_tt_unmap_sg() argument
438 xe_ttm_tt_account_add(struct xe_device * xe,struct ttm_tt * tt) xe_ttm_tt_account_add() argument
448 xe_ttm_tt_account_subtract(struct xe_device * xe,struct ttm_tt * tt) xe_ttm_tt_account_subtract() argument
462 struct xe_device *xe = ttm_to_xe_device(ttm_dev); update_global_total_pages() local
475 struct xe_device *xe = xe_bo_device(bo); xe_ttm_tt_create() local
582 struct xe_device *xe = ttm_to_xe_device(ttm_dev); xe_ttm_tt_unpopulate() local
601 xe_ttm_resource_visible(struct xe_device * xe,struct ttm_resource * mem) xe_ttm_resource_visible() argument
635 struct xe_device *xe = ttm_to_xe_device(bdev); xe_ttm_io_mem_reserve() local
669 xe_bo_trigger_rebind(struct xe_device * xe,struct xe_bo * bo,const struct ttm_operation_ctx * ctx) xe_bo_trigger_rebind() argument
751 struct xe_device *xe = ttm_to_xe_device(ttm_bo->bdev); xe_bo_move_dmabuf() local
809 struct xe_device *xe = ttm_to_xe_device(ttm_bo->bdev); xe_bo_move_notify() local
859 struct xe_device *xe = ttm_to_xe_device(ttm_bo->bdev); xe_bo_set_purgeable_shrinker() local
895 struct xe_device *xe = xe_bo_device(bo); xe_bo_set_purgeable_state() local
967 struct xe_device *xe = ttm_to_xe_device(ttm_bo->bdev); xe_bo_move() local
1213 struct xe_device *xe = ttm_to_xe_device(bo->bdev); xe_bo_shrink_purge() local
1292 struct xe_device *xe = ttm_to_xe_device(bo->bdev); xe_bo_shrink() local
1354 struct xe_device *xe = ttm_to_xe_device(bo->ttm.bdev); xe_bo_notifier_prepare_pinned() local
1423 struct xe_device *xe = xe_bo_device(bo); xe_bo_evict_pinned_copy() local
1491 struct xe_device *xe = ttm_to_xe_device(bo->ttm.bdev); xe_bo_evict_pinned() local
1561 struct xe_device *xe = ttm_to_xe_device(bo->ttm.bdev); xe_bo_restore_pinned() local
1682 struct xe_device *xe = ttm_to_xe_device(ttm_bo->bdev); xe_ttm_bo_lock_in_destructor() local
1787 struct xe_device *xe = ttm_to_xe_device(ttm_bo->bdev); xe_ttm_access_memory() local
1854 struct xe_device *xe = ttm_to_xe_device(ttm_bo->bdev); xe_ttm_bo_destroy() local
1972 __xe_bo_cpu_fault(struct vm_fault * vmf,struct xe_device * xe,struct xe_bo * bo) __xe_bo_cpu_fault() argument
2024 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
2094 struct xe_device *xe = to_xe_device(ddev); xe_bo_cpu_fault() local
2201 struct xe_device *xe = xe_bo_device(bo); xe_bo_vm_access() local
2328 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 dma_buf * dma_buf,struct drm_exec * exec) xe_bo_init_locked() argument
2487 __xe_bo_fixed_placement(struct xe_device * xe,struct xe_bo * bo,enum ttm_bo_type type,u32 flags,u64 start,u64 end,u64 size) __xe_bo_fixed_placement() argument
2529 __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
2627 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
2636 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
2663 xe_bo_debug_mixed_mode_cur_index_advance(struct xe_device * xe,struct xe_bo * bo) xe_bo_debug_mixed_mode_cur_index_advance() argument
2683 get_flag_from_cur_index_in_mixed_mode(struct xe_device * xe,size_t * align_size,int * err) get_flag_from_cur_index_in_mixed_mode() argument
2717 xe_bo_apply_debug_page_size_policy(struct xe_device * xe,u32 * bo_flags,size_t * size) xe_bo_apply_debug_page_size_policy() argument
2788 xe_bo_apply_debug_page_size_policy(struct xe_device * xe,u32 * bo_flags,size_t * size) xe_bo_apply_debug_page_size_policy() argument
2795 xe_bo_debug_mixed_mode_cur_index_advance(struct xe_device * xe,struct xe_bo * bo) xe_bo_debug_mixed_mode_cur_index_advance() argument
2815 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
2863 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
2895 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
2957 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
3000 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
3026 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
3038 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
3061 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
3087 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
3115 struct xe_device *xe = ttm_to_xe_device(res->bo->bdev); vram_region_gpu_offset() local
3143 struct xe_device *xe = xe_bo_device(bo); xe_bo_pin_external() local
3187 struct xe_device *xe = xe_bo_device(bo); xe_bo_pin() local
3244 struct xe_device *xe = xe_bo_device(bo); xe_bo_unpin_external() local
3269 struct xe_device *xe = xe_bo_device(bo); xe_bo_unpin() local
3355 struct xe_device *xe = xe_bo_device(bo); __xe_bo_addr() local
3387 struct xe_device *xe = ttm_to_xe_device(bo->ttm.bdev); xe_bo_vmap() local
3435 gem_create_set_pxp_type(struct xe_device * xe,struct xe_bo * bo,u64 value) gem_create_set_pxp_type() argument
3455 gem_create_user_ext_set_property(struct xe_device * xe,struct xe_bo * bo,u64 extension) gem_create_user_ext_set_property() argument
3490 gem_create_user_extensions(struct xe_device * xe,struct xe_bo * bo,u64 extensions,int ext_number) gem_create_user_extensions() argument
3525 struct xe_device *xe = to_xe_device(dev); xe_gem_create_ioctl() local
3668 struct xe_device *xe = to_xe_device(dev); xe_gem_mmap_offset_ioctl() local
3723 struct xe_device *xe = xe_bo_device(bo); xe_bo_decompress() local
3856 struct xe_device *xe = ttm_to_xe_device(bo->ttm.bdev); xe_bo_migrate() local
3938 struct xe_device *xe = xe_bo_device(bo); xe_bo_needs_ccs_pages() local
4060 struct xe_device *xe = to_xe_device(dev); xe_bo_dumb_create() local
[all...]
H A Dxe_sriov_vf_ccs.c123 static u64 get_ccs_bb_pool_size(struct xe_device *xe) in get_ccs_bb_pool_size()
147 struct xe_device *xe = tile_to_xe(tile); in alloc_bb_pool() local
214 void xe_sriov_vf_ccs_rebase(struct xe_device *xe) in xe_sriov_vf_ccs_rebase()
257 int xe_sriov_vf_ccs_register_context(struct xe_device *xe) in xe_sriov_vf_ccs_register_context()
283 static bool vf_migration_ccs_bb_needed(struct xe_device *xe) in vf_migration_ccs_bb_needed()
298 static bool vf_migration_ccs_bb_support_check(struct xe_device *xe) in vf_migration_ccs_bb_support_check()
336 int xe_sriov_vf_ccs_init(struct xe_device *xe) in xe_sriov_vf_ccs_init()
399 struct xe_device *xe = gt_to_xe(ctx->mig_q->gt); in xe_sriov_vf_ccs_rw_update_bb_addr() local
420 struct xe_device *xe = xe_bo_device(bo); in xe_sriov_vf_ccs_attach_bo() local
468 struct xe_device *xe = xe_bo_device(bo); in xe_sriov_vf_ccs_detach_bo() 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_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_i2c.c164 bool xe_i2c_present(struct xe_device *xe) in xe_i2c_present() argument
169 static bool xe_i2c_irq_present(struct xe_device *xe) in xe_i2c_irq_present() argument
183 xe_i2c_irq_handler(struct xe_device * xe,u32 master_ctl) xe_i2c_irq_handler() argument
191 xe_i2c_irq_reset(struct xe_device * xe) xe_i2c_irq_reset() argument
202 xe_i2c_irq_postinstall(struct xe_device * xe) xe_i2c_irq_postinstall() argument
293 xe_i2c_pm_suspend(struct xe_device * xe) xe_i2c_pm_suspend() argument
304 xe_i2c_pm_resume(struct xe_device * xe,bool d3cold) xe_i2c_pm_resume() argument
321 struct xe_device *xe = tile_to_xe(i2c->mmio->tile); xe_i2c_remove() local
345 xe_i2c_probe(struct xe_device * xe) xe_i2c_probe() argument
[all...]
H A Dxe_pagefault.c156 static struct xe_vm *xe_pagefault_asid_to_vm(struct xe_device *xe, u32 asid) in xe_pagefault_asid_to_vm()
174 struct xe_device *xe = gt_to_xe(gt); in xe_pagefault_service() local
267 static void xe_pagefault_save_to_vm(struct xe_device *xe, struct xe_pagefault *pf) in xe_pagefault_save_to_vm()
296 struct xe_device *xe = pf_queue->xe; in xe_pagefault_queue_work() local
340 static int xe_pagefault_queue_init(struct xe_device *xe, in xe_pagefault_queue_init()
390 struct xe_device *xe = arg; in xe_pagefault_fini() local
403 int xe_pagefault_init(struct xe_device *xe) in xe_pagefault_init()
429 static void xe_pagefault_queue_reset(struct xe_device *xe, struct xe_gt *gt, in xe_pagefault_queue_reset()
459 void xe_pagefault_reset(struct xe_device *xe, struct xe_gt *gt) in xe_pagefault_reset()
485 int xe_pagefault_handler(struct xe_device *xe, struct xe_pagefault *pf) in xe_pagefault_handler()
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 = container_of(pmu, typeof(*xe), pmu); in event_supported() local
175 struct xe_device *xe = container_of(event->pmu, typeof(*xe), pmu.base); in event_param_valid() local
216 struct xe_device *xe = container_of(event->pmu, typeof(*xe), pmu.base); in xe_pmu_event_destroy() local
234 struct xe_device *xe = container_of(event->pmu, typeof(*xe), pmu.base); in xe_pmu_event_init() local
338 struct xe_device *xe = container_of(event->pmu, typeof(*xe), pmu.base); in xe_pmu_event_read() local
361 struct xe_device *xe = container_of(event->pmu, typeof(*xe), pmu.base); in xe_pmu_event_start() local
373 struct xe_device *xe = container_of(event->pmu, typeof(*xe), pmu.base); in xe_pmu_event_stop() local
[all …]
H A Dxe_vram.c41 static int determine_lmem_bar_size(struct xe_device *xe, struct xe_vram_region *lmem_bar) in determine_lmem_bar_size()
66 struct xe_device *xe = gt_to_xe(gt); in get_flat_ccs_offset() local
146 struct xe_device *xe = tile_to_xe(tile); in tile_vram_size() local
195 struct xe_device *xe = arg; in vram_fini() local
208 struct xe_vram_region *xe_vram_region_alloc(struct xe_device *xe, u8 id, u32 placement) in xe_vram_region_alloc()
228 static void print_vram_region_info(struct xe_device *xe, struct xe_vram_region *vram) in print_vram_region_info()
243 static int vram_region_init(struct xe_device *xe, struct xe_vram_region *vram, in vram_region_init()
279 struct xe_device *xe = ttm_to_xe_device(res->bo->bdev); in xe_map_resource_to_region() local
298 int xe_vram_probe(struct xe_device *xe) in xe_vram_probe()
H A Dxe_i2c.h60 static inline int xe_i2c_probe(struct xe_device *xe) { return 0; } in xe_i2c_probe()
61 static inline bool xe_i2c_present(struct xe_device *xe) { return false; } in xe_i2c_present()
62 static inline void xe_i2c_irq_handler(struct xe_device *xe, u32 master_ctl) { } in xe_i2c_irq_handler()
63 static inline void xe_i2c_irq_postinstall(struct xe_device *xe) { } in xe_i2c_irq_postinstall()
64 static inline void xe_i2c_irq_reset(struct xe_device *xe) { } in xe_i2c_irq_reset()
65 static inline void xe_i2c_pm_suspend(struct xe_device *xe) { } in xe_i2c_pm_suspend()
66 static inline void xe_i2c_pm_resume(struct xe_device *xe, bool d3cold) { } in xe_i2c_pm_resume()
H A Dxe_sysctrl.c34 struct xe_device *xe = arg; in sysctrl_fini() local
44 struct xe_device *xe = sc_to_xe(sc); in xe_sysctrl_work() local
59 int xe_sysctrl_init(struct xe_device *xe) in xe_sysctrl_init()
100 void xe_sysctrl_irq_handler(struct xe_device *xe, u32 master_ctl) in xe_sysctrl_irq_handler()
118 void xe_sysctrl_pm_resume(struct xe_device *xe) in xe_sysctrl_pm_resume()
H A Dxe_hw_engine.c311 static bool xe_hw_engine_match_fixed_cslice_mode(const struct xe_device *xe, in xe_hw_engine_match_fixed_cslice_mode()
326 static bool xe_rtp_cfeg_wmtp_disabled(const struct xe_device *xe, in xe_rtp_cfeg_wmtp_disabled()
382 struct xe_device *xe = gt_to_xe(gt); in xe_hw_engine_setup_reg_lrc() local
402 struct xe_device *xe = gt_to_xe(gt); in ring_cmd_cctl_val() local
691 struct xe_device *xe = gt_to_xe(gt); in hw_engine_init() local
737 struct xe_device *xe = gt_to_xe(gt); in hw_engine_setup_logical_and_paging_mapping() local
813 struct xe_device *xe = gt_to_xe(gt); in read_media_fuses() local
880 struct xe_device *xe = gt_to_xe(gt); in read_copy_fuses() local
980 struct xe_device *xe = gt_to_xe(gt); in check_sw_disable() local
1091 struct xe_device *xe = gt_to_xe(hwe->gt); in xe_hw_engine_snapshot_capture() local
[all …]
H A Dxe_vm_madvise.c94 static void madvise_preferred_mem_loc(struct xe_device *xe, struct xe_vm *vm, in madvise_preferred_mem_loc()
127 static void madvise_atomic(struct xe_device *xe, struct xe_vm *vm, in madvise_atomic()
169 static void madvise_pat_index(struct xe_device *xe, struct xe_vm *vm, in madvise_pat_index()
200 static void madvise_purgeable(struct xe_device *xe, struct xe_vm *vm, in madvise_purgeable()
349 static bool madvise_args_are_sane(struct xe_device *xe, const struct drm_xe_madvise *args) in madvise_args_are_sane()
443 struct xe_device *xe = vm->xe; in xe_madvise_details_init() local
496 static bool check_pat_args_are_sane(struct xe_device *xe, in check_pat_args_are_sane()
538 struct xe_device *xe = vm->xe; in check_bo_args_are_sane() local
583 struct xe_device *xe = to_xe_device(dev); in xe_vm_madvise_ioctl() local
H A Dxe_gsc_proxy.c206 static u32 emit_proxy_header(struct xe_device *xe, struct iosys_map *map, u32 offset) in emit_proxy_header()
224 struct xe_device *xe = gt_to_xe(gt); in proxy_query() local
380 struct xe_device *xe = kdev_to_xe_device(xe_kdev); in xe_gsc_proxy_component_bind() local
395 struct xe_device *xe = kdev_to_xe_device(xe_kdev); in xe_gsc_proxy_component_unbind() local
415 struct xe_device *xe = gt_to_xe(gt); in proxy_channel_alloc() local
441 struct xe_device *xe = gt_to_xe(gt); in xe_gsc_proxy_stop() local
461 struct xe_device *xe = gt_to_xe(gt); in xe_gsc_proxy_remove() local
494 struct xe_device *xe = tile_to_xe(tile); in xe_gsc_proxy_init() local
H A Dxe_heci_gsc.c108 static int heci_gsc_irq_setup(struct xe_device *xe) in heci_gsc_irq_setup()
126 static int heci_gsc_add_device(struct xe_device *xe, const struct heci_gsc_def *def) in heci_gsc_add_device()
171 int xe_heci_gsc_init(struct xe_device *xe) in xe_heci_gsc_init()
210 void xe_heci_gsc_irq_handler(struct xe_device *xe, u32 iir) in xe_heci_gsc_irq_handler()
230 void xe_heci_csc_irq_handler(struct xe_device *xe, u32 iir) in xe_heci_csc_irq_handler()
H A Dxe_wopcm.c87 static bool __check_layout(struct xe_device *xe, u32 wopcm_size, in __check_layout()
138 static int __wopcm_init_regs(struct xe_device *xe, struct xe_gt *gt, in __wopcm_init_regs()
180 u32 xe_wopcm_size(struct xe_device *xe) in xe_wopcm_size()
192 static u32 max_wopcm_size(struct xe_device *xe) in max_wopcm_size()
212 struct xe_device *xe = wopcm_to_xe(wopcm); in xe_wopcm_init() local
H A Dxe_nvm.c44 static bool xe_nvm_non_posted_erase(struct xe_device *xe) in xe_nvm_non_posted_erase()
58 static bool xe_nvm_writable_override(struct xe_device *xe) in xe_nvm_writable_override()
104 struct xe_device *xe = arg; in xe_nvm_fini() local
123 int xe_nvm_init(struct xe_device *xe) in xe_nvm_init()
H A Dxe_mem_pool.c73 struct xe_device *xe = tile_to_xe(tile); in pool_shadow_init() local
120 struct xe_device *xe = tile_to_xe(tile); in xe_mem_pool_init() local
193 struct xe_device *xe = tile_to_xe(tile); in xe_mem_pool_sync() local
239 struct xe_device *xe = tile_to_xe(tile); in xe_mem_pool_sync_shadow_locked() local
297 struct xe_device *xe = tile_to_xe(tile); in xe_mem_pool_bo_flush_write() local
317 struct xe_device *xe = tile_to_xe(tile); in xe_mem_pool_bo_sync_read() local
/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_migrate.c16 static bool sanity_fence_failed(struct xe_device *xe, struct dma_fence *fence, in sanity_fence_failed()
38 static int run_sanity_job(struct xe_migrate *m, struct xe_device *xe, in run_sanity_job()
76 struct xe_device *xe = tile_to_xe(m->tile); in test_copy() local
190 struct xe_device *xe = tile_to_xe(tile); in xe_migrate_sanity_test() local
341 static int migrate_test_run_device(struct xe_device *xe) in migrate_test_run_device()
363 struct xe_device *xe = test->priv; in xe_migrate_sanity_kunit() local
374 struct xe_device *xe = gt_to_xe(gt); in blt_copy() local
494 static void test_migrate(struct xe_device *xe, struct xe_tile *tile, in test_migrate()
582 static void test_clear(struct xe_device *xe, struct xe_tile *tile, in test_clear()
637 static void validate_ccs_test_run_tile(struct xe_device *xe, struct xe_tile *tile, in validate_ccs_test_run_tile()
[all …]
/linux/drivers/gpu/drm/xe/display/
H A Dxe_stolen.c12 struct xe_device *xe; member
19 struct xe_device *xe = node->xe; in xe_stolen_insert_node_in_range() local
54 struct xe_device *xe = to_xe_device(drm); in xe_stolen_initialized() local
74 struct xe_device *xe = node->xe; in xe_stolen_node_address() local
86 struct xe_device *xe = to_xe_device(drm); in xe_stolen_node_alloc() local
H A Dxe_hdcp_gsc.c27 struct xe_device *xe; member
37 struct xe_device *xe = to_xe_device(drm); in intel_hdcp_gsc_check_status() local
68 static int intel_hdcp_gsc_initialize_message(struct xe_device *xe, in intel_hdcp_gsc_initialize_message()
102 struct xe_device *xe = to_xe_device(drm); in intel_hdcp_gsc_context_alloc() local
133 static int xe_gsc_send_sync(struct xe_device *xe, in xe_gsc_send_sync()
163 struct xe_device *xe = gsc_context->xe; in intel_hdcp_gsc_msg_send() local

1234