Home
last modified time | relevance | path

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

123

/Linux-v5.4/drivers/gpu/drm/i915/gt/
Dintel_gt.h15 static inline struct intel_gt *uc_to_gt(struct intel_uc *uc) in uc_to_gt()
17 return container_of(uc, struct intel_gt, uc); in uc_to_gt()
20 static inline struct intel_gt *guc_to_gt(struct intel_guc *guc) in guc_to_gt()
22 return container_of(guc, struct intel_gt, uc.guc); in guc_to_gt()
25 static inline struct intel_gt *huc_to_gt(struct intel_huc *huc) in huc_to_gt()
27 return container_of(huc, struct intel_gt, uc.huc); in huc_to_gt()
30 void intel_gt_init_early(struct intel_gt *gt, struct drm_i915_private *i915);
33 void intel_gt_driver_late_release(struct intel_gt *gt);
35 void intel_gt_check_and_clear_faults(struct intel_gt *gt);
36 void intel_gt_clear_error_registers(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_reset.h20 struct intel_gt;
23 void intel_gt_init_reset(struct intel_gt *gt);
24 void intel_gt_fini_reset(struct intel_gt *gt);
27 void intel_gt_handle_error(struct intel_gt *gt,
33 void intel_gt_reset(struct intel_gt *gt,
41 int __must_check intel_gt_reset_trylock(struct intel_gt *gt, int *srcu);
42 void intel_gt_reset_unlock(struct intel_gt *gt, int tag);
44 void intel_gt_set_wedged(struct intel_gt *gt);
45 bool intel_gt_unset_wedged(struct intel_gt *gt);
46 int intel_gt_terminally_wedged(struct intel_gt *gt);
[all …]
Dintel_gt_pm.h20 static inline bool intel_gt_pm_is_awake(const struct intel_gt *gt) in intel_gt_pm_is_awake()
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 int intel_gt_pm_wait_for_idle(struct intel_gt *gt) in intel_gt_pm_wait_for_idle()
45 void intel_gt_pm_init_early(struct intel_gt *gt);
47 void intel_gt_sanitize(struct intel_gt *gt, bool force);
48 int intel_gt_resume(struct intel_gt *gt);
49 void intel_gt_runtime_suspend(struct intel_gt *gt);
50 int intel_gt_runtime_resume(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_irq.c39 gen11_gt_engine_identity(struct intel_gt *gt, in gen11_gt_engine_identity()
73 gen11_other_irq_handler(struct intel_gt *gt, const u8 instance, in gen11_other_irq_handler()
87 gen11_engine_irq_handler(struct intel_gt *gt, const u8 class, in gen11_engine_irq_handler()
105 gen11_gt_identity_handler(struct intel_gt *gt, const u32 identity) in gen11_gt_identity_handler()
125 gen11_gt_bank_handler(struct intel_gt *gt, const unsigned int bank) in gen11_gt_bank_handler()
145 void gen11_gt_irq_handler(struct intel_gt *gt, const u32 master_ctl) in gen11_gt_irq_handler()
159 bool gen11_gt_reset_one_iir(struct intel_gt *gt, in gen11_gt_reset_one_iir()
189 void gen11_gt_irq_reset(struct intel_gt *gt) in gen11_gt_irq_reset()
210 void gen11_gt_irq_postinstall(struct intel_gt *gt) in gen11_gt_irq_postinstall()
244 void gen5_gt_irq_handler(struct intel_gt *gt, u32 gt_iir) in gen5_gt_irq_handler()
[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.c11 void intel_gt_init_early(struct intel_gt *gt, struct drm_i915_private *i915) in intel_gt_init_early()
54 intel_gt_clear_error_registers(struct intel_gt *gt, in intel_gt_clear_error_registers()
97 static void gen6_check_faults(struct intel_gt *gt) in gen6_check_faults()
120 static void gen8_check_faults(struct intel_gt *gt) in gen8_check_faults()
162 void intel_gt_check_and_clear_faults(struct intel_gt *gt) in intel_gt_check_and_clear_faults()
177 void intel_gt_flush_ggtt_writes(struct intel_gt *gt) in intel_gt_flush_ggtt_writes()
218 void intel_gt_chipset_flush(struct intel_gt *gt) in intel_gt_chipset_flush()
225 int intel_gt_init_scratch(struct intel_gt *gt, unsigned int size) in intel_gt_init_scratch()
259 void intel_gt_fini_scratch(struct intel_gt *gt) in intel_gt_fini_scratch()
264 void intel_gt_driver_late_release(struct intel_gt *gt) in intel_gt_driver_late_release()
Dintel_gt_pm.c22 struct intel_gt *gt = container_of(wf, typeof(*gt), wakeref); in __gt_unpark()
93 void intel_gt_pm_init_early(struct intel_gt *gt) in intel_gt_pm_init_early()
100 static bool reset_engines(struct intel_gt *gt) in reset_engines()
118 void intel_gt_sanitize(struct intel_gt *gt, bool force) in intel_gt_sanitize()
134 int intel_gt_resume(struct intel_gt *gt) in intel_gt_resume()
172 void intel_gt_runtime_suspend(struct intel_gt *gt) in intel_gt_runtime_suspend()
177 int intel_gt_runtime_resume(struct intel_gt *gt) in intel_gt_runtime_resume()
Dintel_reset.c145 static int i915_do_reset(struct intel_gt *gt, in i915_do_reset()
174 static int g33_do_reset(struct intel_gt *gt, in g33_do_reset()
184 static int g4x_do_reset(struct intel_gt *gt, in g4x_do_reset()
221 static int ironlake_do_reset(struct intel_gt *gt, in ironlake_do_reset()
257 static int gen6_hw_domain_reset(struct intel_gt *gt, u32 hw_domain_mask) in gen6_hw_domain_reset()
281 static int gen6_reset_engines(struct intel_gt *gt, in gen6_reset_engines()
405 static int gen11_reset_engines(struct intel_gt *gt, in gen11_reset_engines()
488 static int gen8_reset_engines(struct intel_gt *gt, in gen8_reset_engines()
529 typedef int (*reset_func)(struct intel_gt *,
551 int __intel_gt_reset(struct intel_gt *gt, intel_engine_mask_t engine_mask) in __intel_gt_reset()
[all …]
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);
Dselftest_reset.c12 struct intel_gt *gt = arg; in igt_global_reset()
42 struct intel_gt *gt = arg; in igt_wedged_reset()
63 struct intel_gt *gt = arg; in igt_atomic_reset()
107 struct intel_gt *gt = arg; in igt_atomic_engine_reset()
171 struct intel_gt *gt = &i915->gt; in intel_reset_live_selftests()
Dselftest_engine.h10 struct intel_gt;
12 int live_engine_pm_selftests(struct intel_gt *gt);
Dintel_mocs.h54 struct intel_gt;
56 void intel_mocs_init(struct intel_gt *gt);
Dselftest_engine.c12 static int (* const tests[])(struct intel_gt *) = { in intel_engine_live_selftests()
16 struct intel_gt *gt = &i915->gt; in intel_engine_live_selftests()
Dselftest_engine_pm.c13 struct intel_gt *gt = arg; in live_engine_pm()
76 int live_engine_pm_selftests(struct intel_gt *gt) in live_engine_pm_selftests()
Dselftest_hangcheck.c45 struct intel_gt *gt;
53 static int hang_init(struct hang *h, struct intel_gt *gt) in hang_init()
133 struct intel_gt *gt = h->gt; in hang_create_request()
303 struct intel_gt *gt = arg; in igt_hang_sanitycheck()
370 struct intel_gt *gt = arg; in igt_reset_nop()
451 struct intel_gt *gt = arg; in igt_reset_nop_engine()
552 static int __igt_reset_engine(struct intel_gt *gt, bool active) in __igt_reset_engine()
780 static int __igt_reset_engines(struct intel_gt *gt, in __igt_reset_engines()
1019 struct intel_gt *gt = arg; in igt_reset_engines()
1037 static u32 fake_hangcheck(struct intel_gt *gt, intel_engine_mask_t mask) in fake_hangcheck()
[all …]
Dintel_timeline.h35 struct intel_gt *gt,
40 intel_timeline_create(struct intel_gt *gt, struct i915_vma *global_hwsp);
Dintel_hangcheck.c223 static void hangcheck_declare_hang(struct intel_gt *gt, in hangcheck_declare_hang()
257 struct intel_gt *gt = in hangcheck_elapsed()
330 void intel_gt_queue_hangcheck(struct intel_gt *gt) in intel_gt_queue_hangcheck()
353 void intel_gt_init_hangcheck(struct intel_gt *gt) in intel_gt_init_hangcheck()
/Linux-v5.4/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()
/Linux-v5.4/drivers/gpu/drm/i915/
Di915_gem_fence_reg.h35 struct intel_gt;
70 void intel_gt_init_swizzling(struct intel_gt *gt);
/Linux-v5.4/drivers/gpu/drm/i915/gt/uc/
Dintel_huc.c31 struct intel_gt *gt = huc_to_gt(huc); in intel_huc_rsa_data_create()
128 struct intel_gt *gt = huc_to_gt(huc); in intel_huc_auth()
181 struct intel_gt *gt = huc_to_gt(huc); in intel_huc_check_status()
Dintel_guc.c14 struct intel_gt *gt = guc_to_gt(guc); in gen8_guc_raise_irq()
21 struct intel_gt *gt = guc_to_gt(guc); in gen11_guc_raise_irq()
37 struct intel_gt *gt = guc_to_gt(guc); in intel_guc_init_send_regs()
250 struct intel_gt *gt = guc_to_gt(guc); in intel_guc_init()
311 struct intel_gt *gt = guc_to_gt(guc); in intel_guc_fini()
593 struct intel_gt *gt = guc_to_gt(guc); in intel_guc_allocate_vma()

123