Home
last modified time | relevance | path

Searched refs:xe_gt (Results 1 – 25 of 54) sorted by relevance

123

/linux/drivers/gpu/drm/xe/
H A Dxe_gt_debugfs.c37 static struct xe_gt *node_to_gt(struct drm_info_node *node) in node_to_gt()
84 struct xe_gt *gt = node_to_gt(node); in xe_gt_debugfs_simple_show()
85 int (*print)(struct xe_gt *, struct drm_printer *) = node->info_ent->data; in xe_gt_debugfs_simple_show()
105 struct xe_gt *gt = node_to_gt(node); in xe_gt_debugfs_show_with_rpm()
112 static int hw_engines(struct xe_gt *gt, struct drm_printer *p) in hw_engines()
127 static int steering(struct xe_gt *gt, struct drm_printer *p) in steering()
133 static int register_save_restore(struct xe_gt *gt, struct drm_printer *p) in register_save_restore()
164 static int register_save_restore_check(struct xe_gt *gt, struct drm_printer *p) in register_save_restore_check()
184 static int rcs_default_lrc(struct xe_gt *gt, struct drm_printer *p) in rcs_default_lrc()
190 static int ccs_default_lrc(struct xe_gt *gt, struct drm_printer *p) in ccs_default_lrc()
[all …]
H A Dxe_gt_sriov_pf_migration.c32 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 Dxe_gt_sriov_pf_service.h13 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 Dxe_gt_sriov_pf_monitor.h13 struct xe_gt;
15 void xe_gt_sriov_pf_monitor_flr(struct xe_gt *gt, u32 vfid);
16 int 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 Dxe_rtp.c35 struct xe_gt *gt;
51 struct xe_gt *gt = match_ctx->gt; in rule_match_item()
198 struct xe_gt *gt, in rule_matches_with_err()
220 struct xe_gt *gt, in rule_matches()
229 struct xe_gt *gt, in rtp_add_sr_entry()
251 struct xe_device *xe, struct xe_gt *gt, in rtp_process_one_sr()
276 struct xe_gt **gt, in rtp_get_context()
352 struct xe_gt *gt = NULL; in xe_rtp_process_to_sr()
398 struct xe_gt *gt; in xe_rtp_process()
417 const struct xe_gt *gt, in xe_rtp_match_always()
[all …]
H A Dxe_gsc_proxy.c60 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 Dxe_rtp.h24 struct xe_gt;
503 struct xe_gt * : (struct xe_rtp_process_ctx){ { (void *)(arg__) }, XE_RTP_PROCESS_TYPE_GT }, \
529 const struct xe_gt *gt,
541 const struct xe_gt *gt,
561 const struct xe_gt *gt,
574 const struct xe_gt *gt,
578 const struct xe_gt *gt,
582 const struct xe_gt *gt,
594 const struct xe_gt *gt,
606 const struct xe_gt *gt,
H A Dxe_gt_ccs_mode.c19 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 Dxe_gsc.c39 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 Dxe_gt_throttle.c69 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 Dxe_hw_engine.c312 const struct xe_gt *gt, in xe_hw_engine_match_fixed_cslice_mode()
327 const struct xe_gt *gt, in xe_rtp_cfeg_wmtp_disabled()
340 static u32 blit_cctl_val(struct xe_gt *gt, struct xe_hw_engine *hwe) in blit_cctl_val()
381 struct xe_gt *gt = hwe->gt; in xe_hw_engine_setup_reg_lrc()
400 static u32 ring_cmd_cctl_val(struct xe_gt *gt, struct xe_hw_engine *hwe) in ring_cmd_cctl_val()
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()
590 struct xe_gt *gt = hwe->gt; in adjust_idledly()
614 static int hw_engine_init(struct xe_gt *gt, struct xe_hw_engine *hwe, in hw_engine_init()
661 static int hw_engine_setup_logical_and_paging_mapping(struct xe_gt *gt) in hw_engine_setup_logical_and_paging_mapping()
[all …]
H A Dxe_gt_throttle.h11 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 Dxe_gt_clock.h11 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 Dxe_rtp_types.h15 struct xe_gt;
38 u32 (*set_func)(struct xe_gt *gt,
113 const struct xe_gt *gt,
155 struct xe_gt *gt;
H A Dxe_reg_whitelist.h12 struct xe_gt;
23 void xe_reg_whitelist_oa_regs(struct xe_gt *gt);
24 void xe_reg_dewhitelist_oa_regs(struct xe_gt *gt);
H A Dxe_gt_sriov_pf_monitor.c24 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()
120 int 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 Dxe_gt_freq.h9 struct xe_gt;
11 int xe_gt_freq_init(struct xe_gt *gt);
H A Dxe_gt_sysfs_types.h11 struct xe_gt;
23 struct xe_gt *gt;
H A Dxe_ring_ops.h12 struct xe_gt;
15 xe_ring_ops_get(struct xe_gt *gt, enum xe_engine_class class);
H A Dxe_gt_sriov_vf_debugfs.h9 struct xe_gt;
12 void xe_gt_sriov_vf_debugfs_register(struct xe_gt *gt, struct dentry *root);
H A Dxe_wopcm.c72 static inline struct xe_gt *wopcm_to_gt(struct xe_wopcm *wopcm) in wopcm_to_gt()
74 return container_of(wopcm, struct xe_gt, uc.wopcm); in wopcm_to_gt()
123 static bool __wopcm_regs_locked(struct xe_gt *gt, in __wopcm_regs_locked()
138 static int __wopcm_init_regs(struct xe_device *xe, struct xe_gt *gt, in __wopcm_init_regs()
213 struct xe_gt *gt = wopcm_to_gt(wopcm); in xe_wopcm_init()
H A Dxe_gt_sysfs.h11 int xe_gt_sysfs_init(struct xe_gt *gt);
13 static inline struct xe_gt *
H A Dxe_execlist.h12 struct xe_gt;
16 int xe_execlist_init(struct xe_gt *gt);
H A Dxe_gt_sriov_pf_helpers.h25 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 Dxe_hw_fence_types.h16 struct xe_gt;
45 struct xe_gt *gt;

123