Home
last modified time | relevance | path

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

1234567

/linux-6.15/drivers/gpu/drm/xe/
H A Dxe_gt_sriov_pf_config.h13 struct xe_gt;
15 u64 xe_gt_sriov_pf_config_get_ggtt(struct xe_gt *gt, unsigned int vfid);
17 int xe_gt_sriov_pf_config_set_fair_ggtt(struct xe_gt *gt,
19 int xe_gt_sriov_pf_config_bulk_set_ggtt(struct xe_gt *gt,
22 u32 xe_gt_sriov_pf_config_get_ctxs(struct xe_gt *gt, unsigned int vfid);
28 u32 xe_gt_sriov_pf_config_get_dbs(struct xe_gt *gt, unsigned int vfid);
34 u64 xe_gt_sriov_pf_config_get_lmem(struct xe_gt *gt, unsigned int vfid);
61 int xe_gt_sriov_pf_config_restore(struct xe_gt *gt, unsigned int vfid,
64 bool xe_gt_sriov_pf_config_is_empty(struct xe_gt *gt, unsigned int vfid);
66 int xe_gt_sriov_pf_config_init(struct xe_gt *gt);
[all …]
H A Dxe_gt.h31 int xe_gt_init_hwconfig(struct xe_gt *gt);
32 int xe_gt_init_early(struct xe_gt *gt);
33 int xe_gt_init(struct xe_gt *gt);
34 void xe_gt_mmio_init(struct xe_gt *gt);
35 void xe_gt_declare_wedged(struct xe_gt *gt);
51 int xe_gt_suspend(struct xe_gt *gt);
52 void xe_gt_shutdown(struct xe_gt *gt);
53 int xe_gt_resume(struct xe_gt *gt);
54 void xe_gt_reset_async(struct xe_gt *gt);
55 void xe_gt_sanitize(struct xe_gt *gt);
[all …]
H A Dxe_gt_sriov_vf.h12 struct xe_gt;
15 int xe_gt_sriov_vf_reset(struct xe_gt *gt);
16 int xe_gt_sriov_vf_bootstrap(struct xe_gt *gt);
17 int xe_gt_sriov_vf_query_config(struct xe_gt *gt);
18 int xe_gt_sriov_vf_connect(struct xe_gt *gt);
19 int xe_gt_sriov_vf_query_runtime(struct xe_gt *gt);
20 int xe_gt_sriov_vf_prepare_ggtt(struct xe_gt *gt);
21 int xe_gt_sriov_vf_notify_resfix_done(struct xe_gt *gt);
24 u32 xe_gt_sriov_vf_gmdid(struct xe_gt *gt);
25 u16 xe_gt_sriov_vf_guc_ids(struct xe_gt *gt);
[all …]
H A Dxe_gt_sriov_pf_control.c71 static int pf_send_vf_pause(struct xe_gt *gt, unsigned int vfid) in pf_send_vf_pause()
81 static int pf_send_vf_stop(struct xe_gt *gt, unsigned int vfid) in pf_send_vf_stop()
329 static void pf_queue_control_worker(struct xe_gt *gt) in pf_queue_control_worker()
1224 static void pf_handle_vf_flr(struct xe_gt *gt, u32 vfid) in pf_handle_vf_flr()
1227 struct xe_gt *gtit; in pf_handle_vf_flr()
1393 static void pf_worker_find_work(struct xe_gt *gt) in pf_worker_find_work()
1424 struct xe_gt *gt = container_of(w, struct xe_gt, sriov.pf.control.worker); in control_worker_func()
1430 static void pf_stop_worker(struct xe_gt *gt) in pf_stop_worker()
1438 struct xe_gt *gt = data; in control_fini_action()
1451 int xe_gt_sriov_pf_control_init(struct xe_gt *gt) in xe_gt_sriov_pf_control_init()
[all …]
H A Dxe_gt_sriov_pf.h9 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 void xe_gt_sriov_pf_init_hw(struct xe_gt *gt);
15 void xe_gt_sriov_pf_sanitize_hw(struct xe_gt *gt, unsigned int vfid);
16 void xe_gt_sriov_pf_restart(struct xe_gt *gt);
18 static inline int xe_gt_sriov_pf_init_early(struct xe_gt *gt) in xe_gt_sriov_pf_init_early()
23 static inline int xe_gt_sriov_pf_init(struct xe_gt *gt) in xe_gt_sriov_pf_init()
28 static inline void xe_gt_sriov_pf_init_hw(struct xe_gt *gt) in xe_gt_sriov_pf_init_hw()
32 static inline void xe_gt_sriov_pf_restart(struct xe_gt *gt) in xe_gt_sriov_pf_restart()
H A Dxe_gt_throttle.c33 static struct xe_gt *
121 struct xe_gt *gt = dev_to_gt(dev); in status_show()
132 struct xe_gt *gt = dev_to_gt(dev); in reason_pl1_show()
143 struct xe_gt *gt = dev_to_gt(dev); in reason_pl2_show()
154 struct xe_gt *gt = dev_to_gt(dev); in reason_pl4_show()
165 struct xe_gt *gt = dev_to_gt(dev); in reason_thermal_show()
176 struct xe_gt *gt = dev_to_gt(dev); in reason_prochot_show()
187 struct xe_gt *gt = dev_to_gt(dev); in reason_ratl_show()
198 struct xe_gt *gt = dev_to_gt(dev); in reason_vr_thermalert_show()
209 struct xe_gt *gt = dev_to_gt(dev); in reason_vr_tdc_show()
[all …]
H A Dxe_gt_sriov_pf_policy.h12 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 Dxe_gt_mcr.h13 struct xe_gt;
15 void xe_gt_mcr_init_early(struct xe_gt *gt);
16 void xe_gt_mcr_init(struct xe_gt *gt);
18 void xe_gt_mcr_set_implicit_defaults(struct xe_gt *gt);
20 u32 xe_gt_mcr_unicast_read(struct xe_gt *gt, struct xe_reg_mcr mcr_reg,
22 u32 xe_gt_mcr_unicast_read_any(struct xe_gt *gt, struct xe_reg_mcr mcr_reg);
24 void xe_gt_mcr_unicast_write(struct xe_gt *gt, struct xe_reg_mcr mcr_reg,
26 void xe_gt_mcr_multicast_write(struct xe_gt *gt, struct xe_reg_mcr mcr_reg,
29 bool xe_gt_mcr_get_nonterminated_steering(struct xe_gt *gt,
33 void xe_gt_mcr_steering_dump(struct xe_gt *gt, struct drm_printer *p);
[all …]
H A Dxe_gt_sriov_pf_control.h12 struct xe_gt;
14 int xe_gt_sriov_pf_control_init(struct xe_gt *gt);
15 void xe_gt_sriov_pf_control_restart(struct xe_gt *gt);
17 int xe_gt_sriov_pf_control_pause_vf(struct xe_gt *gt, unsigned int vfid);
18 int xe_gt_sriov_pf_control_resume_vf(struct xe_gt *gt, unsigned int vfid);
19 int xe_gt_sriov_pf_control_stop_vf(struct xe_gt *gt, unsigned int vfid);
20 int xe_gt_sriov_pf_control_trigger_flr(struct xe_gt *gt, unsigned int vfid);
23 int xe_gt_sriov_pf_control_process_guc2pf(struct xe_gt *gt, const u32 *msg, u32 len);
25 static inline int xe_gt_sriov_pf_control_process_guc2pf(struct xe_gt *gt, const u32 *msg, u32 len) in xe_gt_sriov_pf_control_process_guc2pf()
H A Dxe_gt_sriov_pf_policy.c74 static int pf_push_policy_klvs(struct xe_gt *gt, u32 num_klvs, in pf_push_policy_klvs()
165 static int pf_reprovision_sched_if_idle(struct xe_gt *gt) in pf_reprovision_sched_if_idle()
173 static void pf_sanitize_sched_if_idle(struct xe_gt *gt) in pf_sanitize_sched_if_idle()
209 bool xe_gt_sriov_pf_policy_get_sched_if_idle(struct xe_gt *gt) in xe_gt_sriov_pf_policy_get_sched_if_idle()
231 static int pf_reprovision_reset_engine(struct xe_gt *gt) in pf_reprovision_reset_engine()
239 static void pf_sanitize_reset_engine(struct xe_gt *gt) in pf_sanitize_reset_engine()
275 bool xe_gt_sriov_pf_policy_get_reset_engine(struct xe_gt *gt) in xe_gt_sriov_pf_policy_get_reset_engine()
297 static int pf_reprovision_sample_period(struct xe_gt *gt) in pf_reprovision_sample_period()
305 static void pf_sanitize_sample_period(struct xe_gt *gt) in pf_sanitize_sample_period()
354 static void pf_sanitize_guc_policies(struct xe_gt *gt) in pf_sanitize_guc_policies()
[all …]
H A Dxe_gt_debugfs.c80 struct xe_gt *gt = parent->d_inode->i_private; in xe_gt_debugfs_simple_show()
89 static int hw_engines(struct xe_gt *gt, struct drm_printer *p) in hw_engines()
143 static int sa_info(struct xe_gt *gt, struct drm_printer *p) in sa_info()
155 static int topology(struct xe_gt *gt, struct drm_printer *p) in topology()
164 static int steering(struct xe_gt *gt, struct drm_printer *p) in steering()
173 static int ggtt(struct xe_gt *gt, struct drm_printer *p) in ggtt()
222 static int tunings(struct xe_gt *gt, struct drm_printer *p) in tunings()
231 static int pat(struct xe_gt *gt, struct drm_printer *p) in pat()
240 static int mocs(struct xe_gt *gt, struct drm_printer *p) in mocs()
294 static int hwconfig(struct xe_gt *gt, struct drm_printer *p) in hwconfig()
[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);
17 void xe_gt_sriov_pf_service_reset(struct xe_gt *gt, unsigned int vfid);
19 int xe_gt_sriov_pf_service_print_version(struct xe_gt *gt, struct drm_printer *p);
20 int xe_gt_sriov_pf_service_print_runtime(struct xe_gt *gt, struct drm_printer *p);
23 int xe_gt_sriov_pf_service_process_request(struct xe_gt *gt, u32 origin,
28 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_tlb_invalidation.h13 struct xe_gt;
18 int xe_gt_tlb_invalidation_init_early(struct xe_gt *gt);
20 void xe_gt_tlb_invalidation_reset(struct xe_gt *gt);
21 int xe_gt_tlb_invalidation_ggtt(struct xe_gt *gt);
22 int xe_gt_tlb_invalidation_vma(struct xe_gt *gt,
25 void xe_gt_tlb_invalidation_vm(struct xe_gt *gt, struct xe_vm *vm);
26 int xe_gt_tlb_invalidation_range(struct xe_gt *gt,
31 void xe_gt_tlb_invalidation_fence_init(struct xe_gt *gt,
H A Dxe_gt_sriov_pf_config.c324 struct xe_gt *primary = gt->tile->primary_gt; in pf_push_full_vf_config()
361 static u64 pf_get_ggtt_alignment(struct xe_gt *gt) in pf_get_ggtt_alignment()
375 static u64 pf_get_spare_ggtt(struct xe_gt *gt) in pf_get_spare_ggtt()
644 static u64 pf_get_max_ggtt(struct xe_gt *gt) in pf_get_max_ggtt()
715 static u32 pf_get_spare_ctxs(struct xe_gt *gt) in pf_get_spare_ctxs()
1017 static u32 pf_get_spare_dbs(struct xe_gt *gt) in pf_get_spare_dbs()
1271 static u64 pf_get_spare_lmem(struct xe_gt *gt) in pf_get_spare_lmem()
1354 struct xe_gt *gt; in pf_update_vf_lmtt()
1563 static u64 pf_query_free_lmem(struct xe_gt *gt) in pf_query_free_lmem()
1570 static u64 pf_query_max_lmem(struct xe_gt *gt) in pf_query_max_lmem()
[all …]
H A Dxe_gt_sriov_pf.c36 static int pf_alloc_metadata(struct xe_gt *gt) in pf_alloc_metadata()
48 static void pf_init_workers(struct xe_gt *gt) in pf_init_workers()
61 int xe_gt_sriov_pf_init_early(struct xe_gt *gt) in xe_gt_sriov_pf_init_early()
90 int xe_gt_sriov_pf_init(struct xe_gt *gt) in xe_gt_sriov_pf_init()
106 static void pf_enable_ggtt_guest_update(struct xe_gt *gt) in pf_enable_ggtt_guest_update()
117 void xe_gt_sriov_pf_init_hw(struct xe_gt *gt) in xe_gt_sriov_pf_init_hw()
140 static void pf_clear_vf_scratch_regs(struct xe_gt *gt, unsigned int vfid) in pf_clear_vf_scratch_regs()
168 void xe_gt_sriov_pf_sanitize_hw(struct xe_gt *gt, unsigned int vfid) in xe_gt_sriov_pf_sanitize_hw()
175 static void pf_restart(struct xe_gt *gt) in pf_restart()
194 static void pf_queue_restart(struct xe_gt *gt) in pf_queue_restart()
[all …]
H A Dxe_gt_idle.h12 struct xe_gt;
15 void xe_gt_idle_enable_c6(struct xe_gt *gt);
16 void xe_gt_idle_disable_c6(struct xe_gt *gt);
17 void xe_gt_idle_enable_pg(struct xe_gt *gt);
18 void xe_gt_idle_disable_pg(struct xe_gt *gt);
19 int xe_gt_idle_pg_print(struct xe_gt *gt, struct drm_printer *p);
H A Dxe_gt_sriov_pf_migration.h11 struct xe_gt;
13 int xe_gt_sriov_pf_migration_init(struct xe_gt *gt);
14 int xe_gt_sriov_pf_migration_save_guc_state(struct xe_gt *gt, unsigned int vfid);
15 int xe_gt_sriov_pf_migration_restore_guc_state(struct xe_gt *gt, unsigned int vfid);
18 ssize_t xe_gt_sriov_pf_migration_read_guc_state(struct xe_gt *gt, unsigned int vfid,
20 ssize_t xe_gt_sriov_pf_migration_write_guc_state(struct xe_gt *gt, unsigned int vfid,
H A Dxe_gt_mcr.c251 static void init_steering_l3bank(struct xe_gt *gt) in init_steering_l3bank()
289 static void init_steering_mslice(struct xe_gt *gt) in init_steering_mslice()
313 static unsigned int dss_per_group(struct xe_gt *gt) in dss_per_group()
387 static void init_steering_dss(struct xe_gt *gt) in init_steering_dss()
398 static void init_steering_oaddrm(struct xe_gt *gt) in init_steering_oaddrm()
412 static void init_steering_sqidi_psmi(struct xe_gt *gt) in init_steering_sqidi_psmi()
422 static void init_steering_inst0(struct xe_gt *gt) in init_steering_inst0()
430 void (*init)(struct xe_gt *gt);
450 void xe_gt_mcr_init_early(struct xe_gt *gt) in xe_gt_mcr_init_early()
464 void xe_gt_mcr_init(struct xe_gt *gt) in xe_gt_mcr_init()
[all …]
H A Dxe_gt_sriov_pf_migration.c36 static int pf_send_guc_query_vf_state_size(struct xe_gt *gt, unsigned int vfid) in pf_send_guc_query_vf_state_size()
45 static int pf_send_guc_save_vf_state(struct xe_gt *gt, unsigned int vfid, in pf_send_guc_save_vf_state()
81 static int pf_send_guc_restore_vf_state(struct xe_gt *gt, unsigned int vfid, in pf_send_guc_restore_vf_state()
116 static bool pf_migration_supported(struct xe_gt *gt) in pf_migration_supported()
122 static struct mutex *pf_migration_mutex(struct xe_gt *gt) in pf_migration_mutex()
128 static struct xe_gt_sriov_state_snapshot *pf_pick_vf_snapshot(struct xe_gt *gt, in pf_pick_vf_snapshot()
152 static int pf_alloc_guc_state(struct xe_gt *gt, in pf_alloc_guc_state()
191 static int pf_save_vf_guc_state(struct xe_gt *gt, unsigned int vfid) in pf_save_vf_guc_state()
251 static int pf_restore_vf_guc_state(struct xe_gt *gt, unsigned int vfid) in pf_restore_vf_guc_state()
385 static bool pf_check_migration_support(struct xe_gt *gt) in pf_check_migration_support()
[all …]
H A Dxe_gt.c67 struct xe_gt *gt = arg; in gt_fini()
74 struct xe_gt *gt; in xe_gt_alloc()
92 void xe_gt_sanitize(struct xe_gt *gt) in xe_gt_sanitize()
349 int xe_gt_init_early(struct xe_gt *gt) in xe_gt_init_early()
566 struct xe_gt *gt = arg; in xe_gt_fini()
575 int xe_gt_init(struct xe_gt *gt) in xe_gt_init()
635 void xe_gt_mmio_init(struct xe_gt *gt) in xe_gt_mmio_init()
771 static int gt_reset(struct xe_gt *gt) in gt_reset()
865 int xe_gt_suspend(struct xe_gt *gt) in xe_gt_suspend()
899 void xe_gt_shutdown(struct xe_gt *gt) in xe_gt_shutdown()
[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 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 Dxe_wa.h12 struct xe_gt;
16 int xe_wa_init(struct xe_gt *gt);
17 void xe_wa_process_oob(struct xe_gt *gt);
18 void xe_wa_process_gt(struct xe_gt *gt);
22 void xe_wa_dump(struct xe_gt *gt, struct drm_printer *p);
H A Dxe_gt_topology.h24 void xe_gt_topology_init(struct xe_gt *gt);
26 void xe_gt_topology_dump(struct xe_gt *gt, struct drm_printer *p);
47 xe_gt_topology_has_dss_in_quadrant(struct xe_gt *gt, int quad);
49 bool xe_gt_has_geometry_dss(struct xe_gt *gt, unsigned int dss);
50 bool xe_gt_has_compute_dss(struct xe_gt *gt, unsigned int dss);
H A Dxe_gt_sriov_vf.c51 static int vf_reset_guc_state(struct xe_gt *gt) in vf_reset_guc_state()
76 int xe_gt_sriov_vf_reset(struct xe_gt *gt) in xe_gt_sriov_vf_reset()
235 int xe_gt_sriov_vf_bootstrap(struct xe_gt *gt) in xe_gt_sriov_vf_bootstrap()
370 u32 xe_gt_sriov_vf_gmdid(struct xe_gt *gt) in xe_gt_sriov_vf_gmdid()
392 static int vf_get_ggtt_info(struct xe_gt *gt) in vf_get_ggtt_info()
424 static int vf_get_lmem_info(struct xe_gt *gt) in vf_get_lmem_info()
488 static void vf_cache_gmdid(struct xe_gt *gt) in vf_cache_gmdid()
537 u16 xe_gt_sriov_vf_guc_ids(struct xe_gt *gt) in xe_gt_sriov_vf_guc_ids()
554 u64 xe_gt_sriov_vf_lmem(struct xe_gt *gt) in xe_gt_sriov_vf_lmem()
582 static int vf_balloon_ggtt(struct xe_gt *gt) in vf_balloon_ggtt()
[all …]
H A Dxe_mocs.h10 struct xe_gt;
12 void xe_mocs_init_early(struct xe_gt *gt);
13 void xe_mocs_init(struct xe_gt *gt);
20 void xe_mocs_dump(struct xe_gt *gt, struct drm_printer *p);

1234567