Home
last modified time | relevance | path

Searched defs:gt (Results 1 – 25 of 88) sorted by relevance

1234

/linux/drivers/gpu/drm/xe/
H A Dxe_gt_sriov_vf.c53 static void vf_post_migration_inject_wait(struct xe_gt *gt, in vf_post_migration_inject_wait()
66 #define VF_MIGRATION_INJECT_WAIT(gt, _POS) ({ \ argument
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()
348 static int vf_resfix_start(struct xe_gt *gt, u16 marker) in vf_resfix_start()
[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_gsc.c47 struct xe_gt *gt = gsc_to_gt(gsc); in memcpy_fw() local
72 struct xe_gt *gt = gsc_to_gt(gsc); in emit_gsc_upload() local
130 struct xe_gt *gt = gsc_to_gt(gsc); in query_compatibility_version() local
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() local
264 struct xe_gt *gt = gsc_to_gt(gsc); in gsc_upload_and_init() local
310 static int gsc_er_complete(struct xe_gt *gt) in gsc_er_complete()
353 struct xe_gt *gt = gsc_to_gt(gsc); in gsc_work() local
385 struct xe_gt *gt = hwe->gt; in xe_gsc_hwe_irq_handler() local
[all …]
H A Dxe_gsc_proxy.c68 struct xe_gt *gt = gsc_to_gt(gsc); in xe_gsc_proxy_init_done() local
77 struct xe_gt *gt = gsc_to_gt(gsc); in xe_gsc_wait_for_proxy_init_done() local
88 struct xe_gt *gt = gsc_to_gt(gsc); in __gsc_proxy_irq_rmw() local
112 struct xe_gt *gt = gsc_to_gt(gsc); in proxy_send_to_csme() local
133 struct xe_gt *gt = gsc_to_gt(gsc); in proxy_send_to_gsc() local
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() local
327 struct xe_gt *gt = gsc_to_gt(gsc); in xe_gsc_proxy_request_handler() local
360 struct xe_gt *gt = gsc_to_gt(gsc); in xe_gsc_proxy_irq_handler() local
381 struct xe_gt *gt = xe->tiles[0].media_gt; in xe_gsc_proxy_component_bind() local
[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() local
113 struct xe_gt *gt = kobj_to_gt(&kdev->kobj); in ccs_mode_show() local
122 struct xe_gt *gt = kobj_to_gt(&kdev->kobj); in ccs_mode_store() local
187 struct xe_gt *gt = arg; in xe_gt_ccs_mode_sysfs_fini() local
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.c148 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() local
228 struct xe_gt *gt = extract_gt(file_inode(file)->i_private); in sched_groups_write() local
276 struct xe_gt *gt = extract_gt(m->private); in sched_groups_config_show() local
300 struct xe_gt *gt = extract_gt(parent); in sched_groups_config_write() local
371 struct xe_gt *gt = extract_gt(dent->d_parent->d_parent); in sched_group_engines_read() local
405 static void pf_add_sched_groups(struct xe_gt *gt, struct dentry *parent, unsigned int vfid) in pf_add_sched_groups()
535 struct xe_gt *gt = extract_gt(data); in set_threshold() local
553 struct xe_gt *gt = extract_gt(data); in get_threshold() local
628 struct xe_gt *gt = extract_gt(parent); in control_write() local
[all …]
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_throttle.c84 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() local
123 struct xe_gt *gt = throttle_to_gt(kobj); in reasons_show() local
249 struct xe_gt *gt = arg; in gt_throttle_sysfs_fini() local
256 int xe_gt_throttle_init(struct xe_gt *gt) in xe_gt_throttle_init()
H A Dxe_gt_sriov_pf_helpers.h23 #define xe_gt_sriov_pf_assert_vfid(gt, vfid) xe_sriov_pf_assert_vfid(gt_to_xe(gt), (vfid)) argument
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 Dxe_pmu.c94 u64 gt = config_to_gt_id(event->attr.config); in event_to_gt() local
137 struct xe_gt *gt; in event_gt_forcewake() local
164 struct xe_gt *gt = xe_device_get_gt(xe, gt_id); in event_supported() local
178 struct xe_gt *gt; in event_param_valid() local
217 struct xe_gt *gt; in xe_pmu_event_destroy() local
236 unsigned int id, gt; in xe_pmu_event_init() local
276 static u64 read_engine_events(struct xe_gt *gt, struct perf_event *event) in read_engine_events()
296 struct xe_gt *gt = event_to_gt(event); in __xe_pmu_event_read() local
500 struct xe_gt *gt; in set_supported_events() local
/linux/drivers/gpu/drm/i915/gt/
H A Dintel_gt.h20 #define IS_GFX_GT_IP_RANGE(gt, from, until) ( \ argument
34 #define IS_MEDIA_GT_IP_RANGE(gt, from, until) ( \ argument
56 #define IS_GFX_GT_IP_STEP(gt, ipver, from, until) ( \ argument
74 #define IS_MEDIA_GT_IP_STEP(gt, ipver, from, until) ( \ argument
79 #define GT_TRACE(gt, fmt, ...) do { \ argument
85 static inline bool gt_is_root(struct intel_gt *gt) in gt_is_root()
127 static inline struct intel_guc *gt_to_guc(struct intel_gt *gt) in gt_to_guc()
155 static inline u32 intel_gt_scratch_offset(const struct intel_gt *gt, in intel_gt_scratch_offset()
161 static inline bool intel_gt_has_unrecoverable_error(const struct intel_gt *gt) in intel_gt_has_unrecoverable_error()
167 static inline bool intel_gt_is_wedged(const struct intel_gt *gt) in intel_gt_is_wedged()
[all …]
H A Dintel_gt_pm_irq.c13 static void write_pm_imr(struct intel_gt *gt) in write_pm_imr()
32 static void gen6_gt_pm_update_irq(struct intel_gt *gt, in gen6_gt_pm_update_irq()
52 void gen6_gt_pm_unmask_irq(struct intel_gt *gt, u32 mask) in gen6_gt_pm_unmask_irq()
57 void gen6_gt_pm_mask_irq(struct intel_gt *gt, u32 mask) in gen6_gt_pm_mask_irq()
62 void gen6_gt_pm_reset_iir(struct intel_gt *gt, u32 reset_mask) in gen6_gt_pm_reset_iir()
74 static void write_pm_ier(struct intel_gt *gt) in write_pm_ier()
93 void gen6_gt_pm_enable_irq(struct intel_gt *gt, u32 enable_mask) in gen6_gt_pm_enable_irq()
102 void gen6_gt_pm_disable_irq(struct intel_gt *gt, u32 disable_mask) in gen6_gt_pm_disable_irq()
H A Dintel_gt_buffer_pool.c92 struct intel_gt *gt = container_of(pool, struct intel_gt, buffer_pool); in pool_free_work() local
104 struct intel_gt *gt = container_of(pool, struct intel_gt, buffer_pool); in pool_retire() local
143 struct intel_gt *gt = container_of(pool, struct intel_gt, buffer_pool); in node_create() local
172 intel_gt_get_buffer_pool(struct intel_gt *gt, size_t size, in intel_gt_get_buffer_pool()
221 void intel_gt_init_buffer_pool(struct intel_gt *gt) in intel_gt_init_buffer_pool()
232 void intel_gt_flush_buffer_pool(struct intel_gt *gt) in intel_gt_flush_buffer_pool()
242 void intel_gt_fini_buffer_pool(struct intel_gt *gt) in intel_gt_fini_buffer_pool()
H A Dselftest_slpc.c22 struct intel_gt *gt; member
53 static int slpc_set_freq(struct intel_gt *gt, u32 freq) in slpc_set_freq()
113 static u64 measure_power_at_freq(struct intel_gt *gt, int *freq, u64 *power) in measure_power_at_freq()
198 static int slpc_power(struct intel_gt *gt, struct intel_engine_cs *engine) in slpc_power()
252 struct intel_gt *gt = rps_to_gt(rps); in max_granted_freq() local
278 static int run_test(struct intel_gt *gt, int test_type) in run_test()
426 struct intel_gt *gt; in live_slpc_vary_min() local
442 struct intel_gt *gt; in live_slpc_vary_max() local
459 struct intel_gt *gt; in live_slpc_max_granted() local
475 struct intel_gt *gt; in live_slpc_power() local
[all …]
H A Dselftest_hangcheck.c33 struct intel_gt *gt; member
41 static int hang_init(struct hang *h, struct intel_gt *gt) in hang_init()
106 struct intel_gt *gt = h->gt; in hang_create_request() local
286 struct intel_gt *gt = arg; in igt_hang_sanitycheck() local
350 struct intel_gt *gt = arg; in igt_reset_nop() local
426 struct intel_gt *gt = arg; in igt_reset_nop_engine() local
547 struct intel_gt *gt = arg; in igt_reset_fail_engine() local
684 static int __igt_reset_engine(struct intel_gt *gt, bool active) in __igt_reset_engine()
962 static int __igt_reset_engines(struct intel_gt *gt, in __igt_reset_engines()
1268 struct intel_gt *gt = arg; in igt_reset_engines() local
[all …]
H A Dselftest_reset.c18 __igt_reset_stolen(struct intel_gt *gt, in __igt_reset_stolen()
192 struct intel_gt *gt = arg; in igt_reset_engines_stolen() local
211 struct intel_gt *gt = arg; in igt_global_reset() local
241 struct intel_gt *gt = arg; in igt_wedged_reset() local
262 struct intel_gt *gt = arg; in igt_atomic_reset() local
307 struct intel_gt *gt = arg; in igt_atomic_engine_reset() local
385 struct intel_gt *gt = to_gt(i915); in intel_reset_live_selftests() local
H A Dselftest_execlists.c114 struct intel_gt *gt = arg; in live_sanitycheck() local
167 static int live_unlite_restore(struct intel_gt *gt, int prio) in live_unlite_restore()
330 struct intel_gt *gt = arg; in live_unlite_ring() local
480 struct intel_gt *gt = arg; in live_pin_rewind() local
584 struct intel_gt *gt = arg; in live_hold_reset() local
691 struct intel_gt *gt = arg; in live_error_interrupt() local
981 struct intel_gt *gt = arg; in live_timeslice_preempt() local
1116 struct intel_gt *gt = arg; in live_timeslice_rewind() local
1289 struct intel_gt *gt = arg; in live_timeslice_queue() local
1415 struct intel_gt *gt = arg; in live_timeslice_nopreempt() local
[all …]
H A Dintel_gt_sysfs.c49 static struct kobject *gt_get_parent_obj(struct intel_gt *gt) in gt_get_parent_obj()
58 struct intel_gt *gt = intel_gt_sysfs_get_drvdata(kobj, attr->attr.name); in id_show() local
81 void intel_gt_sysfs_register(struct intel_gt *gt) in intel_gt_sysfs_register()
112 void intel_gt_sysfs_unregister(struct intel_gt *gt) in intel_gt_sysfs_unregister()
H A Dintel_timeline.c20 static struct i915_vma *hwsp_alloc(struct intel_gt *gt) in hwsp_alloc()
77 struct intel_gt *gt, in intel_timeline_init()
116 void intel_gt_init_timelines(struct intel_gt *gt) in intel_gt_init_timelines()
147 __intel_timeline_create(struct intel_gt *gt, in __intel_timeline_create()
404 void intel_gt_fini_timelines(struct intel_gt *gt) in intel_gt_fini_timelines()
411 void intel_gt_show_timelines(struct intel_gt *gt, in intel_gt_show_timelines()
H A Dselftest_migrate.c490 struct intel_gt *gt = arg; in live_migrate_copy() local
512 struct intel_gt *gt = arg; in live_migrate_clear() local
548 struct intel_gt *gt = arg; in live_emit_pte_full_ring() local
747 struct intel_gt *gt = arg; in thread_migrate_copy() local
762 struct intel_gt *gt = arg; in thread_global_copy() local
784 struct intel_gt *gt = arg; in thread_migrate_clear() local
792 struct intel_gt *gt = arg; in thread_global_clear() local
809 struct intel_gt *gt = to_gt(i915); in intel_migrate_live_selftests() local
818 create_init_lmem_internal(struct intel_gt *gt, size_t sz, bool try_lmem) in create_init_lmem_internal()
893 struct intel_gt *gt = arg; in perf_clear_blt() local
[all …]
/linux/drivers/gpu/drm/i915/gt/uc/
H A Dintel_gsc_uc.c19 struct intel_gt *gt = gsc_uc_to_gt(gsc); in gsc_work() local
98 static bool gsc_engine_supported(struct intel_gt *gt) in gsc_engine_supported()
120 struct intel_gt *gt = gsc_uc_to_gt(gsc); in intel_gsc_uc_init_early() local
148 struct intel_gt *gt = gsc_uc_to_gt(gsc); in gsc_allocate_and_map_vma() local
213 struct intel_gt *gt = gsc_uc_to_gt(gsc); in intel_gsc_uc_init() local
303 struct intel_gt *gt = gsc_uc_to_gt(gsc); in intel_gsc_uc_load_start() local
320 struct intel_gt *gt = gsc_uc_to_gt(gsc); in intel_gsc_uc_load_status() local
H A Dintel_guc_ads.c163 struct intel_gt *gt = guc_to_gt(guc); in guc_policies_init() local
206 struct intel_gt *gt = guc_to_gt(guc); in intel_guc_global_policies_update() local
228 static void guc_mapping_table_init(struct intel_gt *gt, in guc_mapping_table_init()
301 static long __must_check guc_mmio_reg_add(struct intel_gt *gt, in guc_mmio_reg_add()
337 #define GUC_MMIO_REG_ADD(gt, regset, reg, masked) \ argument
349 static long __must_check guc_mcr_reg_add(struct intel_gt *gt, in guc_mcr_reg_add()
369 #define GUC_MCR_REG_ADD(gt, regset, reg, masked) \ argument
378 struct intel_gt *gt = engine->gt; in guc_mmio_regset_init() local
435 struct intel_gt *gt = guc_to_gt(guc); in guc_mmio_reg_state_create() local
467 struct intel_gt *gt = guc_to_gt(guc); in guc_mmio_reg_state_init() local
[all …]
/linux/drivers/gpu/drm/i915/selftests/
H A Digt_reset.c14 void igt_global_reset_lock(struct intel_gt *gt) in igt_global_reset_lock()
33 void igt_global_reset_unlock(struct intel_gt *gt) in igt_global_reset_unlock()
45 bool igt_force_reset(struct intel_gt *gt) in igt_force_reset()
H A Di915_gem_evict.c109 struct intel_gt *gt = arg; in igt_evict_something() local
155 struct intel_gt *gt = arg; in igt_overcommit() local
192 struct intel_gt *gt = arg; in igt_evict_for_vma() local
243 struct intel_gt *gt = arg; in igt_evict_for_cache_color() local
334 struct intel_gt *gt = arg; in igt_evict_vm() local
378 struct intel_gt *gt = arg; in igt_evict_contexts() local
/linux/drivers/gpu/drm/i915/gem/selftests/
H A Di915_gem_migrate.c16 struct intel_gt *gt, in igt_fill_check_buffer()
46 static int igt_create_migrate(struct intel_gt *gt, enum intel_region_id src, in igt_create_migrate()
182 static int __igt_lmem_pages_migrate(struct intel_gt *gt, in __igt_lmem_pages_migrate()
293 struct intel_gt *gt = arg; in igt_lmem_pages_failsafe_migrate() local
371 static int igt_async_migrate(struct intel_gt *gt) in igt_async_migrate()
451 struct intel_gt *gt = arg; in igt_lmem_async_migrate() local

1234