Home
last modified time | relevance | path

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

123456

/Linux-v6.1/drivers/gpu/drm/i915/gt/
Dintel_gt_pm.c26 static void user_forcewake(struct intel_gt *gt, bool suspend) in user_forcewake()
44 static void runtime_begin(struct intel_gt *gt) in runtime_begin()
54 static void runtime_end(struct intel_gt *gt) in runtime_end()
68 struct intel_gt *gt = container_of(wf, typeof(*gt), wakeref); in __gt_unpark() local
100 struct intel_gt *gt = container_of(wf, typeof(*gt), wakeref); in __gt_park() local
130 void intel_gt_pm_init_early(struct intel_gt *gt) in intel_gt_pm_init_early()
143 void intel_gt_pm_init(struct intel_gt *gt) in intel_gt_pm_init()
154 static bool reset_engines(struct intel_gt *gt) in reset_engines()
162 static void gt_sanitize(struct intel_gt *gt, bool force) in gt_sanitize()
213 void intel_gt_pm_fini(struct intel_gt *gt) in intel_gt_pm_fini()
[all …]
Dintel_gt_pm.h14 static inline bool intel_gt_pm_is_awake(const struct intel_gt *gt) in intel_gt_pm_is_awake()
19 static inline void intel_gt_pm_get(struct intel_gt *gt) in intel_gt_pm_get()
24 static inline void __intel_gt_pm_get(struct intel_gt *gt) in __intel_gt_pm_get()
29 static inline bool intel_gt_pm_get_if_awake(struct intel_gt *gt) in intel_gt_pm_get_if_awake()
34 static inline void intel_gt_pm_might_get(struct intel_gt *gt) in intel_gt_pm_might_get()
39 static inline void intel_gt_pm_put(struct intel_gt *gt) in intel_gt_pm_put()
44 static inline void intel_gt_pm_put_async(struct intel_gt *gt) in intel_gt_pm_put_async()
49 static inline void intel_gt_pm_might_put(struct intel_gt *gt) in intel_gt_pm_might_put()
54 #define with_intel_gt_pm(gt, tmp) \ argument
66 #define with_intel_gt_pm_if_awake(gt, wf) \ argument
[all …]
Dintel_gt.c39 void intel_gt_common_init_early(struct intel_gt *gt) in intel_gt_common_init_early()
66 struct intel_gt *gt = to_gt(i915); in intel_root_gt_init_early() local
79 static int intel_gt_probe_lmem(struct intel_gt *gt) in intel_gt_probe_lmem()
111 int intel_gt_assign_ggtt(struct intel_gt *gt) in intel_gt_assign_ggtt()
118 int intel_gt_init_mmio(struct intel_gt *gt) in intel_gt_init_mmio()
129 static void init_unused_ring(struct intel_gt *gt, u32 base) in init_unused_ring()
139 static void init_unused_rings(struct intel_gt *gt) in init_unused_rings()
158 int intel_gt_init_hw(struct intel_gt *gt) in intel_gt_init_hw()
235 intel_gt_clear_error_registers(struct intel_gt *gt, in intel_gt_clear_error_registers()
278 static void gen6_check_faults(struct intel_gt *gt) in gen6_check_faults()
[all …]
Dintel_gt_irq.c25 gen11_gt_engine_identity(struct intel_gt *gt, in gen11_gt_engine_identity()
59 gen11_other_irq_handler(struct intel_gt *gt, const u8 instance, in gen11_other_irq_handler()
85 gen11_engine_irq_handler(struct intel_gt *gt, const u8 class, in gen11_engine_irq_handler()
116 gen11_gt_identity_handler(struct intel_gt *gt, const u32 identity) in gen11_gt_identity_handler()
136 gen11_gt_bank_handler(struct intel_gt *gt, const unsigned int bank) in gen11_gt_bank_handler()
156 void gen11_gt_irq_handler(struct intel_gt *gt, const u32 master_ctl) in gen11_gt_irq_handler()
170 bool gen11_gt_reset_one_iir(struct intel_gt *gt, in gen11_gt_reset_one_iir()
200 void gen11_gt_irq_reset(struct intel_gt *gt) in gen11_gt_irq_reset()
248 void gen11_gt_irq_postinstall(struct intel_gt *gt) in gen11_gt_irq_postinstall()
316 void gen5_gt_irq_handler(struct intel_gt *gt, u32 gt_iir) in gen5_gt_irq_handler()
[all …]
Dintel_reset.c167 static int i915_do_reset(struct intel_gt *gt, in i915_do_reset()
196 static int g33_do_reset(struct intel_gt *gt, in g33_do_reset()
206 static int g4x_do_reset(struct intel_gt *gt, in g4x_do_reset()
243 static int ilk_do_reset(struct intel_gt *gt, intel_engine_mask_t engine_mask, in ilk_do_reset()
278 static int gen6_hw_domain_reset(struct intel_gt *gt, u32 hw_domain_mask) in gen6_hw_domain_reset()
303 static int __gen6_reset_engines(struct intel_gt *gt, in __gen6_reset_engines()
324 static int gen6_reset_engines(struct intel_gt *gt, in gen6_reset_engines()
504 static int __gen11_reset_engines(struct intel_gt *gt, in __gen11_reset_engines()
593 static int gen8_reset_engines(struct intel_gt *gt, in gen8_reset_engines()
648 static int mock_reset(struct intel_gt *gt, in mock_reset()
[all …]
Dintel_gt_sysfs_pm.c28 int (func)(struct intel_gt *gt, u32 val), u32 val) in sysfs_gt_attribute_w_func()
30 struct intel_gt *gt; in sysfs_gt_attribute_w_func() local
52 u32 (func)(struct intel_gt *gt), in sysfs_gt_attribute_r_func()
55 struct intel_gt *gt; in sysfs_gt_attribute_r_func() local
96 static u32 get_residency(struct intel_gt *gt, i915_reg_t reg) in get_residency()
111 struct intel_gt *gt = intel_gt_sysfs_get_drvdata(dev, attr->attr.name); in rc6_enable_show() local
124 static u32 __rc6_residency_ms_show(struct intel_gt *gt) in __rc6_residency_ms_show()
139 static u32 __rc6p_residency_ms_show(struct intel_gt *gt) in __rc6p_residency_ms_show()
154 static u32 __rc6pp_residency_ms_show(struct intel_gt *gt) in __rc6pp_residency_ms_show()
169 static u32 __media_rc6_residency_ms_show(struct intel_gt *gt) in __media_rc6_residency_ms_show()
[all …]
Dintel_gt_pm_debugfs.c27 void intel_gt_pm_debugfs_forcewake_user_open(struct intel_gt *gt) in intel_gt_pm_debugfs_forcewake_user_open()
35 void intel_gt_pm_debugfs_forcewake_user_release(struct intel_gt *gt) in intel_gt_pm_debugfs_forcewake_user_release()
45 struct intel_gt *gt = inode->i_private; in forcewake_user_open() local
54 struct intel_gt *gt = inode->i_private; in forcewake_user_release() local
69 struct intel_gt *gt = m->private; in fw_domains_show() local
90 struct intel_gt *gt = m->private; in print_rc6_res() local
101 struct intel_gt *gt = m->private; in vlv_drpc() local
126 struct intel_gt *gt = m->private; in gen6_drpc() local
215 struct intel_gt *gt = m->private; in ilk_drpc() local
274 struct intel_gt *gt = m->private; in drpc_show() local
[all …]
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()
Dintel_gt_mcr.c92 void intel_gt_mcr_init(struct intel_gt *gt) in intel_gt_mcr_init()
235 u32 intel_gt_mcr_read(struct intel_gt *gt, in intel_gt_mcr_read()
253 void intel_gt_mcr_unicast_write(struct intel_gt *gt, i915_reg_t reg, u32 value, in intel_gt_mcr_unicast_write()
267 void intel_gt_mcr_multicast_write(struct intel_gt *gt, in intel_gt_mcr_multicast_write()
284 void intel_gt_mcr_multicast_write_fw(struct intel_gt *gt, i915_reg_t reg, u32 value) in intel_gt_mcr_multicast_write_fw()
303 static bool reg_needs_read_steering(struct intel_gt *gt, in reg_needs_read_steering()
331 static void get_nonterminated_steering(struct intel_gt *gt, in get_nonterminated_steering()
382 void intel_gt_mcr_get_nonterminated_steering(struct intel_gt *gt, in intel_gt_mcr_get_nonterminated_steering()
412 u32 intel_gt_mcr_read_any_fw(struct intel_gt *gt, i915_reg_t reg) in intel_gt_mcr_read_any_fw()
439 u32 intel_gt_mcr_read_any(struct intel_gt *gt, i915_reg_t reg) in intel_gt_mcr_read_any()
[all …]
Dintel_gt.h16 #define GT_TRACE(gt, fmt, ...) do { \ argument
22 static inline bool gt_is_root(struct intel_gt *gt) in gt_is_root()
69 static inline u32 intel_gt_scratch_offset(const struct intel_gt *gt, in intel_gt_scratch_offset()
75 static inline bool intel_gt_has_unrecoverable_error(const struct intel_gt *gt) in intel_gt_has_unrecoverable_error()
81 static inline bool intel_gt_is_wedged(const struct intel_gt *gt) in intel_gt_is_wedged()
104 static inline u32 intel_gt_tlb_seqno(const struct intel_gt *gt) in intel_gt_tlb_seqno()
109 static inline u32 intel_gt_next_invalidate_tlb_full(const struct intel_gt *gt) in intel_gt_next_invalidate_tlb_full()
Dintel_gt_requests.c34 static bool flush_submission(struct intel_gt *gt, long timeout) in flush_submission()
133 long intel_gt_retire_requests_timeout(struct intel_gt *gt, long timeout, in intel_gt_retire_requests_timeout()
207 struct intel_gt *gt = in retire_work_handler() local
215 void intel_gt_init_requests(struct intel_gt *gt) in intel_gt_init_requests()
220 void intel_gt_park_requests(struct intel_gt *gt) in intel_gt_park_requests()
225 void intel_gt_unpark_requests(struct intel_gt *gt) in intel_gt_unpark_requests()
231 void intel_gt_fini_requests(struct intel_gt *gt) in intel_gt_fini_requests()
241 struct intel_gt *gt = in intel_gt_watchdog_work() local
Dintel_workarounds.c422 struct intel_gt *gt = engine->gt; in skl_tune_iz_hashing() local
864 gen4_gt_workarounds_init(struct intel_gt *gt, in gen4_gt_workarounds_init()
872 g4x_gt_workarounds_init(struct intel_gt *gt, struct i915_wa_list *wal) in g4x_gt_workarounds_init()
881 ilk_gt_workarounds_init(struct intel_gt *gt, struct i915_wa_list *wal) in ilk_gt_workarounds_init()
889 snb_gt_workarounds_init(struct intel_gt *gt, struct i915_wa_list *wal) in snb_gt_workarounds_init()
894 ivb_gt_workarounds_init(struct intel_gt *gt, struct i915_wa_list *wal) in ivb_gt_workarounds_init()
910 vlv_gt_workarounds_init(struct intel_gt *gt, struct i915_wa_list *wal) in vlv_gt_workarounds_init()
923 hsw_gt_workarounds_init(struct intel_gt *gt, struct i915_wa_list *wal) in hsw_gt_workarounds_init()
976 gen9_gt_workarounds_init(struct intel_gt *gt, struct i915_wa_list *wal) in gen9_gt_workarounds_init()
1007 skl_gt_workarounds_init(struct intel_gt *gt, struct i915_wa_list *wal) in skl_gt_workarounds_init()
[all …]
Dintel_sseu_debugfs.c15 static void cherryview_sseu_device_status(struct intel_gt *gt, in cherryview_sseu_device_status()
49 static void gen11_sseu_device_status(struct intel_gt *gt, in gen11_sseu_device_status()
109 static void gen9_sseu_device_status(struct intel_gt *gt, in gen9_sseu_device_status()
168 static void bdw_sseu_device_status(struct intel_gt *gt, in bdw_sseu_device_status()
231 int intel_sseu_status(struct seq_file *m, struct intel_gt *gt) in intel_sseu_status()
274 struct intel_gt *gt = m->private; in sseu_status_show() local
282 struct intel_gt *gt = m->private; in sseu_topology_show() local
291 void intel_sseu_debugfs_register(struct intel_gt *gt, struct dentry *root) in intel_sseu_debugfs_register()
Dselftest_hangcheck.c33 struct intel_gt *gt; member
41 static int hang_init(struct hang *h, struct intel_gt *gt) in hang_init()
121 struct intel_gt *gt = h->gt; in hang_create_request() local
301 struct intel_gt *gt = arg; in igt_hang_sanitycheck() local
365 struct intel_gt *gt = arg; in igt_reset_nop() local
441 struct intel_gt *gt = arg; in igt_reset_nop_engine() local
562 struct intel_gt *gt = arg; in igt_reset_fail_engine() local
699 static int __igt_reset_engine(struct intel_gt *gt, bool active) in __igt_reset_engine()
973 static int __igt_reset_engines(struct intel_gt *gt, in __igt_reset_engines()
1274 struct intel_gt *gt = arg; in igt_reset_engines() local
[all …]
Dselftest_reset.c18 __igt_reset_stolen(struct intel_gt *gt, in __igt_reset_stolen()
188 struct intel_gt *gt = arg; in igt_reset_engines_stolen() local
207 struct intel_gt *gt = arg; in igt_global_reset() local
237 struct intel_gt *gt = arg; in igt_wedged_reset() local
258 struct intel_gt *gt = arg; in igt_atomic_reset() local
302 struct intel_gt *gt = arg; in igt_atomic_engine_reset() local
379 struct intel_gt *gt = to_gt(i915); in intel_reset_live_selftests() local
Dintel_gt_clock_utils.c146 void intel_gt_init_clock_frequency(struct intel_gt *gt) in intel_gt_init_clock_frequency()
165 void intel_gt_check_clock_frequency(const struct intel_gt *gt) in intel_gt_check_clock_frequency()
181 u64 intel_gt_clock_interval_to_ns(const struct intel_gt *gt, u64 count) in intel_gt_clock_interval_to_ns()
186 u64 intel_gt_pm_interval_to_ns(const struct intel_gt *gt, u64 count) in intel_gt_pm_interval_to_ns()
191 u64 intel_gt_ns_to_clock_interval(const struct intel_gt *gt, u64 ns) in intel_gt_ns_to_clock_interval()
196 u64 intel_gt_ns_to_pm_interval(const struct intel_gt *gt, u64 ns) in intel_gt_ns_to_pm_interval()
Dintel_gt_debugfs.c18 int intel_gt_debugfs_reset_show(struct intel_gt *gt, u64 *val) in intel_gt_debugfs_reset_show()
34 void intel_gt_debugfs_reset_store(struct intel_gt *gt, u64 val) in intel_gt_debugfs_reset_store()
66 struct intel_gt *gt = m->private; in steering_show() local
74 static void gt_debugfs_register(struct intel_gt *gt, struct dentry *root) in gt_debugfs_register()
84 void intel_gt_debugfs_register(struct intel_gt *gt) in intel_gt_debugfs_register()
Dselftest_execlists.c113 struct intel_gt *gt = arg; in live_sanitycheck() local
166 static int live_unlite_restore(struct intel_gt *gt, int prio) in live_unlite_restore()
329 struct intel_gt *gt = arg; in live_unlite_ring() local
479 struct intel_gt *gt = arg; in live_pin_rewind() local
583 struct intel_gt *gt = arg; in live_hold_reset() local
690 struct intel_gt *gt = arg; in live_error_interrupt() local
980 struct intel_gt *gt = arg; in live_timeslice_preempt() local
1115 struct intel_gt *gt = arg; in live_timeslice_rewind() local
1288 struct intel_gt *gt = arg; in live_timeslice_queue() local
1414 struct intel_gt *gt = arg; in live_timeslice_nopreempt() local
[all …]
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(dev, attr->attr.name); in id_show() local
81 void intel_gt_sysfs_register(struct intel_gt *gt) in intel_gt_sysfs_register()
113 void intel_gt_sysfs_unregister(struct intel_gt *gt) in intel_gt_sysfs_unregister()
/Linux-v6.1/arch/riscv/kvm/
Dvcpu_timer.c18 static u64 kvm_riscv_current_cycles(struct kvm_guest_timer *gt) in kvm_riscv_current_cycles()
24 struct kvm_guest_timer *gt, in kvm_riscv_delta_cycles2ns()
47 struct kvm_guest_timer *gt = &vcpu->kvm->arch.timer; in kvm_riscv_vcpu_hrtimer_expired() local
86 struct kvm_guest_timer *gt = &vcpu->kvm->arch.timer; in kvm_riscv_vcpu_update_hrtimer() local
114 struct kvm_guest_timer *gt = &vcpu->kvm->arch.timer; in kvm_riscv_vcpu_vstimer_expired() local
131 struct kvm_guest_timer *gt = &vcpu->kvm->arch.timer; in kvm_riscv_vcpu_timer_pending() local
143 struct kvm_guest_timer *gt = &vcpu->kvm->arch.timer; in kvm_riscv_vcpu_timer_blocking() local
165 struct kvm_guest_timer *gt = &vcpu->kvm->arch.timer; in kvm_riscv_vcpu_get_reg_timer() local
205 struct kvm_guest_timer *gt = &vcpu->kvm->arch.timer; in kvm_riscv_vcpu_set_reg_timer() local
290 struct kvm_guest_timer *gt = &vcpu->kvm->arch.timer; in kvm_riscv_vcpu_update_timedelta() local
[all …]
/Linux-v6.1/drivers/gpu/drm/i915/gt/uc/
Dintel_guc.c42 struct intel_gt *gt = guc_to_gt(guc); in intel_guc_notify() local
64 struct intel_gt *gt = guc_to_gt(guc); in intel_guc_init_send_regs() local
81 struct intel_gt *gt = guc_to_gt(guc); in gen9_reset_guc_interrupts() local
92 struct intel_gt *gt = guc_to_gt(guc); in gen9_enable_guc_interrupts() local
105 struct intel_gt *gt = guc_to_gt(guc); in gen9_disable_guc_interrupts() local
121 struct intel_gt *gt = guc_to_gt(guc); in gen11_reset_guc_interrupts() local
130 struct intel_gt *gt = guc_to_gt(guc); in gen11_enable_guc_interrupts() local
144 struct intel_gt *gt = guc_to_gt(guc); in gen11_disable_guc_interrupts() local
256 struct intel_gt *gt = guc_to_gt(guc); in guc_ctl_wa_flags() local
363 struct intel_gt *gt = guc_to_gt(guc); in intel_guc_dump_time_info() local
[all …]
Dintel_guc_ads.c142 struct intel_gt *gt = guc_to_gt(guc); in guc_policies_init() local
185 struct intel_gt *gt = guc_to_gt(guc); in intel_guc_global_policies_update() local
207 static void guc_mapping_table_init(struct intel_gt *gt, in guc_mapping_table_init()
286 static long __must_check guc_mmio_reg_add(struct intel_gt *gt, in guc_mmio_reg_add()
335 #define GUC_MMIO_REG_ADD(gt, regset, reg, masked) \ argument
344 struct intel_gt *gt = engine->gt; in guc_mmio_regset_init() local
383 struct intel_gt *gt = guc_to_gt(guc); in guc_mmio_reg_state_create() local
415 struct intel_gt *gt = guc_to_gt(guc); in guc_mmio_reg_state_init() local
456 static void fill_engine_enable_masks(struct intel_gt *gt, in fill_engine_enable_masks()
474 struct intel_gt *gt = guc_to_gt(guc); in guc_prep_golden_context() local
[all …]
/Linux-v6.1/drivers/gpu/drm/i915/pxp/
Dintel_pxp_irq.c23 struct intel_gt *gt = pxp_to_gt(pxp); in intel_pxp_irq_handler() local
47 static inline void __pxp_set_interrupts(struct intel_gt *gt, u32 interrupts) in __pxp_set_interrupts()
56 static inline void pxp_irq_reset(struct intel_gt *gt) in pxp_irq_reset()
65 struct intel_gt *gt = pxp_to_gt(pxp); in intel_pxp_irq_enable() local
80 struct intel_gt *gt = pxp_to_gt(pxp); in intel_pxp_irq_disable() local
Dintel_pxp.c62 static void kcr_pxp_enable(struct intel_gt *gt) in kcr_pxp_enable()
68 static void kcr_pxp_disable(struct intel_gt *gt) in kcr_pxp_disable()
77 struct intel_gt *gt = pxp_to_gt(pxp); in create_vcs_context() local
111 struct intel_gt *gt = pxp_to_gt(pxp); in intel_pxp_init() local
166 struct intel_gt *gt = pxp_to_gt(pxp); in pxp_queue_termination() local
/Linux-v6.1/drivers/gpu/drm/i915/
Di915_gpu_error.c718 struct intel_gt_coredump *gt) in err_print_gt_info()
727 struct intel_gt_coredump *gt) in err_print_gt_display()
734 struct intel_gt_coredump *gt) in err_print_gt_global_nonguc()
749 struct intel_gt_coredump *gt) in err_print_gt_global()
793 struct intel_gt_coredump *gt) in err_print_gt_fences()
802 struct intel_gt_coredump *gt) in err_print_gt_engines()
1035 static void cleanup_gt(struct intel_gt_coredump *gt) in cleanup_gt()
1059 struct intel_gt_coredump *gt = error->gt; in __i915_gpu_coredump_free() local
1074 i915_vma_coredump_create(const struct intel_gt *gt, in i915_vma_coredump_create()
1192 static void gt_record_fences(struct intel_gt_coredump *gt) in gt_record_fences()
[all …]

123456