Home
last modified time | relevance | path

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

1234567891011

/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/
Dintel_gt_pm.c27 static void user_forcewake(struct intel_gt *gt, bool suspend) in user_forcewake()
45 static void runtime_begin(struct intel_gt *gt) in runtime_begin()
55 static void runtime_end(struct intel_gt *gt) in runtime_end()
69 struct intel_gt *gt = container_of(wf, typeof(*gt), wakeref); in __gt_unpark() local
101 struct intel_gt *gt = container_of(wf, typeof(*gt), wakeref); in __gt_park() local
131 void intel_gt_pm_init_early(struct intel_gt *gt) in intel_gt_pm_init_early()
144 void intel_gt_pm_init(struct intel_gt *gt) in intel_gt_pm_init()
155 static bool reset_engines(struct intel_gt *gt) in reset_engines()
163 static void gt_sanitize(struct intel_gt *gt, bool force) in gt_sanitize()
214 void intel_gt_pm_fini(struct intel_gt *gt) in intel_gt_pm_fini()
[all …]
Dintel_gt.c40 void intel_gt_common_init_early(struct intel_gt *gt) in intel_gt_common_init_early()
65 struct intel_gt *gt = to_gt(i915); in intel_root_gt_init_early() local
78 static int intel_gt_probe_lmem(struct intel_gt *gt) in intel_gt_probe_lmem()
109 int intel_gt_assign_ggtt(struct intel_gt *gt) in intel_gt_assign_ggtt()
125 int intel_gt_init_mmio(struct intel_gt *gt) in intel_gt_init_mmio()
136 static void init_unused_ring(struct intel_gt *gt, u32 base) in init_unused_ring()
146 static void init_unused_rings(struct intel_gt *gt) in init_unused_rings()
165 int intel_gt_init_hw(struct intel_gt *gt) in intel_gt_init_hw()
226 i915_reg_t intel_gt_perf_limit_reasons_reg(struct intel_gt *gt) in intel_gt_perf_limit_reasons_reg()
237 intel_gt_clear_error_registers(struct intel_gt *gt, in intel_gt_clear_error_registers()
[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_irq.c31 gen11_gt_engine_identity(struct intel_gt *gt, in gen11_gt_engine_identity()
65 gen11_other_irq_handler(struct intel_gt *gt, const u8 instance, in gen11_other_irq_handler()
93 static struct intel_gt *pick_gt(struct intel_gt *gt, u8 class, u8 instance) in pick_gt()
120 gen11_gt_identity_handler(struct intel_gt *gt, const u32 identity) in gen11_gt_identity_handler()
149 gen11_gt_bank_handler(struct intel_gt *gt, const unsigned int bank) in gen11_gt_bank_handler()
169 void gen11_gt_irq_handler(struct intel_gt *gt, const u32 master_ctl) in gen11_gt_irq_handler()
183 bool gen11_gt_reset_one_iir(struct intel_gt *gt, in gen11_gt_reset_one_iir()
213 void gen11_gt_irq_reset(struct intel_gt *gt) in gen11_gt_irq_reset()
261 void gen11_gt_irq_postinstall(struct intel_gt *gt) in gen11_gt_irq_postinstall()
353 void gen5_gt_irq_handler(struct intel_gt *gt, u32 gt_iir) in gen5_gt_irq_handler()
[all …]
Dintel_reset.c157 static int i915_do_reset(struct intel_gt *gt, in i915_do_reset()
186 static int g33_do_reset(struct intel_gt *gt, in g33_do_reset()
196 static int g4x_do_reset(struct intel_gt *gt, in g4x_do_reset()
233 static int ilk_do_reset(struct intel_gt *gt, intel_engine_mask_t engine_mask, in ilk_do_reset()
268 static int gen6_hw_domain_reset(struct intel_gt *gt, u32 hw_domain_mask) in gen6_hw_domain_reset()
320 static int __gen6_reset_engines(struct intel_gt *gt, in __gen6_reset_engines()
341 static int gen6_reset_engines(struct intel_gt *gt, in gen6_reset_engines()
521 static int __gen11_reset_engines(struct intel_gt *gt, in __gen11_reset_engines()
610 static int gen8_reset_engines(struct intel_gt *gt, in gen8_reset_engines()
665 static int mock_reset(struct intel_gt *gt, in mock_reset()
[all …]
Dintel_gt_sysfs_pm.c29 int (func)(struct intel_gt *gt, u32 val), u32 val) in sysfs_gt_attribute_w_func()
31 struct intel_gt *gt; in sysfs_gt_attribute_w_func() local
54 u32 (func)(struct intel_gt *gt), in sysfs_gt_attribute_r_func()
57 struct intel_gt *gt; in sysfs_gt_attribute_r_func() local
168 static u32 get_residency(struct intel_gt *gt, enum intel_rc6_res_type id) in get_residency()
179 static u8 get_rc6_mask(struct intel_gt *gt) in get_rc6_mask()
197 struct intel_gt *gt = intel_gt_sysfs_get_drvdata(kobj, attr->attr.name); in rc6_enable_show() local
206 struct intel_gt *gt = intel_gt_sysfs_get_drvdata(&dev->kobj, attr->attr.name); in rc6_enable_dev_show() local
211 static u32 __rc6_residency_ms_show(struct intel_gt *gt) in __rc6_residency_ms_show()
216 static u32 __rc6p_residency_ms_show(struct intel_gt *gt) in __rc6p_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
88 struct intel_gt *gt = m->private; in vlv_drpc() local
113 struct intel_gt *gt = m->private; in gen6_drpc() local
202 struct intel_gt *gt = m->private; in ilk_drpc() local
261 struct intel_gt *gt = m->private; in mtl_drpc() local
316 struct intel_gt *gt = m->private; in drpc_show() local
[all …]
Dintel_gt_mcr.c141 void intel_gt_mcr_init(struct intel_gt *gt) in intel_gt_mcr_init()
246 static u32 rw_with_mcr_steering_fw(struct intel_gt *gt, in rw_with_mcr_steering_fw()
323 static u32 rw_with_mcr_steering(struct intel_gt *gt, in rw_with_mcr_steering()
366 void intel_gt_mcr_lock(struct intel_gt *gt, unsigned long *flags) in intel_gt_mcr_lock()
430 void intel_gt_mcr_unlock(struct intel_gt *gt, unsigned long flags) in intel_gt_mcr_unlock()
454 u32 intel_gt_mcr_read(struct intel_gt *gt, in intel_gt_mcr_read()
474 void intel_gt_mcr_unicast_write(struct intel_gt *gt, i915_mcr_reg_t reg, u32 value, in intel_gt_mcr_unicast_write()
490 void intel_gt_mcr_multicast_write(struct intel_gt *gt, in intel_gt_mcr_multicast_write()
522 void intel_gt_mcr_multicast_write_fw(struct intel_gt *gt, i915_mcr_reg_t reg, u32 value) in intel_gt_mcr_multicast_write_fw()
556 u32 intel_gt_mcr_multicast_rmw(struct intel_gt *gt, i915_mcr_reg_t reg, in intel_gt_mcr_multicast_rmw()
[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.h17 #define GT_TRACE(gt, fmt, ...) do { \ argument
23 static inline bool gt_is_root(struct intel_gt *gt) in gt_is_root()
28 static inline bool intel_gt_needs_wa_22016122933(struct intel_gt *gt) in intel_gt_needs_wa_22016122933()
81 static inline u32 intel_gt_scratch_offset(const struct intel_gt *gt, in intel_gt_scratch_offset()
87 static inline bool intel_gt_has_unrecoverable_error(const struct intel_gt *gt) in intel_gt_has_unrecoverable_error()
93 static inline bool intel_gt_is_wedged(const struct intel_gt *gt) in intel_gt_is_wedged()
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_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()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
Dintel_gt_pm.c24 static void user_forcewake(struct intel_gt *gt, bool suspend) in user_forcewake()
44 struct intel_gt *gt = container_of(wf, typeof(*gt), wakeref); in __gt_unpark() local
76 struct intel_gt *gt = container_of(wf, typeof(*gt), wakeref); in __gt_park() local
106 void intel_gt_pm_init_early(struct intel_gt *gt) in intel_gt_pm_init_early()
111 void intel_gt_pm_init(struct intel_gt *gt) in intel_gt_pm_init()
122 static bool reset_engines(struct intel_gt *gt) in reset_engines()
130 static void gt_sanitize(struct intel_gt *gt, bool force) in gt_sanitize()
180 void intel_gt_pm_fini(struct intel_gt *gt) in intel_gt_pm_fini()
185 int intel_gt_resume(struct intel_gt *gt) in intel_gt_resume()
256 static void wait_for_suspend(struct intel_gt *gt) in wait_for_suspend()
[all …]
Dintel_gt_irq.c66 gen11_gt_engine_identity(struct intel_gt *gt, in gen11_gt_engine_identity()
100 gen11_other_irq_handler(struct intel_gt *gt, const u8 instance, in gen11_other_irq_handler()
114 gen11_engine_irq_handler(struct intel_gt *gt, const u8 class, in gen11_engine_irq_handler()
132 gen11_gt_identity_handler(struct intel_gt *gt, const u32 identity) in gen11_gt_identity_handler()
152 gen11_gt_bank_handler(struct intel_gt *gt, const unsigned int bank) in gen11_gt_bank_handler()
172 void gen11_gt_irq_handler(struct intel_gt *gt, const u32 master_ctl) in gen11_gt_irq_handler()
186 bool gen11_gt_reset_one_iir(struct intel_gt *gt, in gen11_gt_reset_one_iir()
216 void gen11_gt_irq_reset(struct intel_gt *gt) in gen11_gt_irq_reset()
237 void gen11_gt_irq_postinstall(struct intel_gt *gt) in gen11_gt_irq_postinstall()
275 void gen5_gt_irq_handler(struct intel_gt *gt, u32 gt_iir) in gen5_gt_irq_handler()
[all …]
Dintel_gt.c22 void intel_gt_init_early(struct intel_gt *gt, struct drm_i915_private *i915) in intel_gt_init_early()
44 void intel_gt_init_hw_early(struct intel_gt *gt, struct i915_ggtt *ggtt) in intel_gt_init_hw_early()
49 int intel_gt_init_mmio(struct intel_gt *gt) in intel_gt_init_mmio()
57 static void init_unused_ring(struct intel_gt *gt, u32 base) in init_unused_ring()
67 static void init_unused_rings(struct intel_gt *gt) in init_unused_rings()
86 int intel_gt_init_hw(struct intel_gt *gt) in intel_gt_init_hw()
163 intel_gt_clear_error_registers(struct intel_gt *gt, in intel_gt_clear_error_registers()
206 static void gen6_check_faults(struct intel_gt *gt) in gen6_check_faults()
229 static void gen8_check_faults(struct intel_gt *gt) in gen8_check_faults()
270 void intel_gt_check_and_clear_faults(struct intel_gt *gt) in intel_gt_check_and_clear_faults()
[all …]
Dintel_gt_pm.h15 static inline bool intel_gt_pm_is_awake(const struct intel_gt *gt) in intel_gt_pm_is_awake()
20 static inline void intel_gt_pm_get(struct intel_gt *gt) in intel_gt_pm_get()
25 static inline void __intel_gt_pm_get(struct intel_gt *gt) in __intel_gt_pm_get()
30 static inline bool intel_gt_pm_get_if_awake(struct intel_gt *gt) in intel_gt_pm_get_if_awake()
35 static inline void intel_gt_pm_put(struct intel_gt *gt) in intel_gt_pm_put()
40 static inline void intel_gt_pm_put_async(struct intel_gt *gt) in intel_gt_pm_put_async()
45 static inline int intel_gt_pm_wait_for_idle(struct intel_gt *gt) in intel_gt_pm_wait_for_idle()
61 static inline bool is_mock_gt(const struct intel_gt *gt) in is_mock_gt()
Dintel_reset.c178 static int i915_do_reset(struct intel_gt *gt, in i915_do_reset()
207 static int g33_do_reset(struct intel_gt *gt, in g33_do_reset()
217 static int g4x_do_reset(struct intel_gt *gt, in g4x_do_reset()
254 static int ilk_do_reset(struct intel_gt *gt, intel_engine_mask_t engine_mask, in ilk_do_reset()
289 static int gen6_hw_domain_reset(struct intel_gt *gt, u32 hw_domain_mask) in gen6_hw_domain_reset()
336 static int gen6_reset_engines(struct intel_gt *gt, in gen6_reset_engines()
468 static int gen11_reset_engines(struct intel_gt *gt, in gen11_reset_engines()
561 static int gen8_reset_engines(struct intel_gt *gt, in gen8_reset_engines()
602 static int mock_reset(struct intel_gt *gt, in mock_reset()
613 static reset_func intel_get_gpu_reset(const struct intel_gt *gt) in intel_get_gpu_reset()
[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_clock_utils.c14 static u32 read_clock_frequency(const struct intel_gt *gt) in read_clock_frequency()
40 void intel_gt_init_clock_frequency(struct intel_gt *gt) in intel_gt_init_clock_frequency()
53 void intel_gt_check_clock_frequency(const struct intel_gt *gt) in intel_gt_check_clock_frequency()
69 u32 intel_gt_clock_interval_to_ns(const struct intel_gt *gt, u32 count) in intel_gt_clock_interval_to_ns()
75 u32 intel_gt_pm_interval_to_ns(const struct intel_gt *gt, u32 count) in intel_gt_pm_interval_to_ns()
80 u32 intel_gt_ns_to_clock_interval(const struct intel_gt *gt, u32 ns) in intel_gt_ns_to_clock_interval()
86 u32 intel_gt_ns_to_pm_interval(const struct intel_gt *gt, u32 ns) in intel_gt_ns_to_pm_interval()
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()
206 int intel_gt_wait_for_idle(struct intel_gt *gt, long timeout) in intel_gt_wait_for_idle()
223 struct intel_gt *gt = in retire_work_handler() local
231 void intel_gt_init_requests(struct intel_gt *gt) in intel_gt_init_requests()
236 void intel_gt_park_requests(struct intel_gt *gt) in intel_gt_park_requests()
241 void intel_gt_unpark_requests(struct intel_gt *gt) in intel_gt_unpark_requests()
247 void intel_gt_fini_requests(struct intel_gt *gt) in intel_gt_fini_requests()
Ddebugfs_gt_pm.c23 struct intel_gt *gt = m->private; in fw_domains_show() local
44 struct intel_gt *gt = m->private; in print_rc6_res() local
55 struct intel_gt *gt = m->private; in vlv_drpc() local
78 struct intel_gt *gt = m->private; in gen6_drpc() local
166 struct intel_gt *gt = m->private; in ilk_drpc() local
224 struct intel_gt *gt = m->private; in drpc_show() local
244 struct intel_gt *gt = m->private; in frequency_show() local
488 struct intel_gt *gt = m->private; in llc_show() local
532 struct intel_gt *gt = data; in llc_eval() local
555 struct intel_gt *gt = m->private; in rps_boost_show() local
[all …]
/kernel/linux/linux-6.6/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
163 struct kvm_guest_timer *gt = &vcpu->kvm->arch.timer; in kvm_riscv_vcpu_get_reg_timer() local
203 struct kvm_guest_timer *gt = &vcpu->kvm->arch.timer; in kvm_riscv_vcpu_set_reg_timer() local
289 struct kvm_guest_timer *gt = &vcpu->kvm->arch.timer; in kvm_riscv_vcpu_update_timedelta() local
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/pxp/
Dintel_pxp_irq.c27 struct intel_gt *gt; in intel_pxp_irq_handler() local
53 static inline void __pxp_set_interrupts(struct intel_gt *gt, u32 interrupts) in __pxp_set_interrupts()
62 static inline void pxp_irq_reset(struct intel_gt *gt) in pxp_irq_reset()
71 struct intel_gt *gt = pxp->ctrl_gt; in intel_pxp_irq_enable() local
86 struct intel_gt *gt = pxp->ctrl_gt; in intel_pxp_irq_disable() local
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/uc/
Dintel_guc.c44 struct intel_gt *gt = guc_to_gt(guc); in intel_guc_notify() local
66 struct intel_gt *gt = guc_to_gt(guc); in intel_guc_init_send_regs() local
83 struct intel_gt *gt = guc_to_gt(guc); in gen9_reset_guc_interrupts() local
94 struct intel_gt *gt = guc_to_gt(guc); in gen9_enable_guc_interrupts() local
109 struct intel_gt *gt = guc_to_gt(guc); in gen9_disable_guc_interrupts() local
124 static bool __gen11_reset_guc_interrupts(struct intel_gt *gt) in __gen11_reset_guc_interrupts()
134 struct intel_gt *gt = guc_to_gt(guc); in gen11_reset_guc_interrupts() local
143 struct intel_gt *gt = guc_to_gt(guc); in gen11_enable_guc_interrupts() local
154 struct intel_gt *gt = guc_to_gt(guc); in gen11_disable_guc_interrupts() local
164 struct intel_gt *gt = guc_to_gt(guc); in intel_guc_init_early() local
[all …]
Dintel_gsc_uc.c19 struct intel_gt *gt = gsc_uc_to_gt(gsc); in gsc_work() local
100 static bool gsc_engine_supported(struct intel_gt *gt) in gsc_engine_supported()
122 struct intel_gt *gt = gsc_uc_to_gt(gsc); in intel_gsc_uc_init_early() local
150 struct intel_gt *gt = gsc_uc_to_gt(gsc); in gsc_allocate_and_map_vma() local
215 struct intel_gt *gt = gsc_uc_to_gt(gsc); in intel_gsc_uc_init() local
305 struct intel_gt *gt = gsc_uc_to_gt(gsc); in intel_gsc_uc_load_start() local
322 struct intel_gt *gt = gsc_uc_to_gt(gsc); in intel_gsc_uc_load_status() local

1234567891011