/linux/drivers/gpu/drm/i915/gt/ |
A D | intel_gt.h | 17 const struct intel_gt *gt__ __maybe_unused = (gt); \ 24 return container_of(uc, struct intel_gt, uc); in uc_to_gt() 29 return container_of(guc, struct intel_gt, uc.guc); in guc_to_gt() 34 return container_of(huc, struct intel_gt, uc.huc); in huc_to_gt() 39 int intel_gt_probe_lmem(struct intel_gt *gt); 40 int intel_gt_init_mmio(struct intel_gt *gt); 42 int intel_gt_init(struct intel_gt *gt); 43 void intel_gt_driver_register(struct intel_gt *gt); 46 void intel_gt_driver_remove(struct intel_gt *gt); 47 void intel_gt_driver_release(struct intel_gt *gt); [all …]
|
A D | intel_gt_pm.h | 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() 39 static inline void intel_gt_pm_put(struct intel_gt *gt) in intel_gt_pm_put() 63 void intel_gt_pm_init_early(struct intel_gt *gt); 64 void intel_gt_pm_init(struct intel_gt *gt); 65 void intel_gt_pm_fini(struct intel_gt *gt); 67 void intel_gt_suspend_prepare(struct intel_gt *gt); 68 void intel_gt_suspend_late(struct intel_gt *gt); 69 int intel_gt_resume(struct intel_gt *gt); 71 void intel_gt_runtime_suspend(struct intel_gt *gt); [all …]
|
A D | intel_reset.h | 18 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, 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); 58 int intel_reset_guc(struct intel_gt *gt); 62 struct intel_gt *gt; [all …]
|
A D | intel_gt_irq.h | 13 struct intel_gt; 23 void gen11_gt_irq_reset(struct intel_gt *gt); 24 void gen11_gt_irq_postinstall(struct intel_gt *gt); 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); 41 void gen8_gt_irq_reset(struct intel_gt *gt); [all …]
|
A D | intel_gt_clock_utils.h | 11 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);
|
A D | intel_gt_pm.c | 43 static void runtime_begin(struct intel_gt *gt) in runtime_begin() 53 static void runtime_end(struct intel_gt *gt) in runtime_end() 127 void intel_gt_pm_init_early(struct intel_gt *gt) in intel_gt_pm_init_early() 133 void intel_gt_pm_init(struct intel_gt *gt) in intel_gt_pm_init() 144 static bool reset_engines(struct intel_gt *gt) in reset_engines() 202 void intel_gt_pm_fini(struct intel_gt *gt) in intel_gt_pm_fini() 207 int intel_gt_resume(struct intel_gt *gt) in intel_gt_resume() 282 static void wait_for_suspend(struct intel_gt *gt) in wait_for_suspend() 299 void intel_gt_suspend_prepare(struct intel_gt *gt) in intel_gt_suspend_prepare() 316 void intel_gt_suspend_late(struct intel_gt *gt) in intel_gt_suspend_late() [all …]
|
A D | intel_gt_requests.h | 12 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);
|
A D | intel_gt.c | 49 int intel_gt_probe_lmem(struct intel_gt *gt) in intel_gt_probe_lmem() 113 static u16 slicemask(struct intel_gt *gt, int count) in slicemask() 120 int intel_gt_init_mmio(struct intel_gt *gt) in intel_gt_init_mmio() 168 static void init_unused_rings(struct intel_gt *gt) in init_unused_rings() 187 int intel_gt_init_hw(struct intel_gt *gt) in intel_gt_init_hw() 307 static void gen6_check_faults(struct intel_gt *gt) in gen6_check_faults() 330 static void gen8_check_faults(struct intel_gt *gt) in gen8_check_faults() 427 void intel_gt_chipset_flush(struct intel_gt *gt) in intel_gt_chipset_flush() 656 int intel_gt_init(struct intel_gt *gt) in intel_gt_init() 739 void intel_gt_driver_remove(struct intel_gt *gt) in intel_gt_driver_remove() [all …]
|
A D | intel_gt_pm_irq.h | 11 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);
|
A D | intel_gt_irq.c | 25 gen11_gt_engine_identity(struct intel_gt *gt, in gen11_gt_engine_identity() 148 bool gen11_gt_reset_one_iir(struct intel_gt *gt, in gen11_gt_reset_one_iir() 178 void gen11_gt_irq_reset(struct intel_gt *gt) in gen11_gt_irq_reset() 208 void gen11_gt_irq_postinstall(struct intel_gt *gt) in gen11_gt_irq_postinstall() 353 void gen8_gt_irq_reset(struct intel_gt *gt) in gen8_gt_irq_reset() 363 void gen8_gt_irq_postinstall(struct intel_gt *gt) in gen8_gt_irq_postinstall() 391 static void gen5_gt_update_irq(struct intel_gt *gt, in gen5_gt_update_irq() 404 void gen5_gt_enable_irq(struct intel_gt *gt, u32 mask) in gen5_gt_enable_irq() 410 void gen5_gt_disable_irq(struct intel_gt *gt, u32 mask) in gen5_gt_disable_irq() 415 void gen5_gt_irq_reset(struct intel_gt *gt) in gen5_gt_irq_reset() [all …]
|
A D | intel_gt_pm_irq.c | 12 static void write_pm_imr(struct intel_gt *gt) in write_pm_imr() 31 static void gen6_gt_pm_update_irq(struct intel_gt *gt, in gen6_gt_pm_update_irq() 51 void gen6_gt_pm_unmask_irq(struct intel_gt *gt, u32 mask) in gen6_gt_pm_unmask_irq() 56 void gen6_gt_pm_mask_irq(struct intel_gt *gt, u32 mask) in gen6_gt_pm_mask_irq() 61 void gen6_gt_pm_reset_iir(struct intel_gt *gt, u32 reset_mask) in gen6_gt_pm_reset_iir() 73 static void write_pm_ier(struct intel_gt *gt) in write_pm_ier() 92 void gen6_gt_pm_enable_irq(struct intel_gt *gt, u32 enable_mask) in gen6_gt_pm_enable_irq() 101 void gen6_gt_pm_disable_irq(struct intel_gt *gt, u32 disable_mask) in gen6_gt_pm_disable_irq()
|
A D | intel_reset.c | 160 static int i915_do_reset(struct intel_gt *gt, in i915_do_reset() 189 static int g33_do_reset(struct intel_gt *gt, in g33_do_reset() 199 static int g4x_do_reset(struct intel_gt *gt, in g4x_do_reset() 638 static int mock_reset(struct intel_gt *gt, in mock_reset() 645 typedef int (*reset_func)(struct intel_gt *, 714 int intel_reset_guc(struct intel_gt *gt) in intel_reset_guc() 795 static void gt_revoke(struct intel_gt *gt) in gt_revoke() 1047 static int resume(struct intel_gt *gt) in resume() 1079 void intel_gt_reset(struct intel_gt *gt, in intel_gt_reset() 1183 struct intel_gt *gt = engine->gt; in __intel_engine_reset_bh() [all …]
|
A D | intel_gt_pm_debugfs.h | 9 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 int intel_gt_pm_debugfs_forcewake_user_open(struct intel_gt *gt); 18 int intel_gt_pm_debugfs_forcewake_user_release(struct intel_gt *gt);
|
A D | intel_gt_buffer_pool.h | 14 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);
|
A D | intel_gt_requests.c | 34 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() 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()
|
A D | intel_workarounds.h | 16 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);
|
A D | intel_gt_debugfs.h | 11 struct intel_gt; 26 void intel_gt_debugfs_register(struct intel_gt *gt); 39 int intel_gt_debugfs_reset_show(struct intel_gt *gt, u64 *val); 40 int intel_gt_debugfs_reset_store(struct intel_gt *gt, u64 val);
|
A D | intel_timeline.h | 18 __intel_timeline_create(struct intel_gt *gt, 23 intel_timeline_create(struct intel_gt *gt) in intel_timeline_create() 84 void intel_gt_init_timelines(struct intel_gt *gt); 85 void intel_gt_fini_timelines(struct intel_gt *gt); 87 void intel_gt_show_timelines(struct intel_gt *gt,
|
A D | intel_gt_clock_utils.c | 152 void intel_gt_init_clock_frequency(struct intel_gt *gt) in intel_gt_init_clock_frequency() 171 void intel_gt_check_clock_frequency(const struct intel_gt *gt) in intel_gt_check_clock_frequency() 187 u64 intel_gt_clock_interval_to_ns(const struct intel_gt *gt, u64 count) in intel_gt_clock_interval_to_ns() 192 u64 intel_gt_pm_interval_to_ns(const struct intel_gt *gt, u64 count) in intel_gt_pm_interval_to_ns() 197 u64 intel_gt_ns_to_clock_interval(const struct intel_gt *gt, u64 ns) in intel_gt_ns_to_clock_interval() 202 u64 intel_gt_ns_to_pm_interval(const struct intel_gt *gt, u64 ns) in intel_gt_ns_to_pm_interval()
|
A D | intel_gt_pm_debugfs.c | 45 struct intel_gt *gt = inode->i_private; in forcewake_user_open() 65 struct intel_gt *gt = m->private; in fw_domains_show() 86 struct intel_gt *gt = m->private; in print_rc6_res() 97 struct intel_gt *gt = m->private; in vlv_drpc() 120 struct intel_gt *gt = m->private; in gen6_drpc() 208 struct intel_gt *gt = m->private; in ilk_drpc() 266 struct intel_gt *gt = m->private; in drpc_show() 524 struct intel_gt *gt = m->private; in frequency_show() 535 struct intel_gt *gt = m->private; in llc_show() 579 struct intel_gt *gt = data; in llc_eval() [all …]
|
A D | intel_gt_buffer_pool.c | 12 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() 144 struct intel_gt *gt = to_gt(pool); in node_create() 173 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()
|
A D | intel_engine.h | 24 struct intel_gt; 190 int intel_engines_init_mmio(struct intel_gt *gt); 191 int intel_engines_init(struct intel_gt *gt); 195 void intel_engines_release(struct intel_gt *gt); 196 void intel_engines_free(struct intel_gt *gt); 229 bool intel_engines_are_idle(struct intel_gt *gt); 238 void intel_engines_reset_default_submission(struct intel_gt *gt); 256 u32 intel_engine_context_size(struct intel_gt *gt, u8 class);
|
/linux/drivers/gpu/drm/i915/selftests/ |
A D | igt_reset.h | 12 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/drivers/gpu/drm/i915/pxp/ |
A D | intel_pxp_irq.c | 22 struct intel_gt *gt = pxp_to_gt(pxp); in intel_pxp_irq_handler() 46 static inline void __pxp_set_interrupts(struct intel_gt *gt, u32 interrupts) in __pxp_set_interrupts() 55 static inline void pxp_irq_reset(struct intel_gt *gt) in pxp_irq_reset() 64 struct intel_gt *gt = pxp_to_gt(pxp); in intel_pxp_irq_enable() 79 struct intel_gt *gt = pxp_to_gt(pxp); in intel_pxp_irq_disable()
|
A D | intel_pxp.c | 42 struct intel_gt *pxp_to_gt(const struct intel_pxp *pxp) in pxp_to_gt() 44 return container_of(pxp, struct intel_gt, pxp); in pxp_to_gt() 57 static void kcr_pxp_enable(struct intel_gt *gt) in kcr_pxp_enable() 63 static void kcr_pxp_disable(struct intel_gt *gt) in kcr_pxp_disable() 72 struct intel_gt *gt = pxp_to_gt(pxp); in create_vcs_context() 106 struct intel_gt *gt = pxp_to_gt(pxp); in intel_pxp_init() 161 struct intel_gt *gt = pxp_to_gt(pxp); in pxp_queue_termination()
|