Home
last modified time | relevance | path

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

12345

/linux/drivers/gpu/drm/xe/
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_debugfs.c84 struct xe_gt *gt = node_to_gt(node); in xe_gt_debugfs_simple_show() local
105 struct xe_gt *gt = node_to_gt(node); in xe_gt_debugfs_show_with_rpm() local
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()
196 static int bcs_default_lrc(struct xe_gt *gt, struct drm_printer *p) in bcs_default_lrc()
202 static int vcs_default_lrc(struct xe_gt *gt, struct drm_printer *p) in vcs_default_lrc()
[all …]
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() local
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() local
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_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_rtp.c35 struct xe_gt *gt; member
51 struct xe_gt *gt = match_ctx->gt; in rule_match_item() local
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() local
398 struct xe_gt *gt; in xe_rtp_process() local
417 const struct xe_gt *gt, in xe_rtp_match_always()
[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_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 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_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 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_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()
/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
/linux/drivers/gpu/drm/xe/tests/
H A Dxe_rtp_test.c66 static bool fake_xe_gt_mcr_check_reg(struct xe_gt *gt, struct xe_reg reg) in fake_xe_gt_mcr_check_reg()
83 static bool match_yes(const struct xe_device *xe, const struct xe_gt *gt, in match_yes()
89 static bool match_no(const struct xe_device *xe, const struct xe_gt *gt, in match_no()
273 struct xe_gt *gt = xe_device_get_root_tile(xe)->primary_gt; in xe_rtp_rules_tests() local
283 static u32 bits_2_3_set(struct xe_gt *gt, struct xe_hw_engine *hwe) in bits_2_3_set()
533 struct xe_gt *gt = xe_device_get_root_tile(xe)->primary_gt; in xe_rtp_process_to_sr_tests() local
653 struct xe_gt *gt = xe_device_get_root_tile(xe)->primary_gt; in xe_rtp_process_tests() local

12345