Home
last modified time | relevance | path

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

12

/linux/drivers/gpu/drm/xe/
H A Dxe_gt_sriov_vf.h12 struct xe_gt;
16 int xe_gt_sriov_vf_reset(struct xe_gt *gt);
17 int xe_gt_sriov_vf_bootstrap(struct xe_gt *gt);
18 void xe_gt_sriov_vf_guc_versions(struct xe_gt *gt,
21 int xe_gt_sriov_vf_query_config(struct xe_gt *gt);
22 int xe_gt_sriov_vf_connect(struct xe_gt *gt);
23 int xe_gt_sriov_vf_query_runtime(struct xe_gt *gt);
24 void xe_gt_sriov_vf_migrated_event_handler(struct xe_gt *gt);
26 int xe_gt_sriov_vf_init_early(struct xe_gt *gt);
27 int xe_gt_sriov_vf_init(struct xe_gt *gt);
[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_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_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_gt_sriov_vf.c53 static void vf_post_migration_inject_wait(struct xe_gt *gt, in vf_post_migration_inject_wait()
67 struct xe_gt *__gt = (gt); \
72 #define VF_MIGRATION_INJECT_WAIT(_gt, ...) typecheck(struct xe_gt *, (_gt))
90 static int vf_reset_guc_state(struct xe_gt *gt) in vf_reset_guc_state()
115 int xe_gt_sriov_vf_reset(struct xe_gt *gt) in xe_gt_sriov_vf_reset()
170 static void vf_minimum_guc_version(struct xe_gt *gt, struct xe_uc_fw_version *ver) in vf_minimum_guc_version()
192 static void vf_wanted_guc_version(struct xe_gt *gt, struct xe_uc_fw_version *ver) in vf_wanted_guc_version()
198 static int vf_handshake_with_guc(struct xe_gt *gt) in vf_handshake_with_guc()
292 int xe_gt_sriov_vf_bootstrap(struct xe_gt *gt) in xe_gt_sriov_vf_bootstrap()
319 void xe_gt_sriov_vf_guc_versions(struct xe_gt *gt, in xe_gt_sriov_vf_guc_versions()
[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_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_gt_sriov_pf_debugfs.c52 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 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.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_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_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_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;
H A Dxe_gsc.h13 struct xe_gt;
23 void xe_gsc_wa_14015076503(struct xe_gt *gt, bool prep);
H A Dxe_irq.h15 struct xe_gt;
21 void xe_irq_enable_hwe(struct xe_gt *gt);
H A Dxe_tile_types.h47 struct xe_gt *primary_gt;
54 struct xe_gt *media_gt;
H A Dxe_gt_sysfs.c27 struct xe_gt *gt = arg; in gt_sysfs_fini()
32 int xe_gt_sysfs_init(struct xe_gt *gt) in xe_gt_sysfs_init()

12