| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_gt_sriov_pf.h | 9 struct xe_gt; 12 int xe_gt_sriov_pf_init_early(struct xe_gt *gt); 13 int xe_gt_sriov_pf_init(struct xe_gt *gt); 14 int xe_gt_sriov_pf_wait_ready(struct xe_gt *gt); 15 void xe_gt_sriov_pf_init_hw(struct xe_gt *gt); 16 void xe_gt_sriov_pf_sanitize_hw(struct xe_gt *gt, unsigned int vfid); 17 void xe_gt_sriov_pf_stop_prepare(struct xe_gt *gt); 18 void xe_gt_sriov_pf_restart(struct xe_gt *gt); 20 static inline int xe_gt_sriov_pf_init_early(struct xe_gt *gt) in xe_gt_sriov_pf_init_early() 25 static inline int xe_gt_sriov_pf_init(struct xe_gt *gt) in xe_gt_sriov_pf_init() [all …]
|
| H A D | xe_gt_sriov_pf_policy.h | 12 struct xe_gt; 14 int xe_gt_sriov_pf_policy_set_sched_if_idle(struct xe_gt *gt, bool enable); 15 bool xe_gt_sriov_pf_policy_get_sched_if_idle(struct xe_gt *gt); 16 int xe_gt_sriov_pf_policy_set_reset_engine(struct xe_gt *gt, bool enable); 17 bool xe_gt_sriov_pf_policy_get_reset_engine(struct xe_gt *gt); 18 int xe_gt_sriov_pf_policy_set_sample_period(struct xe_gt *gt, u32 value); 19 u32 xe_gt_sriov_pf_policy_get_sample_period(struct xe_gt *gt); 21 void xe_gt_sriov_pf_policy_sanitize(struct xe_gt *gt); 22 int xe_gt_sriov_pf_policy_reprovision(struct xe_gt *gt, bool reset); 23 int xe_gt_sriov_pf_policy_print(struct xe_gt *gt, struct drm_printer *p);
|
| H A D | xe_gt_sriov_pf_config.c | 63 static int pf_send_vf_cfg_reset(struct xe_gt *gt, u32 vfid) in pf_send_vf_cfg_reset() 77 static int pf_send_vf_buf_klvs(struct xe_gt *gt, u32 vfid, struct xe_guc_buf buf, u32 num_dwords) in pf_send_vf_buf_klvs() 88 static int pf_push_vf_buf_klvs(struct xe_gt *gt, unsigned int vfid, u32 num_klvs, in pf_push_vf_buf_klvs() 126 static int pf_push_vf_cfg_klvs(struct xe_gt *gt, unsigned int vfid, u32 num_klvs, in pf_push_vf_cfg_klvs() 139 static int pf_push_vf_cfg_u32(struct xe_gt *gt, unsigned int vfid, u16 key, u32 value) in pf_push_vf_cfg_u32() 149 static int pf_push_vf_cfg_u64(struct xe_gt *gt, unsigned int vfid, u16 key, u64 value) in pf_push_vf_cfg_u64() 160 static int pf_push_vf_cfg_ggtt(struct xe_gt *gt, unsigned int vfid, u64 start, u64 size) in pf_push_vf_cfg_ggtt() 174 static int pf_push_vf_cfg_ctxs(struct xe_gt *gt, unsigned int vfid, u32 begin, u32 num) in pf_push_vf_cfg_ctxs() 186 static int pf_push_vf_cfg_dbs(struct xe_gt *gt, unsigned int vfid, u32 begin, u32 num) in pf_push_vf_cfg_dbs() 198 static int pf_push_vf_cfg_exec_quantum(struct xe_gt *gt, unsigned int vfid, u32 *exec_quantum) in pf_push_vf_cfg_exec_quantum() [all …]
|
| 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_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_force_wake.c | 45 void xe_force_wake_init_gt(struct xe_gt *gt, struct xe_force_wake *fw) in xe_force_wake_init_gt() 63 void xe_force_wake_init_engines(struct xe_gt *gt, struct xe_force_wake *fw) in xe_force_wake_init_engines() 96 static void __domain_ctl(struct xe_gt *gt, struct xe_force_wake_domain *domain, bool wake) in __domain_ctl() 104 static int __domain_wait(struct xe_gt *gt, struct xe_force_wake_domain *domain, bool wake) in __domain_wait() 129 static void domain_wake(struct xe_gt *gt, struct xe_force_wake_domain *domain) in domain_wake() 134 static int domain_wake_wait(struct xe_gt *gt, in domain_wake_wait() 140 static void domain_sleep(struct xe_gt *gt, struct xe_force_wake_domain *domain) in domain_sleep() 145 static int domain_sleep_wait(struct xe_gt *gt, in domain_sleep_wait() 175 struct xe_gt *gt = fw->gt; in xe_force_wake_get() 226 struct xe_gt *gt = fw->gt; in xe_force_wake_put()
|
| H A D | xe_gt_ccs_mode.c | 17 static void __xe_gt_apply_ccs_mode(struct xe_gt *gt, u32 num_engines) in __xe_gt_apply_ccs_mode() 83 void xe_gt_apply_ccs_mode(struct xe_gt *gt) in xe_gt_apply_ccs_mode() 95 struct xe_gt *gt = kobj_to_gt(&kdev->kobj); in num_cslices_show() 106 struct xe_gt *gt = kobj_to_gt(&kdev->kobj); in ccs_mode_show() 115 struct xe_gt *gt = kobj_to_gt(&kdev->kobj); in ccs_mode_store() 171 struct xe_gt *gt = arg; in xe_gt_ccs_mode_sysfs_fini() 189 int xe_gt_ccs_mode_sysfs_init(struct xe_gt *gt) in xe_gt_ccs_mode_sysfs_init()
|
| 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_ccs_mode.h | 14 void xe_gt_apply_ccs_mode(struct xe_gt *gt); 15 int xe_gt_ccs_mode_sysfs_init(struct xe_gt *gt); 17 static inline bool xe_gt_ccs_mode_enabled(const struct xe_gt *gt) in xe_gt_ccs_mode_enabled()
|
| 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_reg_sr.h | 14 struct xe_gt; 24 struct xe_gt *gt); 25 void xe_reg_sr_apply_mmio(struct xe_reg_sr *sr, struct xe_gt *gt);
|
| 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 *
|
| H A D | xe_execlist.h | 12 struct xe_gt; 16 int xe_execlist_init(struct xe_gt *gt);
|
| H A D | xe_gt_sriov_pf_helpers.h | 25 static inline int xe_gt_sriov_pf_get_totalvfs(struct xe_gt *gt) in xe_gt_sriov_pf_get_totalvfs() 30 static inline struct mutex *xe_gt_sriov_pf_master_mutex(struct xe_gt *gt) in xe_gt_sriov_pf_master_mutex()
|
| H A D | xe_sriov_pf_migration.c | 129 struct xe_gt *gt; in pf_migration_data_ready() 147 struct xe_gt *gt; in pf_migration_consume() 220 struct xe_gt *gt; in pf_handle_trailer() 251 struct xe_gt *gt; in xe_sriov_pf_migration_restore_produce() 349 struct xe_gt *gt; in xe_sriov_pf_migration_size()
|
| H A D | xe_hw_engine_group.h | 13 struct xe_gt; 15 int xe_hw_engine_setup_groups(struct xe_gt *gt);
|
| /linux/drivers/gpu/drm/xe/tests/ |
| H A D | xe_mocs.c | 23 static int live_mocs_init(struct live_mocs *arg, struct xe_gt *gt) in live_mocs_init() 41 static void read_l3cc_table(struct xe_gt *gt, in read_l3cc_table() 80 static void read_mocs_table(struct xe_gt *gt, in read_mocs_table() 118 struct xe_gt *gt; in mocs_kernel_test_run_device() 153 struct xe_gt *gt; in mocs_reset_test_run_device()
|