| /linux-6.15/drivers/gpu/drm/xe/ |
| H A D | xe_guc.h | 29 int xe_guc_init(struct xe_guc *guc); 31 int xe_guc_post_load_init(struct xe_guc *guc); 32 int xe_guc_reset(struct xe_guc *guc); 33 int xe_guc_upload(struct xe_guc *guc); 36 int xe_guc_suspend(struct xe_guc *guc); 37 void xe_guc_notify(struct xe_guc *guc); 45 void xe_guc_sanitize(struct xe_guc *guc); 47 int xe_guc_reset_prepare(struct xe_guc *guc); 48 void xe_guc_reset_wait(struct xe_guc *guc); 50 void xe_guc_stop(struct xe_guc *guc); [all …]
|
| H A D | xe_guc_submit.h | 13 struct xe_guc; 15 int xe_guc_submit_init(struct xe_guc *guc, unsigned int num_ids); 17 int xe_guc_submit_reset_prepare(struct xe_guc *guc); 18 void xe_guc_submit_reset_wait(struct xe_guc *guc); 19 void xe_guc_submit_stop(struct xe_guc *guc); 20 int xe_guc_submit_start(struct xe_guc *guc); 21 void xe_guc_submit_wedge(struct xe_guc *guc); 23 int xe_guc_read_stopped(struct xe_guc *guc); 24 int xe_guc_sched_done_handler(struct xe_guc *guc, u32 *msg, u32 len); 30 int xe_guc_error_capture_handler(struct xe_guc *guc, u32 *msg, u32 len); [all …]
|
| H A D | xe_guc_capture.h | 15 struct xe_guc; 43 void xe_guc_capture_process(struct xe_guc *guc); 44 int xe_guc_capture_getlist(struct xe_guc *guc, u32 owner, u32 type, 46 int xe_guc_capture_getlistsize(struct xe_guc *guc, u32 owner, u32 type, 48 int xe_guc_capture_getnullheader(struct xe_guc *guc, void **outptr, size_t *size); 49 size_t xe_guc_capture_ads_input_worst_size(struct xe_guc *guc); 57 void xe_guc_capture_steered_list_init(struct xe_guc *guc); 58 void xe_guc_capture_put_matched_nodes(struct xe_guc *guc); 59 int xe_guc_capture_init(struct xe_guc *guc);
|
| H A D | xe_guc.c | 45 static u32 guc_bo_ggtt_addr(struct xe_guc *guc, in guc_bo_ggtt_addr() 574 struct xe_guc *guc = arg; in guc_fini_hw() 629 static int vf_guc_init(struct xe_guc *guc) in vf_guc_init() 646 int xe_guc_init(struct xe_guc *guc) in xe_guc_init() 776 int xe_guc_reset(struct xe_guc *guc) in xe_guc_reset() 1164 int xe_guc_upload(struct xe_guc *guc) in xe_guc_upload() 1236 int xe_guc_suspend(struct xe_guc *guc) in xe_guc_suspend() 1254 void xe_guc_notify(struct xe_guc *guc) in xe_guc_notify() 1462 void xe_guc_sanitize(struct xe_guc *guc) in xe_guc_sanitize() 1490 void xe_guc_stop(struct xe_guc *guc) in xe_guc_stop() [all …]
|
| H A D | xe_guc_engine_activity.h | 12 struct xe_guc; 14 int xe_guc_engine_activity_init(struct xe_guc *guc); 15 bool xe_guc_engine_activity_supported(struct xe_guc *guc); 16 void xe_guc_engine_activity_enable_stats(struct xe_guc *guc); 17 u64 xe_guc_engine_activity_active_ticks(struct xe_guc *guc, struct xe_hw_engine *hwe); 18 u64 xe_guc_engine_activity_total_ticks(struct xe_guc *guc, struct xe_hw_engine *hwe);
|
| H A D | xe_guc_hwconfig.h | 12 struct xe_guc; 14 int xe_guc_hwconfig_init(struct xe_guc *guc); 15 u32 xe_guc_hwconfig_size(struct xe_guc *guc); 16 void xe_guc_hwconfig_copy(struct xe_guc *guc, void *dst); 17 void xe_guc_hwconfig_dump(struct xe_guc *guc, struct drm_printer *p); 18 int xe_guc_hwconfig_lookup_u32(struct xe_guc *guc, u32 attribute, u32 *val);
|
| H A D | xe_guc_engine_activity.c | 37 static struct iosys_map engine_metadata_map(struct xe_guc *guc) in engine_metadata_map() 45 static int allocate_engine_activity_group(struct xe_guc *guc) in allocate_engine_activity_group() 62 static int allocate_engine_activity_buffers(struct xe_guc *guc, in allocate_engine_activity_buffers() 98 static bool is_engine_activity_supported(struct xe_guc *guc) in is_engine_activity_supported() 123 struct xe_guc *guc = &hwe->gt->uc.guc; in hw_engine_to_engine_activity() 197 static u64 get_engine_total_ticks(struct xe_guc *guc, struct xe_hw_engine *hwe) in get_engine_total_ticks() 232 static int enable_engine_activity_stats(struct xe_guc *guc) in enable_engine_activity_stats() 248 static void engine_activity_set_cpu_ts(struct xe_guc *guc) in engine_activity_set_cpu_ts() 306 bool xe_guc_engine_activity_supported(struct xe_guc *guc) in xe_guc_engine_activity_supported() 319 void xe_guc_engine_activity_enable_stats(struct xe_guc *guc) in xe_guc_engine_activity_enable_stats() [all …]
|
| H A D | xe_guc_debugfs.c | 20 static struct xe_guc *node_to_guc(struct drm_info_node *node) in node_to_guc() 27 struct xe_guc *guc = node_to_guc(m->private); in guc_info() 40 struct xe_guc *guc = node_to_guc(m->private); in guc_log() 53 struct xe_guc *guc = node_to_guc(m->private); in guc_log_dmesg() 65 struct xe_guc *guc = node_to_guc(m->private); in guc_ctb() 78 struct xe_guc *guc = node_to_guc(m->private); in guc_pc() 97 void xe_guc_debugfs_register(struct xe_guc *guc, struct dentry *parent) in xe_guc_debugfs_register()
|
| H A D | xe_guc_hwconfig.c | 18 static int send_get_hwconfig(struct xe_guc *guc, u64 ggtt_addr, u32 size) in send_get_hwconfig() 30 static int guc_hwconfig_size(struct xe_guc *guc, u32 *size) in guc_hwconfig_size() 41 static int guc_hwconfig_copy(struct xe_guc *guc) in guc_hwconfig_copy() 52 int xe_guc_hwconfig_init(struct xe_guc *guc) in xe_guc_hwconfig_init() 93 u32 xe_guc_hwconfig_size(struct xe_guc *guc) in xe_guc_hwconfig_size() 98 void xe_guc_hwconfig_copy(struct xe_guc *guc, void *dst) in xe_guc_hwconfig_copy() 108 void xe_guc_hwconfig_dump(struct xe_guc *guc, struct drm_printer *p) in xe_guc_hwconfig_dump() 167 int xe_guc_hwconfig_lookup_u32(struct xe_guc *guc, u32 attribute, u32 *val) in xe_guc_hwconfig_lookup_u32()
|
| H A D | xe_guc_submit.c | 48 static struct xe_guc * 231 struct xe_guc *guc = arg; in guc_submit_fini() 238 struct xe_guc *guc = arg; in guc_submit_wedged_fini() 255 static void primelockdep(struct xe_guc *guc) in primelockdep() 517 struct xe_guc *guc = exec_queue_to_guc(q); in register_exec_queue() 576 struct xe_guc *guc = exec_queue_to_guc(q); in wq_wait_for_space() 604 struct xe_guc *guc = exec_queue_to_guc(q); in wq_noop_append() 624 struct xe_guc *guc = exec_queue_to_guc(q); in wq_item_append() 669 struct xe_guc *guc = exec_queue_to_guc(q); in submit_exec_queue() 723 struct xe_guc *guc = exec_queue_to_guc(q); in guc_exec_queue_run_job() [all …]
|
| H A D | xe_gt_pagefault.h | 12 struct xe_guc; 16 int xe_guc_pagefault_handler(struct xe_guc *guc, u32 *msg, u32 len); 17 int xe_guc_access_counter_notify_handler(struct xe_guc *guc, u32 *msg, u32 len);
|
| H A D | xe_guc_capture.c | 327 struct xe_guc *guc = >->uc.guc; in xe_guc_capture_get_reg_desc_list() 1071 guc_capture_get_prealloc_node(struct xe_guc *guc) in guc_capture_get_prealloc_node() 1436 void xe_guc_capture_process(struct xe_guc *guc) in xe_guc_capture_process() 1443 guc_capture_alloc_one_node(struct xe_guc *guc) in guc_capture_alloc_one_node() 1486 guc_get_max_reglist_count(struct xe_guc *guc) in guc_get_max_reglist_count() 1519 guc_capture_create_prealloc_nodes(struct xe_guc *guc) in guc_capture_create_prealloc_nodes() 1582 struct xe_guc *guc = >->uc.guc; in xe_engine_manual_capture() 1675 struct xe_guc *guc = >->uc.guc; in snapshot_print_by_list_order() 1882 struct xe_guc *guc = &q->gt->uc.guc; in xe_guc_capture_get_matching_and_lock() 1938 struct xe_guc *guc = &q->gt->uc.guc; in xe_engine_snapshot_capture_for_queue() [all …]
|
| H A D | xe_guc_debugfs.h | 10 struct xe_guc; 12 void xe_guc_debugfs_register(struct xe_guc *guc, struct dentry *parent);
|
| H A D | xe_memirq.h | 11 struct xe_guc; 26 int xe_memirq_init_guc(struct xe_memirq *memirq, struct xe_guc *guc);
|
| H A D | xe_gt_tlb_invalidation.h | 14 struct xe_guc; 29 int xe_guc_tlb_invalidation_done_handler(struct xe_guc *guc, u32 *msg, u32 len);
|
| H A D | xe_gt_sriov_vf.c | 36 static int guc_action_vf_reset(struct xe_guc *guc) in guc_action_vf_reset() 54 struct xe_guc *guc = >->uc.guc; in vf_reset_guc_state() 84 static int guc_action_match_version(struct xe_guc *guc, in guc_action_match_version() 146 struct xe_guc *guc = >->uc.guc; in vf_handshake_with_guc() 253 static int guc_action_vf_notify_resfix_done(struct xe_guc *guc) in guc_action_vf_notify_resfix_done() 276 struct xe_guc *guc = >->uc.guc; in xe_gt_sriov_vf_notify_resfix_done() 291 static int guc_action_query_single_klv(struct xe_guc *guc, u32 key, in guc_action_query_single_klv() 373 struct xe_guc *guc = >->uc.guc; in xe_gt_sriov_vf_gmdid() 395 struct xe_guc *guc = >->uc.guc; in vf_get_ggtt_info() 427 struct xe_guc *guc = >->uc.guc; in vf_get_lmem_info() [all …]
|
| H A D | xe_guc_buf.c | 16 static struct xe_guc *cache_to_guc(struct xe_guc_buf_cache *cache) in cache_to_guc() 18 return container_of(cache, struct xe_guc, buf); in cache_to_guc()
|
| H A D | xe_uc_types.h | 19 struct xe_guc guc;
|
| H A D | xe_guc_log.c | 22 static struct xe_guc * 25 return container_of(log, struct xe_guc, log); in log_to_guc() 146 struct xe_guc *guc = log_to_guc(log); in xe_guc_log_snapshot_capture()
|
| H A D | xe_guc_capture_types.h | 12 struct xe_guc;
|
| H A D | xe_memirq.c | 48 static const char *guc_name(struct xe_guc *guc) in guc_name() 337 int xe_memirq_init_guc(struct xe_memirq *memirq, struct xe_guc *guc) in xe_memirq_init_guc() 428 struct xe_guc *guc) in memirq_dispatch_guc()
|
| H A D | xe_guc_types.h | 54 struct xe_guc { struct
|
| H A D | xe_guc_db_mgr.c | 31 static struct xe_guc *dbm_to_guc(struct xe_guc_db_mgr *dbm) in dbm_to_guc() 33 return container_of(dbm, struct xe_guc, dbm); in dbm_to_guc()
|
| H A D | xe_guc_id_mgr.c | 17 static struct xe_guc *idm_to_guc(struct xe_guc_id_mgr *idm) in idm_to_guc() 19 return container_of(idm, struct xe_guc, submission_state.idm); in idm_to_guc()
|
| H A D | xe_gt_sriov_pf_migration.c | 18 static int guc_action_vf_save_restore(struct xe_guc *guc, u32 vfid, u32 opcode, in guc_action_vf_save_restore() 51 struct xe_guc *guc = >->uc.guc; in pf_send_guc_save_vf_state() 87 struct xe_guc *guc = >->uc.guc; in pf_send_guc_restore_vf_state()
|