Home
last modified time | relevance | path

Searched refs:intel_gt (Results 1 – 25 of 109) sorted by relevance

12345

/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
Dintel_gt.h17 const struct intel_gt *gt__ __maybe_unused = (gt); \
22 static inline struct intel_gt *uc_to_gt(struct intel_uc *uc) in uc_to_gt()
24 return container_of(uc, struct intel_gt, uc); in uc_to_gt()
27 static inline struct intel_gt *guc_to_gt(struct intel_guc *guc) in guc_to_gt()
29 return container_of(guc, struct intel_gt, uc.guc); in guc_to_gt()
32 static inline struct intel_gt *huc_to_gt(struct intel_huc *huc) in huc_to_gt()
34 return container_of(huc, struct intel_gt, uc.huc); in huc_to_gt()
37 void intel_gt_init_early(struct intel_gt *gt, struct drm_i915_private *i915);
38 void intel_gt_init_hw_early(struct intel_gt *gt, struct i915_ggtt *ggtt);
39 int intel_gt_init_mmio(struct intel_gt *gt);
[all …]
Dintel_reset.h19 struct intel_gt;
22 void intel_gt_init_reset(struct intel_gt *gt);
23 void intel_gt_fini_reset(struct intel_gt *gt);
26 void intel_gt_handle_error(struct intel_gt *gt,
32 void intel_gt_reset(struct intel_gt *gt,
40 int __must_check intel_gt_reset_trylock(struct intel_gt *gt, int *srcu);
41 void intel_gt_reset_unlock(struct intel_gt *gt, int tag);
43 void intel_gt_set_wedged(struct intel_gt *gt);
44 bool intel_gt_unset_wedged(struct intel_gt *gt);
45 int intel_gt_terminally_wedged(struct intel_gt *gt);
[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()
50 void intel_gt_pm_init_early(struct intel_gt *gt);
51 void intel_gt_pm_init(struct intel_gt *gt);
52 void intel_gt_pm_fini(struct intel_gt *gt);
[all …]
Dintel_gt_irq.h12 struct intel_gt;
22 void gen11_gt_irq_reset(struct intel_gt *gt);
23 void gen11_gt_irq_postinstall(struct intel_gt *gt);
24 void gen11_gt_irq_handler(struct intel_gt *gt, const u32 master_ctl);
26 bool gen11_gt_reset_one_iir(struct intel_gt *gt,
30 void gen5_gt_irq_handler(struct intel_gt *gt, u32 gt_iir);
32 void gen5_gt_irq_postinstall(struct intel_gt *gt);
33 void gen5_gt_irq_reset(struct intel_gt *gt);
34 void gen5_gt_disable_irq(struct intel_gt *gt, u32 mask);
35 void gen5_gt_enable_irq(struct intel_gt *gt, u32 mask);
[all …]
Dintel_gt_clock_utils.h11 struct intel_gt;
13 void intel_gt_init_clock_frequency(struct intel_gt *gt);
16 void intel_gt_check_clock_frequency(const struct intel_gt *gt);
18 static inline void intel_gt_check_clock_frequency(const struct intel_gt *gt) {} in intel_gt_check_clock_frequency()
21 u32 intel_gt_clock_interval_to_ns(const struct intel_gt *gt, u32 count);
22 u32 intel_gt_pm_interval_to_ns(const struct intel_gt *gt, u32 count);
24 u32 intel_gt_ns_to_clock_interval(const struct intel_gt *gt, u32 ns);
25 u32 intel_gt_ns_to_pm_interval(const struct intel_gt *gt, u32 ns);
Dintel_gt_requests.h11 struct intel_gt;
14 long intel_gt_retire_requests_timeout(struct intel_gt *gt, long timeout);
15 static inline void intel_gt_retire_requests(struct intel_gt *gt) in intel_gt_retire_requests()
25 int intel_gt_wait_for_idle(struct intel_gt *gt, long timeout);
27 void intel_gt_init_requests(struct intel_gt *gt);
28 void intel_gt_park_requests(struct intel_gt *gt);
29 void intel_gt_unpark_requests(struct intel_gt *gt);
30 void intel_gt_fini_requests(struct intel_gt *gt);
Dintel_gt_pm_irq.h12 struct intel_gt;
14 void gen6_gt_pm_unmask_irq(struct intel_gt *gt, u32 mask);
15 void gen6_gt_pm_mask_irq(struct intel_gt *gt, u32 mask);
17 void gen6_gt_pm_enable_irq(struct intel_gt *gt, u32 enable_mask);
18 void gen6_gt_pm_disable_irq(struct intel_gt *gt, u32 disable_mask);
20 void gen6_gt_pm_reset_iir(struct intel_gt *gt, u32 reset_mask);
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()
76 struct intel_gt *gt = container_of(wf, typeof(*gt), wakeref); in __gt_park()
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_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_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_buffer_pool.h14 struct intel_gt;
18 intel_gt_get_buffer_pool(struct intel_gt *gt, size_t size);
33 void intel_gt_init_buffer_pool(struct intel_gt *gt);
34 void intel_gt_flush_buffer_pool(struct intel_gt *gt);
35 void intel_gt_fini_buffer_pool(struct intel_gt *gt);
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_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()
609 typedef int (*reset_func)(struct intel_gt *,
[all …]
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()
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()
Dintel_sseu_debugfs.h10 struct intel_gt;
14 int intel_sseu_status(struct seq_file *m, struct intel_gt *gt);
15 void intel_sseu_debugfs_register(struct intel_gt *gt, struct dentry *root);
Dintel_gt_buffer_pool.c12 static struct intel_gt *to_gt(struct intel_gt_buffer_pool *pool) in to_gt()
14 return container_of(pool, struct intel_gt, buffer_pool); in to_gt()
150 struct intel_gt *gt = to_gt(pool); in node_create()
177 intel_gt_get_buffer_pool(struct intel_gt *gt, size_t size) in intel_gt_get_buffer_pool()
222 void intel_gt_init_buffer_pool(struct intel_gt *gt) in intel_gt_init_buffer_pool()
233 void intel_gt_flush_buffer_pool(struct intel_gt *gt) in intel_gt_flush_buffer_pool()
243 void intel_gt_fini_buffer_pool(struct intel_gt *gt) in intel_gt_fini_buffer_pool()
Dintel_timeline.h35 __intel_timeline_create(struct intel_gt *gt,
40 intel_timeline_create(struct intel_gt *gt) in intel_timeline_create()
106 void intel_gt_init_timelines(struct intel_gt *gt);
107 void intel_gt_fini_timelines(struct intel_gt *gt);
Dintel_workarounds.h17 struct intel_gt;
29 void intel_gt_apply_workarounds(struct intel_gt *gt);
30 bool intel_gt_verify_workarounds(struct intel_gt *gt, const char *from);
Dintel_engine.h22 struct intel_gt;
198 int intel_engines_init_mmio(struct intel_gt *gt);
199 int intel_engines_init(struct intel_gt *gt);
203 void intel_engines_release(struct intel_gt *gt);
204 void intel_engines_free(struct intel_gt *gt);
319 bool intel_engines_are_idle(struct intel_gt *gt);
323 void intel_engines_reset_default_submission(struct intel_gt *gt);
338 u32 intel_engine_context_size(struct intel_gt *gt, u8 class);
Dintel_sseu_debugfs.c19 static void cherryview_sseu_device_status(struct intel_gt *gt, in cherryview_sseu_device_status()
53 static void gen10_sseu_device_status(struct intel_gt *gt, in gen10_sseu_device_status()
113 static void gen9_sseu_device_status(struct intel_gt *gt, in gen9_sseu_device_status()
176 static void bdw_sseu_device_status(struct intel_gt *gt, in bdw_sseu_device_status()
244 int intel_sseu_status(struct seq_file *m, struct intel_gt *gt) in intel_sseu_status()
281 struct intel_gt *gt = m->private; in sseu_status_show()
289 struct intel_gt *gt = m->private; in rcs_topology_show()
298 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/selftests/
Digt_reset.h12 struct intel_gt;
14 void igt_global_reset_lock(struct intel_gt *gt);
15 void igt_global_reset_unlock(struct intel_gt *gt);
16 bool igt_force_reset(struct intel_gt *gt);
Digt_spinner.h17 struct intel_gt;
20 struct intel_gt *gt;
27 int igt_spinner_init(struct igt_spinner *spin, struct intel_gt *gt);
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()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/uc/
Dintel_guc.c37 struct intel_gt *gt = guc_to_gt(guc); in intel_guc_notify()
59 struct intel_gt *gt = guc_to_gt(guc); in intel_guc_init_send_regs()
83 struct intel_gt *gt = guc_to_gt(guc); in gen9_reset_guc_interrupts()
94 struct intel_gt *gt = guc_to_gt(guc); in gen9_enable_guc_interrupts()
110 struct intel_gt *gt = guc_to_gt(guc); in gen9_disable_guc_interrupts()
127 struct intel_gt *gt = guc_to_gt(guc); in gen11_reset_guc_interrupts()
136 struct intel_gt *gt = guc_to_gt(guc); in gen11_enable_guc_interrupts()
154 struct intel_gt *gt = guc_to_gt(guc); in gen11_disable_guc_interrupts()
313 struct intel_gt *gt = guc_to_gt(guc); in intel_guc_init()
368 struct intel_gt *gt = guc_to_gt(guc); in intel_guc_fini()
[all …]

12345