| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_gt_sriov_pf_migration.c | 32 static struct xe_gt_sriov_migration_data *pf_pick_gt_migration(struct xe_gt *gt, unsigned int vfid) in pf_pick_gt_migration() 41 static void pf_dump_mig_data(struct xe_gt *gt, unsigned int vfid, in pf_dump_mig_data() 54 static ssize_t pf_migration_ggtt_size(struct xe_gt *gt, unsigned int vfid) in pf_migration_ggtt_size() 62 static int pf_save_vf_ggtt_mig_data(struct xe_gt *gt, unsigned int vfid) in pf_save_vf_ggtt_mig_data() 98 static int pf_restore_vf_ggtt_mig_data(struct xe_gt *gt, unsigned int vfid, in pf_restore_vf_ggtt_mig_data() 124 int xe_gt_sriov_pf_migration_ggtt_save(struct xe_gt *gt, unsigned int vfid) in xe_gt_sriov_pf_migration_ggtt_save() 143 int xe_gt_sriov_pf_migration_ggtt_restore(struct xe_gt *gt, unsigned int vfid, in xe_gt_sriov_pf_migration_ggtt_restore() 172 static int pf_send_guc_query_vf_mig_data_size(struct xe_gt *gt, unsigned int vfid) in pf_send_guc_query_vf_mig_data_size() 181 static int pf_send_guc_save_vf_mig_data(struct xe_gt *gt, unsigned int vfid, in pf_send_guc_save_vf_mig_data() 211 static int pf_send_guc_restore_vf_mig_data(struct xe_gt *gt, unsigned int vfid, in pf_send_guc_restore_vf_mig_data() [all …]
|
| H A D | xe_gt_sriov_pf_service.h | 13 struct xe_gt; 15 int xe_gt_sriov_pf_service_init(struct xe_gt *gt); 16 void xe_gt_sriov_pf_service_update(struct xe_gt *gt); 18 int xe_gt_sriov_pf_service_print_runtime(struct xe_gt *gt, struct drm_printer *p); 21 int xe_gt_sriov_pf_service_process_request(struct xe_gt *gt, u32 origin, 26 xe_gt_sriov_pf_service_process_request(struct xe_gt *gt, u32 origin, in xe_gt_sriov_pf_service_process_request()
|
| H A D | xe_gt.c | 69 struct xe_gt *xe_gt_alloc(struct xe_tile *tile) in xe_gt_alloc() 76 struct xe_gt *gt; in xe_gt_alloc() 96 void xe_gt_sanitize(struct xe_gt *gt) in xe_gt_sanitize() 105 static void xe_gt_enable_host_l2_vram(struct xe_gt *gt) in xe_gt_enable_host_l2_vram() 125 static void xe_gt_disable_host_l2_vram(struct xe_gt *gt) in xe_gt_disable_host_l2_vram() 144 static void xe_gt_enable_comp_1wcoh(struct xe_gt *gt) in xe_gt_enable_comp_1wcoh() 200 static int emit_nop_job(struct xe_gt *gt, struct xe_exec_queue *q) in emit_nop_job() 218 static int emit_wa_job(struct xe_gt *gt, struct xe_exec_queue *q) in emit_wa_job() 382 int xe_gt_record_default_lrcs(struct xe_gt *gt) in xe_gt_record_default_lrcs() 458 static void wa_14026539277(struct xe_gt *gt) in wa_14026539277() [all …]
|
| H A D | xe_gt_sriov_pf_monitor.h | 13 struct xe_gt; 15 void xe_gt_sriov_pf_monitor_flr(struct xe_gt *gt, u32 vfid); 16 void xe_gt_sriov_pf_monitor_print_events(struct xe_gt *gt, struct drm_printer *p); 19 int xe_gt_sriov_pf_monitor_process_guc2pf(struct xe_gt *gt, const u32 *msg, u32 len); 21 static inline int xe_gt_sriov_pf_monitor_process_guc2pf(struct xe_gt *gt, const u32 *msg, u32 len) in xe_gt_sriov_pf_monitor_process_guc2pf()
|
| H A D | xe_gsc_proxy.c | 60 static struct xe_gt * 63 return container_of(gsc, struct xe_gt, uc.gsc); in gsc_to_gt() 68 struct xe_gt *gt = gsc_to_gt(gsc); in xe_gsc_proxy_init_done() 77 struct xe_gt *gt = gsc_to_gt(gsc); in xe_gsc_wait_for_proxy_init_done() 88 struct xe_gt *gt = gsc_to_gt(gsc); in __gsc_proxy_irq_rmw() 112 struct xe_gt *gt = gsc_to_gt(gsc); in proxy_send_to_csme() 133 struct xe_gt *gt = gsc_to_gt(gsc); in proxy_send_to_gsc() 154 static int validate_proxy_header(struct xe_gt *gt, in validate_proxy_header() 223 struct xe_gt *gt = gsc_to_gt(gsc); in proxy_query() 327 struct xe_gt *gt = gsc_to_gt(gsc); in xe_gsc_proxy_request_handler() [all …]
|
| H A D | xe_gt_sriov_pf_debugfs.c | 52 static struct xe_gt *extract_gt(struct dentry *d) in extract_gt() 119 struct xe_gt *gt = extract_gt(data); \ 136 struct xe_gt *gt = extract_gt(data); \ 148 static void pf_add_policy_attrs(struct xe_gt *gt, struct dentry *parent) in pf_add_policy_attrs() 197 struct xe_gt *gt = extract_gt(m->private); in sched_groups_info() 228 struct xe_gt *gt = extract_gt(file_inode(file)->i_private); in sched_groups_write() 272 void (*get)(struct xe_gt *, unsigned int, u32 *, u32)) in sched_groups_config_show() argument 276 struct xe_gt *gt = extract_gt(m->private); in sched_groups_config_show() 296 int (*set)(struct xe_gt *, unsigned int, u32 *, u32)) in sched_groups_config_write() argument 300 struct xe_gt *gt = extract_gt(parent); in sched_groups_config_write() [all …]
|
| H A D | xe_gsc.c | 39 static struct xe_gt * 42 return container_of(gsc, struct xe_gt, uc.gsc); in gsc_to_gt() 47 struct xe_gt *gt = gsc_to_gt(gsc); in memcpy_fw() 72 struct xe_gt *gt = gsc_to_gt(gsc); in emit_gsc_upload() 130 struct xe_gt *gt = gsc_to_gt(gsc); in query_compatibility_version() 183 static int gsc_fw_is_loaded(struct xe_gt *gt) in gsc_fw_is_loaded() 189 static int gsc_fw_wait(struct xe_gt *gt) in gsc_fw_wait() 204 struct xe_gt *gt = gsc_to_gt(gsc); in gsc_upload() 264 struct xe_gt *gt = gsc_to_gt(gsc); in gsc_upload_and_init() 310 static int gsc_er_complete(struct xe_gt *gt) in gsc_er_complete() [all …]
|
| H A D | xe_gt_ccs_mode.c | 19 static void __xe_gt_apply_ccs_mode(struct xe_gt *gt, u32 num_engines) in __xe_gt_apply_ccs_mode() 85 void xe_gt_apply_ccs_mode(struct xe_gt *gt) in xe_gt_apply_ccs_mode() 93 static bool gt_ccs_mode_default(struct xe_gt *gt) in gt_ccs_mode_default() 102 struct xe_gt *gt = kobj_to_gt(&kdev->kobj); in num_cslices_show() 113 struct xe_gt *gt = kobj_to_gt(&kdev->kobj); in ccs_mode_show() 122 struct xe_gt *gt = kobj_to_gt(&kdev->kobj); in ccs_mode_store() 187 struct xe_gt *gt = arg; in xe_gt_ccs_mode_sysfs_fini() 205 int xe_gt_ccs_mode_sysfs_init(struct xe_gt *gt) in xe_gt_ccs_mode_sysfs_init()
|
| H A D | xe_guc.c | 161 static bool needs_wa_dual_queue(struct xe_gt *gt) in needs_wa_dual_queue() 192 struct xe_gt *gt = guc_to_gt(guc); in guc_ctl_wa_flags() 237 struct xe_gt *gt = guc_to_gt(guc); in guc_print_params() 283 struct xe_gt *gt = guc_to_gt(guc); in guc_write_params() 297 struct xe_gt *gt = guc_to_gt(guc); in guc_action_register_g2g_buffer() 317 struct xe_gt *gt = guc_to_gt(guc); in guc_action_deregister_g2g_buffer() 405 static int guc_g2g_register(struct xe_guc *near_guc, struct xe_gt *far_gt, u32 type, bool have_dev) in guc_g2g_register() 407 struct xe_gt *near_gt = guc_to_gt(near_guc); in guc_g2g_register() 445 struct xe_gt *gt = guc_to_gt(guc); in guc_g2g_size() 467 struct xe_gt *gt = guc_to_gt(guc); in guc_g2g_alloc() [all …]
|
| H A D | xe_gt_throttle.c | 69 static struct xe_gt *dev_to_gt(struct device *dev) in dev_to_gt() 74 static struct xe_gt *throttle_to_gt(struct kobject *kobj) in throttle_to_gt() 84 u32 xe_gt_throttle_get_limit_reasons(struct xe_gt *gt) in xe_gt_throttle_get_limit_reasons() 104 static bool is_throttled_by(struct xe_gt *gt, u32 mask) in is_throttled_by() 113 struct xe_gt *gt = throttle_to_gt(kobj); in reason_show() 123 struct xe_gt *gt = throttle_to_gt(kobj); in reasons_show() 249 struct xe_gt *gt = arg; in gt_throttle_sysfs_fini() 256 int xe_gt_throttle_init(struct xe_gt *gt) in xe_gt_throttle_init()
|
| H A D | xe_hw_engine.c | 349 const struct xe_gt *gt, in xe_hw_engine_match_fixed_cslice_mode() 364 const struct xe_gt *gt, in xe_rtp_cfeg_wmtp_disabled() 380 struct xe_gt *gt = hwe->gt; in xe_hw_engine_setup_default_lrc_state() 418 struct xe_gt *gt = hwe->gt; in hw_engine_setup_default_state() 494 static u16 get_msix_irq_offset(struct xe_gt *gt, enum xe_engine_class class) in get_msix_irq_offset() 504 static void hw_engine_init_early(struct xe_gt *gt, struct xe_hw_engine *hwe, in hw_engine_init_early() 583 struct xe_gt *gt = hwe->gt; in adjust_idledly() 607 static int hw_engine_init(struct xe_gt *gt, struct xe_hw_engine *hwe, in hw_engine_init() 660 static void hw_engine_setup_logical_mapping(struct xe_gt *gt) in hw_engine_setup_logical_mapping() 676 static void read_media_fuses(struct xe_gt *gt) in read_media_fuses() [all …]
|
| H A D | xe_eu_stall.c | 54 struct xe_gt *gt; 86 struct xe_gt *gt; 218 struct xe_gt *gt = arg; in xe_eu_stall_fini() 233 int xe_eu_stall_init(struct xe_gt *gt) in xe_eu_stall_init() 286 struct xe_gt *gt = xe_device_get_gt(xe, value); in set_prop_eu_stall_gt_id() 408 struct xe_gt *gt = stream->gt; in eu_stall_data_buf_poll() 436 static void clear_dropped_eviction_line_bit(struct xe_gt *gt, u16 group, u16 instance) in clear_dropped_eviction_line_bit() 454 size_t *total_data_size, struct xe_gt *gt, in xe_eu_stall_data_buf_read() 540 struct xe_gt *gt = stream->gt; in xe_eu_stall_stream_read_locked() 579 struct xe_gt *gt = stream->gt; in xe_eu_stall_stream_read() [all …]
|
| H A D | xe_lrc.h | 18 struct xe_gt; 93 size_t xe_gt_lrc_hang_replay_size(struct xe_gt *gt, enum xe_engine_class class); 94 size_t xe_gt_lrc_size(struct xe_gt *gt, enum xe_engine_class class); 133 size_t xe_lrc_engine_state_size(struct xe_gt *gt, enum xe_engine_class class); 136 struct xe_gt *gt, 138 int xe_lrc_lookup_default_reg_value(struct xe_gt *gt,
|
| H A D | xe_gt_throttle.h | 11 struct xe_gt; 13 int xe_gt_throttle_init(struct xe_gt *gt); 15 u32 xe_gt_throttle_get_limit_reasons(struct xe_gt *gt);
|
| H A D | xe_gt_clock.h | 11 struct xe_gt; 13 int xe_gt_clock_init(struct xe_gt *gt); 14 u64 xe_gt_clock_interval_to_ms(struct xe_gt *gt, u64 count);
|
| H A D | xe_gt_sriov_pf_monitor.c | 24 void xe_gt_sriov_pf_monitor_flr(struct xe_gt *gt, u32 vfid) in xe_gt_sriov_pf_monitor_flr() 35 static void pf_update_event_counter(struct xe_gt *gt, u32 vfid, in pf_update_event_counter() 44 static int pf_handle_vf_threshold_event(struct xe_gt *gt, u32 vfid, u32 threshold) in pf_handle_vf_threshold_event() 78 int xe_gt_sriov_pf_monitor_process_guc2pf(struct xe_gt *gt, const u32 *msg, u32 len) in xe_gt_sriov_pf_monitor_process_guc2pf() 118 void xe_gt_sriov_pf_monitor_print_events(struct xe_gt *gt, struct drm_printer *p) in xe_gt_sriov_pf_monitor_print_events()
|
| H A D | xe_guc_ads.c | 42 static struct xe_gt * 45 return container_of(ads, struct xe_gt, uc.guc.ads); in ads_to_gt() 234 static size_t calculate_regset_size(struct xe_gt *gt) in calculate_regset_size() 254 static u32 engine_enable_mask(struct xe_gt *gt, enum xe_engine_class class) in engine_enable_mask() 269 struct xe_gt *gt = ads_to_gt(ads); in calculate_golden_lrc_size() 311 struct xe_gt *gt = ads_to_gt(ads); in guc_waklv_init() 390 struct xe_gt *gt = ads_to_gt(ads); in xe_guc_ads_init() 425 struct xe_gt *gt = ads_to_gt(ads); in xe_guc_ads_init_post_hwconfig() 459 static void fill_engine_enable_masks(struct xe_gt *gt, in fill_engine_enable_masks() 486 struct xe_gt *gt = ads_to_gt(ads); in guc_golden_lrc_init() [all …]
|
| H A D | xe_reg_sr.c | 75 struct xe_gt *gt) in xe_reg_sr_add() 130 static void apply_one_mmio(struct xe_gt *gt, struct xe_reg_sr_entry *entry) in apply_one_mmio() 168 void xe_reg_sr_apply_mmio(struct xe_reg_sr *sr, struct xe_gt *gt) in xe_reg_sr_apply_mmio() 215 static u32 readback_reg(struct xe_gt *gt, struct xe_reg reg) in readback_reg() 233 struct xe_gt *gt, in xe_reg_sr_readback_check() 258 struct xe_gt *gt, in xe_reg_sr_lrc_check()
|
| H A D | xe_ring_ops.c | 68 static u32 *emit_aux_table_inv_render_compute(struct xe_gt *gt, u32 *cmd) in emit_aux_table_inv_render_compute() 73 static u32 *emit_aux_table_inv_video_decode(struct xe_gt *gt, u32 *cmd) in emit_aux_table_inv_video_decode() 78 static u32 *emit_aux_table_inv_video_enhance(struct xe_gt *gt, u32 *cmd) in emit_aux_table_inv_video_enhance() 85 struct xe_gt *gt = hwe->gt; in emit_aux_table_inv() 86 u32 *(*emit)(struct xe_gt *gt, u32 *cmd) = in emit_aux_table_inv() 214 struct xe_gt *gt = q->gt; in emit_render_cache_flush() 324 struct xe_gt *gt = job->q->gt; in __emit_job_gen12_simple() 383 struct xe_gt *gt = job->q->gt; in __emit_job_gen12_video() 436 struct xe_gt *gt = job->q->gt; in __emit_job_gen12_render_compute() 497 struct xe_gt *gt = job->q->gt; in emit_migration_job_gen12() [all …]
|
| H A D | xe_hw_engine.h | 52 int xe_hw_engines_init_early(struct xe_gt *gt); 53 int xe_hw_engines_init(struct xe_gt *gt); 56 u32 xe_hw_engine_mask_per_class(struct xe_gt *gt,
|
| H A D | xe_gt_freq.h | 9 struct xe_gt; 11 int xe_gt_freq_init(struct xe_gt *gt);
|
| H A D | xe_gt_sysfs_types.h | 11 struct xe_gt; 23 struct xe_gt *gt;
|
| H A D | xe_ring_ops.h | 12 struct xe_gt; 15 xe_ring_ops_get(struct xe_gt *gt, enum xe_engine_class class);
|
| H A D | xe_gt_sriov_vf_debugfs.h | 9 struct xe_gt; 12 void xe_gt_sriov_vf_debugfs_register(struct xe_gt *gt, struct dentry *root);
|
| H A D | xe_gt_sysfs.h | 11 int xe_gt_sysfs_init(struct xe_gt *gt); 13 static inline struct xe_gt *
|