Home
last modified time | relevance | path

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

1234

/linux/drivers/gpu/drm/xe/
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_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_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_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
617 struct xe_device *xe = gt_to_xe(gt); in hw_engine_init() local
663 struct xe_device *xe = gt_to_xe(gt); in hw_engine_setup_logical_and_paging_mapping() local
739 struct xe_device *xe = gt_to_xe(gt); in read_media_fuses() local
806 struct xe_device *xe = gt_to_xe(gt); in read_copy_fuses() local
906 struct xe_device *xe = gt_to_xe(gt); in check_sw_disable() local
1017 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
H A Dxe_gt_throttle.c86 struct xe_device *xe = gt_to_xe(gt); in xe_gt_throttle_get_limit_reasons() local
124 struct xe_device *xe = gt_to_xe(gt); in reasons_show() local
237 static const struct attribute_group *get_platform_throttle_group(struct xe_device *xe) in get_platform_throttle_group()
250 struct xe_device *xe = gt_to_xe(gt); in gt_throttle_sysfs_fini() local
258 struct xe_device *xe = gt_to_xe(gt); in xe_gt_throttle_init() local
H A Dxe_gsc.c48 struct xe_device *xe = gt_to_xe(gt); in memcpy_fw() local
115 static u32 emit_version_query_msg(struct xe_device *xe, struct iosys_map *map, u32 wr_offset) in emit_version_query_msg()
132 struct xe_device *xe = gt_to_xe(gt); in query_compatibility_version() local
205 struct xe_device *xe = gt_to_xe(gt); in gsc_upload() local
354 struct xe_device *xe = gt_to_xe(gt); in gsc_work() local
460 struct xe_device *xe = gt_to_xe(gt); in xe_gsc_init_post_hwconfig() local
514 struct xe_device *xe = gt_to_xe(gt); in xe_gsc_load_start() local
H A Dxe_wa.c834 void xe_wa_process_device_oob(struct xe_device *xe) in xe_wa_process_device_oob()
918 int xe_wa_device_init(struct xe_device *xe) in xe_wa_device_init()
942 struct xe_device *xe = gt_to_xe(gt); in xe_wa_gt_init() local
968 void xe_wa_device_dump(struct xe_device *xe, struct drm_printer *p) in xe_wa_device_dump()
H A Dxe_shrinker.c27 struct xe_device *xe; member
57 static s64 __xe_shrinker_walk(struct xe_device *xe, in __xe_shrinker_walk()
102 static s64 xe_shrinker_walk(struct xe_device *xe, in xe_shrinker_walk()
169 struct xe_device *xe = shrinker->xe; in xe_shrinker_runtime_pm_get() local
283 int xe_shrinker_create(struct xe_device *xe) in xe_shrinker_create()
H A Dxe_drm_client.c155 struct xe_device *xe = ttm_to_xe_device(bo->ttm.bdev); in xe_drm_client_remove_bo() local
282 static struct xe_hw_engine *any_engine(struct xe_device *xe) in any_engine()
302 static struct xe_force_wake_ref force_wake_get_any_engine(struct xe_device *xe, in force_wake_get_any_engine()
328 struct xe_device *xe = xef->xe; in show_run_ticks() 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_kunit_helpers.c36 struct xe_device *xe; in xe_kunit_helper_alloc_xe_device() local
73 struct xe_device *xe; in xe_kunit_helper_xe_device_test_init() local
117 struct xe_device *xe = xe_device_const_cast(test->param_value); in xe_kunit_helper_xe_device_live_test_init() local
H A Dxe_rtp_test.c83 static bool match_yes(const struct xe_device *xe, const struct xe_gt *gt, in match_yes()
89 static bool match_no(const struct xe_device *xe, const struct xe_gt *gt, in match_no()
272 struct xe_device *xe = test->priv; in xe_rtp_rules_tests() local
532 struct xe_device *xe = test->priv; in xe_rtp_process_to_sr_tests() local
652 struct xe_device *xe = test->priv; in xe_rtp_process_tests() local
686 struct xe_device *xe; in xe_rtp_test_init() local
711 struct xe_device *xe = test->priv; in xe_rtp_test_exit() local
/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
H A Dxe_display_bo.c34 struct xe_device *xe = to_xe_device(bo->ttm.base.dev); in xe_display_bo_framebuffer_init() local
92 struct xe_device *xe = to_xe_device(drm); in xe_display_bo_framebuffer_lookup() local
123 bool xe_display_bo_fbdev_prefer_stolen(struct xe_device *xe, unsigned int size) in xe_display_bo_fbdev_prefer_stolen()
147 struct xe_device *xe = to_xe_device(drm); in xe_display_bo_fbdev_create() local

1234