| /drivers/gpu/drm/i915/gt/ |
| A D | intel_gt.h | 85 static inline bool gt_is_root(struct intel_gt *gt) in gt_is_root() 99 return container_of(uc, struct intel_gt, uc); in uc_to_gt() 104 return container_of(guc, struct intel_gt, uc.guc); in guc_to_gt() 109 return container_of(huc, struct intel_gt, uc.huc); in huc_to_gt() 119 return container_of(gsc, struct intel_gt, gsc); in gsc_to_gt() 134 int intel_gt_assign_ggtt(struct intel_gt *gt); 135 int intel_gt_init_mmio(struct intel_gt *gt); 137 int intel_gt_init(struct intel_gt *gt); 141 void intel_gt_driver_remove(struct intel_gt *gt); 142 void intel_gt_driver_release(struct intel_gt *gt); [all …]
|
| A D | intel_gt_pm.h | 30 static inline void __intel_gt_pm_get(struct intel_gt *gt) in __intel_gt_pm_get() 94 void intel_gt_pm_init_early(struct intel_gt *gt); 95 void intel_gt_pm_init(struct intel_gt *gt); 96 void intel_gt_pm_fini(struct intel_gt *gt); 98 void intel_gt_suspend_prepare(struct intel_gt *gt); 99 void intel_gt_suspend_late(struct intel_gt *gt); 100 int intel_gt_resume(struct intel_gt *gt); 101 void intel_gt_resume_early(struct intel_gt *gt); 103 void intel_gt_runtime_suspend(struct intel_gt *gt); 104 int intel_gt_runtime_resume(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, 33 void intel_gt_reset(struct intel_gt *gt, 47 void intel_gt_set_wedged(struct intel_gt *gt); 48 bool intel_gt_unset_wedged(struct intel_gt *gt); 49 int intel_gt_terminally_wedged(struct intel_gt *gt); 62 int intel_reset_guc(struct intel_gt *gt); 66 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_mcr.h | 11 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); 14 void intel_gt_mcr_lock_sanitize(struct intel_gt *gt); 16 u32 intel_gt_mcr_read(struct intel_gt *gt, 20 u32 intel_gt_mcr_read_any(struct intel_gt *gt, i915_mcr_reg_t reg); 22 void intel_gt_mcr_unicast_write(struct intel_gt *gt, 25 void intel_gt_mcr_multicast_write(struct intel_gt *gt, 27 void intel_gt_mcr_multicast_write_fw(struct intel_gt *gt, 33 void intel_gt_mcr_get_nonterminated_steering(struct intel_gt *gt, [all …]
|
| A D | intel_gt_sysfs_pm.c | 29 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() 313 static u32 __act_freq_mhz_show(struct intel_gt *gt) in __act_freq_mhz_show() 318 static u32 __cur_freq_mhz_show(struct intel_gt *gt) in __cur_freq_mhz_show() 510 i915_reg_t (*reg32)(struct intel_gt *gt); 797 struct intel_gt *gt = kobj_to_gt(kobj->parent); in default_min_freq_mhz_show() 808 struct intel_gt *gt = kobj_to_gt(kobj->parent); in default_max_freq_mhz_show() 821 struct intel_gt *gt = kobj_to_gt(kobj->parent); in default_rps_up_threshold_pct_show() [all …]
|
| A D | intel_gt.c | 40 void intel_gt_common_init_early(struct intel_gt *gt) in intel_gt_common_init_early() 65 struct intel_gt *gt; in intel_root_gt_init_early() 84 static int intel_gt_probe_lmem(struct intel_gt *gt) in intel_gt_probe_lmem() 115 int intel_gt_assign_ggtt(struct intel_gt *gt) in intel_gt_assign_ggtt() 131 int intel_gt_init_mmio(struct intel_gt *gt) in intel_gt_init_mmio() 152 static void init_unused_rings(struct intel_gt *gt) in init_unused_rings() 171 int intel_gt_init_hw(struct intel_gt *gt) in intel_gt_init_hw() 685 int intel_gt_init(struct intel_gt *gt) in intel_gt_init() 842 struct intel_gt *gt; in intel_gt_driver_late_release_all() 894 struct intel_gt *gt = to_gt(i915); in intel_gt_probe_all() [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 | 49 static void runtime_begin(struct intel_gt *gt) in runtime_begin() 59 static void runtime_end(struct intel_gt *gt) in runtime_end() 137 void intel_gt_pm_init_early(struct intel_gt *gt) in intel_gt_pm_init_early() 150 void intel_gt_pm_init(struct intel_gt *gt) in intel_gt_pm_init() 161 static bool reset_engines(struct intel_gt *gt) in reset_engines() 220 void intel_gt_pm_fini(struct intel_gt *gt) in intel_gt_pm_fini() 225 void intel_gt_resume_early(struct intel_gt *gt) in intel_gt_resume_early() 240 int intel_gt_resume(struct intel_gt *gt) in intel_gt_resume() 313 static void wait_for_suspend(struct intel_gt *gt) in wait_for_suspend() 346 void intel_gt_suspend_late(struct intel_gt *gt) in intel_gt_suspend_late() [all …]
|
| A D | intel_reset.c | 158 static int i915_do_reset(struct intel_gt *gt, in i915_do_reset() 187 static int g33_do_reset(struct intel_gt *gt, in g33_do_reset() 197 static int g4x_do_reset(struct intel_gt *gt, in g4x_do_reset() 666 static int mock_reset(struct intel_gt *gt, in mock_reset() 814 int intel_reset_guc(struct intel_gt *gt) in intel_reset_guc() 903 static void gt_revoke(struct intel_gt *gt) in gt_revoke() 1018 struct intel_gt *gt = container_of(w, struct intel_gt, wedge); in set_wedged_work() 1165 static int resume(struct intel_gt *gt) in resume() 1204 void intel_gt_reset(struct intel_gt *gt, in intel_gt_reset() 1332 struct intel_gt *gt = engine->gt; in __intel_engine_reset_bh() [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_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_sysfs.h | 15 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,
|
| A D | intel_gt_mcr.c | 108 void intel_gt_mcr_init(struct intel_gt *gt) in intel_gt_mcr_init() 206 static u32 rw_with_mcr_steering_fw(struct intel_gt *gt, in rw_with_mcr_steering_fw() 283 static u32 rw_with_mcr_steering(struct intel_gt *gt, in rw_with_mcr_steering() 326 void intel_gt_mcr_lock(struct intel_gt *gt, unsigned long *flags) in intel_gt_mcr_lock() 411 void intel_gt_mcr_lock_sanitize(struct intel_gt *gt) in intel_gt_mcr_lock_sanitize() 435 u32 intel_gt_mcr_read(struct intel_gt *gt, in intel_gt_mcr_read() 471 void intel_gt_mcr_multicast_write(struct intel_gt *gt, in intel_gt_mcr_multicast_write() 561 static bool reg_needs_read_steering(struct intel_gt *gt, in reg_needs_read_steering() 592 static void get_nonterminated_steering(struct intel_gt *gt, in get_nonterminated_steering() 742 struct intel_gt *gt, in report_steering_type() [all …]
|
| A D | intel_gt_irq.c | 31 gen11_gt_engine_identity(struct intel_gt *gt, in gen11_gt_engine_identity() 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() 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() 451 void gen8_gt_irq_reset(struct intel_gt *gt) in gen8_gt_irq_reset() 461 void gen8_gt_irq_postinstall(struct intel_gt *gt) in gen8_gt_irq_postinstall() 513 void gen5_gt_irq_reset(struct intel_gt *gt) in gen5_gt_irq_reset() [all …]
|
| A D | intel_gt_pm_irq.c | 13 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()
|
| 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 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);
|
| A D | intel_gt_pm_debugfs.c | 69 struct intel_gt *gt = m->private; in fw_domains_show() 92 struct intel_gt *gt = m->private; in vlv_drpc() 117 struct intel_gt *gt = m->private; in gen6_drpc() 206 struct intel_gt *gt = m->private; in ilk_drpc() 265 struct intel_gt *gt = m->private; in mtl_drpc() 319 struct intel_gt *gt = m->private; in drpc_show() 457 struct intel_gt *gt = data; in llc_eval() 538 struct intel_gt *gt = data; in rps_eval() 550 struct intel_gt *gt = data; in perf_limit_reasons_get() 561 struct intel_gt *gt = data; in perf_limit_reasons_clear() [all …]
|
| A D | intel_tlb.h | 14 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()
|
| 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_buffer_pool.c | 91 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()
|
| 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()
|
| /drivers/gpu/drm/i915/ |
| A D | i915_pmu.h | 16 struct intel_gt; 153 void i915_pmu_gt_parked(struct intel_gt *gt); 154 void i915_pmu_gt_unparked(struct intel_gt *gt); 158 static inline void i915_pmu_gt_parked(struct intel_gt *gt) {} in i915_pmu_gt_parked() 159 static inline void i915_pmu_gt_unparked(struct intel_gt *gt) {} in i915_pmu_gt_unparked()
|
| /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);
|
| /drivers/gpu/drm/i915/pxp/ |
| A D | intel_pxp_irq.c | 27 struct intel_gt *gt; in intel_pxp_irq_handler() 54 static inline void __pxp_set_interrupts(struct intel_gt *gt, u32 interrupts) in __pxp_set_interrupts() 63 static inline void pxp_irq_reset(struct intel_gt *gt) in pxp_irq_reset() 72 struct intel_gt *gt = pxp->ctrl_gt; in intel_pxp_irq_enable() 87 struct intel_gt *gt = pxp->ctrl_gt; in intel_pxp_irq_disable()
|