Home
last modified time | relevance | path

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

12345678

/linux-6.6.21/drivers/gpu/drm/i915/gt/
Dintel_gt.h18 const struct intel_gt *gt__ __maybe_unused = (gt); \
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()
33 static inline struct intel_gt *uc_to_gt(struct intel_uc *uc) in uc_to_gt()
35 return container_of(uc, struct intel_gt, uc); in uc_to_gt()
38 static inline struct intel_gt *guc_to_gt(struct intel_guc *guc) in guc_to_gt()
40 return container_of(guc, struct intel_gt, uc.guc); in guc_to_gt()
43 static inline struct intel_gt *huc_to_gt(struct intel_huc *huc) in huc_to_gt()
45 return container_of(huc, struct intel_gt, uc.huc); in huc_to_gt()
48 static inline struct intel_gt *gsc_uc_to_gt(struct intel_gsc_uc *gsc_uc) in gsc_uc_to_gt()
[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()
69 static inline int intel_gt_pm_wait_for_idle(struct intel_gt *gt) in intel_gt_pm_wait_for_idle()
74 void intel_gt_pm_init_early(struct intel_gt *gt);
[all …]
Dintel_reset.h18 struct intel_gt;
21 void intel_gt_init_reset(struct intel_gt *gt);
22 void intel_gt_fini_reset(struct intel_gt *gt);
25 void intel_gt_handle_error(struct intel_gt *gt,
31 void intel_gt_reset(struct intel_gt *gt,
41 int __must_check intel_gt_reset_trylock(struct intel_gt *gt, int *srcu);
42 int __must_check intel_gt_reset_lock_interruptible(struct intel_gt *gt, int *srcu);
43 void intel_gt_reset_unlock(struct intel_gt *gt, int tag);
45 void intel_gt_set_wedged(struct intel_gt *gt);
46 bool intel_gt_unset_wedged(struct intel_gt *gt);
[all …]
Dintel_gt_irq.h13 struct intel_gt;
23 void gen11_gt_irq_reset(struct intel_gt *gt);
24 void gen11_gt_irq_postinstall(struct intel_gt *gt);
25 void gen11_gt_irq_handler(struct intel_gt *gt, const u32 master_ctl);
27 bool gen11_gt_reset_one_iir(struct intel_gt *gt,
31 void gen5_gt_irq_handler(struct intel_gt *gt, u32 gt_iir);
33 void gen5_gt_irq_postinstall(struct intel_gt *gt);
34 void gen5_gt_irq_reset(struct intel_gt *gt);
35 void gen5_gt_disable_irq(struct intel_gt *gt, u32 mask);
36 void gen5_gt_enable_irq(struct intel_gt *gt, u32 mask);
[all …]
Dintel_gt_mcr.h11 void intel_gt_mcr_init(struct intel_gt *gt);
12 void intel_gt_mcr_lock(struct intel_gt *gt, unsigned long *flags);
13 void intel_gt_mcr_unlock(struct intel_gt *gt, unsigned long flags);
15 u32 intel_gt_mcr_read(struct intel_gt *gt,
18 u32 intel_gt_mcr_read_any_fw(struct intel_gt *gt, i915_mcr_reg_t reg);
19 u32 intel_gt_mcr_read_any(struct intel_gt *gt, i915_mcr_reg_t reg);
21 void intel_gt_mcr_unicast_write(struct intel_gt *gt,
24 void intel_gt_mcr_multicast_write(struct intel_gt *gt,
26 void intel_gt_mcr_multicast_write_fw(struct intel_gt *gt,
29 u32 intel_gt_mcr_multicast_rmw(struct intel_gt *gt, i915_mcr_reg_t reg,
[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 u64 intel_gt_clock_interval_to_ns(const struct intel_gt *gt, u64 count);
22 u64 intel_gt_pm_interval_to_ns(const struct intel_gt *gt, u64 count);
24 u64 intel_gt_ns_to_clock_interval(const struct intel_gt *gt, u64 ns);
25 u64 intel_gt_ns_to_pm_interval(const struct intel_gt *gt, u64 ns);
Dintel_gt_requests.h12 struct intel_gt;
15 long intel_gt_retire_requests_timeout(struct intel_gt *gt, long timeout,
17 static inline void intel_gt_retire_requests(struct intel_gt *gt) in intel_gt_retire_requests()
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.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()
101 struct intel_gt *gt = container_of(wf, typeof(*gt), wakeref); in __gt_park()
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_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()
54 u32 (func)(struct intel_gt *gt), in sysfs_gt_attribute_r_func()
57 struct intel_gt *gt; in sysfs_gt_attribute_r_func()
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()
206 struct intel_gt *gt = intel_gt_sysfs_get_drvdata(&dev->kobj, attr->attr.name); in rc6_enable_dev_show()
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_irq.h11 struct intel_gt;
13 void gen6_gt_pm_unmask_irq(struct intel_gt *gt, u32 mask);
14 void gen6_gt_pm_mask_irq(struct intel_gt *gt, u32 mask);
16 void gen6_gt_pm_enable_irq(struct intel_gt *gt, u32 enable_mask);
17 void gen6_gt_pm_disable_irq(struct intel_gt *gt, u32 disable_mask);
19 void gen6_gt_pm_reset_iir(struct intel_gt *gt, u32 reset_mask);
Dintel_gt_sysfs.h15 struct intel_gt;
21 static inline struct intel_gt *kobj_to_gt(struct kobject *kobj) in kobj_to_gt()
23 return container_of(kobj, struct intel_gt, sysfs_gt); in kobj_to_gt()
26 void intel_gt_sysfs_register(struct intel_gt *gt);
27 void intel_gt_sysfs_unregister(struct intel_gt *gt);
28 struct intel_gt *intel_gt_sysfs_get_drvdata(struct kobject *kobj,
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()
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_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_pm_debugfs.h9 struct intel_gt;
13 void intel_gt_pm_debugfs_register(struct intel_gt *gt, struct dentry *root);
14 void intel_gt_pm_frequency_dump(struct intel_gt *gt, struct drm_printer *m);
17 void intel_gt_pm_debugfs_forcewake_user_open(struct intel_gt *gt);
18 void intel_gt_pm_debugfs_forcewake_user_release(struct intel_gt *gt);
Dintel_tlb.h14 void intel_gt_invalidate_tlb_full(struct intel_gt *gt, u32 seqno);
16 void intel_gt_init_tlb(struct intel_gt *gt);
17 void intel_gt_fini_tlb(struct intel_gt *gt);
19 static inline u32 intel_gt_tlb_seqno(const struct intel_gt *gt) in intel_gt_tlb_seqno()
24 static inline u32 intel_gt_next_invalidate_tlb_full(const struct intel_gt *gt) in intel_gt_next_invalidate_tlb_full()
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_buffer_pool.h14 struct intel_gt;
18 intel_gt_get_buffer_pool(struct intel_gt *gt, size_t size,
39 void intel_gt_init_buffer_pool(struct intel_gt *gt);
40 void intel_gt_flush_buffer_pool(struct intel_gt *gt);
41 void intel_gt_fini_buffer_pool(struct intel_gt *gt);
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()
68 struct intel_gt *media_gt = gt->i915->media_gt; in gen11_other_irq_handler()
93 static struct intel_gt *pick_gt(struct intel_gt *gt, u8 class, u8 instance) in pick_gt()
95 struct intel_gt *media_gt = gt->i915->media_gt; 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()
[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_buffer_pool.c91 struct intel_gt *gt = container_of(pool, struct intel_gt, buffer_pool); in pool_free_work()
103 struct intel_gt *gt = container_of(pool, struct intel_gt, buffer_pool); in pool_retire()
142 struct intel_gt *gt = container_of(pool, struct intel_gt, buffer_pool); in node_create()
171 intel_gt_get_buffer_pool(struct intel_gt *gt, size_t size, in intel_gt_get_buffer_pool()
220 void intel_gt_init_buffer_pool(struct intel_gt *gt) in intel_gt_init_buffer_pool()
231 void intel_gt_flush_buffer_pool(struct intel_gt *gt) in intel_gt_flush_buffer_pool()
241 void intel_gt_fini_buffer_pool(struct intel_gt *gt) in intel_gt_fini_buffer_pool()
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()
54 struct intel_gt *gt = inode->i_private; in forcewake_user_release()
69 struct intel_gt *gt = m->private; in fw_domains_show()
88 struct intel_gt *gt = m->private; in vlv_drpc()
113 struct intel_gt *gt = m->private; in gen6_drpc()
202 struct intel_gt *gt = m->private; in ilk_drpc()
261 struct intel_gt *gt = m->private; in mtl_drpc()
316 struct intel_gt *gt = m->private; in drpc_show()
[all …]
Dintel_workarounds.h16 struct intel_gt;
27 void intel_gt_init_workarounds(struct intel_gt *gt);
28 void intel_gt_apply_workarounds(struct intel_gt *gt);
29 bool intel_gt_verify_workarounds(struct intel_gt *gt, const char *from);
Dintel_gt_sysfs.c26 struct intel_gt *intel_gt_sysfs_get_drvdata(struct kobject *kobj, in intel_gt_sysfs_get_drvdata()
49 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()
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-6.6.21/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);
/linux-6.6.21/drivers/gpu/drm/i915/
Di915_pmu.h16 struct intel_gt;
162 void i915_pmu_gt_parked(struct intel_gt *gt);
163 void i915_pmu_gt_unparked(struct intel_gt *gt);
169 static inline void i915_pmu_gt_parked(struct intel_gt *gt) {} in i915_pmu_gt_parked()
170 static inline void i915_pmu_gt_unparked(struct intel_gt *gt) {} in i915_pmu_gt_unparked()

12345678