/Linux-v5.15/drivers/gpu/drm/i915/gt/ |
D | intel_gt_pm.c | 22 static void user_forcewake(struct intel_gt *gt, bool suspend) in user_forcewake() 40 static void runtime_begin(struct intel_gt *gt) in runtime_begin() 50 static void runtime_end(struct intel_gt *gt) in runtime_end() 64 struct intel_gt *gt = container_of(wf, typeof(*gt), wakeref); in __gt_unpark() local 95 struct intel_gt *gt = container_of(wf, typeof(*gt), wakeref); in __gt_park() local 124 void intel_gt_pm_init_early(struct intel_gt *gt) in intel_gt_pm_init_early() 130 void intel_gt_pm_init(struct intel_gt *gt) in intel_gt_pm_init() 141 static bool reset_engines(struct intel_gt *gt) in reset_engines() 149 static void gt_sanitize(struct intel_gt *gt, bool force) in gt_sanitize() 199 void intel_gt_pm_fini(struct intel_gt *gt) in intel_gt_pm_fini() [all …]
|
D | intel_gt.c | 25 void intel_gt_init_early(struct intel_gt *gt, struct drm_i915_private *i915) in intel_gt_init_early() 48 int intel_gt_probe_lmem(struct intel_gt *gt) in intel_gt_probe_lmem() 82 void intel_gt_init_hw_early(struct intel_gt *gt, struct i915_ggtt *ggtt) in intel_gt_init_hw_early() 112 static u16 slicemask(struct intel_gt *gt, int count) in slicemask() 119 int intel_gt_init_mmio(struct intel_gt *gt) in intel_gt_init_mmio() 157 static void init_unused_ring(struct intel_gt *gt, u32 base) in init_unused_ring() 167 static void init_unused_rings(struct intel_gt *gt) in init_unused_rings() 186 int intel_gt_init_hw(struct intel_gt *gt) in intel_gt_init_hw() 263 intel_gt_clear_error_registers(struct intel_gt *gt, in intel_gt_clear_error_registers() 306 static void gen6_check_faults(struct intel_gt *gt) in gen6_check_faults() [all …]
|
D | intel_gt_irq.c | 24 gen11_gt_engine_identity(struct intel_gt *gt, in gen11_gt_engine_identity() 58 gen11_other_irq_handler(struct intel_gt *gt, const u8 instance, in gen11_other_irq_handler() 72 gen11_engine_irq_handler(struct intel_gt *gt, const u8 class, in gen11_engine_irq_handler() 90 gen11_gt_identity_handler(struct intel_gt *gt, const u32 identity) in gen11_gt_identity_handler() 110 gen11_gt_bank_handler(struct intel_gt *gt, const unsigned int bank) in gen11_gt_bank_handler() 130 void gen11_gt_irq_handler(struct intel_gt *gt, const u32 master_ctl) in gen11_gt_irq_handler() 144 bool gen11_gt_reset_one_iir(struct intel_gt *gt, in gen11_gt_reset_one_iir() 174 void gen11_gt_irq_reset(struct intel_gt *gt) in gen11_gt_irq_reset() 201 void gen11_gt_irq_postinstall(struct intel_gt *gt) in gen11_gt_irq_postinstall() 248 void gen5_gt_irq_handler(struct intel_gt *gt, u32 gt_iir) in gen5_gt_irq_handler() [all …]
|
D | intel_gt_pm.h | 14 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_put(struct intel_gt *gt) in intel_gt_pm_put() 39 static inline void intel_gt_pm_put_async(struct intel_gt *gt) in intel_gt_pm_put_async() 44 static inline int intel_gt_pm_wait_for_idle(struct intel_gt *gt) in intel_gt_pm_wait_for_idle() 62 static inline bool is_mock_gt(const struct intel_gt *gt) in is_mock_gt()
|
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() 236 static int ilk_do_reset(struct intel_gt *gt, intel_engine_mask_t engine_mask, in ilk_do_reset() 271 static int gen6_hw_domain_reset(struct intel_gt *gt, u32 hw_domain_mask) in gen6_hw_domain_reset() 296 static int gen6_reset_engines(struct intel_gt *gt, in gen6_reset_engines() 491 static int gen11_reset_engines(struct intel_gt *gt, in gen11_reset_engines() 597 static int gen8_reset_engines(struct intel_gt *gt, in gen8_reset_engines() 638 static int mock_reset(struct intel_gt *gt, in mock_reset() 649 static reset_func intel_get_gpu_reset(const struct intel_gt *gt) in intel_get_gpu_reset() [all …]
|
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()
|
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() local 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() local
|
D | debugfs_gt_pm.c | 24 struct intel_gt *gt = m->private; in fw_domains_show() local 45 struct intel_gt *gt = m->private; in print_rc6_res() local 56 struct intel_gt *gt = m->private; in vlv_drpc() local 79 struct intel_gt *gt = m->private; in gen6_drpc() local 167 struct intel_gt *gt = m->private; in ilk_drpc() local 225 struct intel_gt *gt = m->private; in drpc_show() local 245 struct intel_gt *gt = m->private; in frequency_show() local 489 struct intel_gt *gt = m->private; in llc_show() local 533 struct intel_gt *gt = data; in llc_eval() local 556 struct intel_gt *gt = m->private; in rps_boost_show() local [all …]
|
D | intel_gt.h | 16 #define GT_TRACE(gt, fmt, ...) do { \ argument 60 static inline u32 intel_gt_scratch_offset(const struct intel_gt *gt, in intel_gt_scratch_offset() 66 static inline bool intel_gt_has_unrecoverable_error(const struct intel_gt *gt) in intel_gt_has_unrecoverable_error() 72 static inline bool intel_gt_is_wedged(const struct intel_gt *gt) in intel_gt_is_wedged() 80 static inline bool intel_gt_needs_read_steering(struct intel_gt *gt, in intel_gt_needs_read_steering()
|
D | intel_sseu_debugfs.c | 19 static void cherryview_sseu_device_status(struct intel_gt *gt, in cherryview_sseu_device_status() 53 static void gen11_sseu_device_status(struct intel_gt *gt, in gen11_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() local 289 struct intel_gt *gt = m->private; in rcs_topology_show() local 298 void intel_sseu_debugfs_register(struct intel_gt *gt, struct dentry *root) in intel_sseu_debugfs_register()
|
D | selftest_reset.c | 18 __igt_reset_stolen(struct intel_gt *gt, in __igt_reset_stolen() 188 struct intel_gt *gt = arg; in igt_reset_engines_stolen() local 207 struct intel_gt *gt = arg; in igt_global_reset() local 237 struct intel_gt *gt = arg; in igt_wedged_reset() local 258 struct intel_gt *gt = arg; in igt_atomic_reset() local 302 struct intel_gt *gt = arg; in igt_atomic_engine_reset() local 379 struct intel_gt *gt = &i915->gt; in intel_reset_live_selftests() local
|
D | selftest_hangcheck.c | 31 struct intel_gt *gt; member 39 static int hang_init(struct hang *h, struct intel_gt *gt) in hang_init() 119 struct intel_gt *gt = h->gt; in hang_create_request() local 299 struct intel_gt *gt = arg; in igt_hang_sanitycheck() local 363 struct intel_gt *gt = arg; in igt_reset_nop() local 439 struct intel_gt *gt = arg; in igt_reset_nop_engine() local 559 struct intel_gt *gt = arg; in igt_reset_fail_engine() local 695 static int __igt_reset_engine(struct intel_gt *gt, bool active) in __igt_reset_engine() 968 static int __igt_reset_engines(struct intel_gt *gt, in __igt_reset_engines() 1263 struct intel_gt *gt = arg; in igt_reset_engines() local [all …]
|
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()
|
D | selftest_execlists.c | 112 struct intel_gt *gt = arg; in live_sanitycheck() local 165 static int live_unlite_restore(struct intel_gt *gt, int prio) in live_unlite_restore() 328 struct intel_gt *gt = arg; in live_unlite_ring() local 478 struct intel_gt *gt = arg; in live_pin_rewind() local 582 struct intel_gt *gt = arg; in live_hold_reset() local 689 struct intel_gt *gt = arg; in live_error_interrupt() local 979 struct intel_gt *gt = arg; in live_timeslice_preempt() local 1114 struct intel_gt *gt = arg; in live_timeslice_rewind() local 1287 struct intel_gt *gt = arg; in live_timeslice_queue() local 1413 struct intel_gt *gt = arg; in live_timeslice_nopreempt() local [all …]
|
D | intel_gt_buffer_pool.c | 144 struct intel_gt *gt = to_gt(pool); in node_create() local 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()
|
D | intel_timeline.c | 16 static struct i915_vma *hwsp_alloc(struct intel_gt *gt) in hwsp_alloc() 73 struct intel_gt *gt, in intel_timeline_init() 112 void intel_gt_init_timelines(struct intel_gt *gt) in intel_gt_init_timelines() 143 __intel_timeline_create(struct intel_gt *gt, in __intel_timeline_create() 400 void intel_gt_fini_timelines(struct intel_gt *gt) in intel_gt_fini_timelines() 407 void intel_gt_show_timelines(struct intel_gt *gt, in intel_gt_show_timelines()
|
D | intel_sseu.c | 128 static void gen12_sseu_info_init(struct intel_gt *gt) in gen12_sseu_info_init() 182 static void gen11_sseu_info_init(struct intel_gt *gt) in gen11_sseu_info_init() 210 static void cherryview_sseu_info_init(struct intel_gt *gt) in cherryview_sseu_info_init() 265 static void gen9_sseu_info_init(struct intel_gt *gt) in gen9_sseu_info_init() 372 static void bdw_sseu_info_init(struct intel_gt *gt) in bdw_sseu_info_init() 457 static void hsw_sseu_info_init(struct intel_gt *gt) in hsw_sseu_info_init() 525 void intel_sseu_info_init(struct intel_gt *gt) in intel_sseu_info_init() 543 u32 intel_sseu_make_rpcs(struct intel_gt *gt, in intel_sseu_make_rpcs()
|
D | selftest_context.c | 149 struct intel_gt *gt = arg; in live_context_size() local 307 struct intel_gt *gt = arg; in live_active_context() local 420 struct intel_gt *gt = arg; in live_remote_context() local 445 struct intel_gt *gt = &i915->gt; in intel_context_live_selftests() local
|
/Linux-v5.15/drivers/gpu/drm/i915/gt/uc/ |
D | intel_guc.c | 38 struct intel_gt *gt = guc_to_gt(guc); in intel_guc_notify() local 60 struct intel_gt *gt = guc_to_gt(guc); in intel_guc_init_send_regs() local 77 struct intel_gt *gt = guc_to_gt(guc); in gen9_reset_guc_interrupts() local 88 struct intel_gt *gt = guc_to_gt(guc); in gen9_enable_guc_interrupts() local 101 struct intel_gt *gt = guc_to_gt(guc); in gen9_disable_guc_interrupts() local 117 struct intel_gt *gt = guc_to_gt(guc); in gen11_reset_guc_interrupts() local 126 struct intel_gt *gt = guc_to_gt(guc); in gen11_enable_guc_interrupts() local 140 struct intel_gt *gt = guc_to_gt(guc); in gen11_disable_guc_interrupts() local 310 struct intel_gt *gt = guc_to_gt(guc); in intel_guc_init() local 373 struct intel_gt *gt = guc_to_gt(guc); in intel_guc_fini() local [all …]
|
D | intel_guc_ads.c | 103 struct intel_gt *gt = guc_to_gt(guc); in guc_policies_init() local 143 struct intel_gt *gt = guc_to_gt(guc); in intel_guc_global_policies_update() local 163 static void guc_mapping_table_init(struct intel_gt *gt, in guc_mapping_table_init() 274 struct intel_gt *gt = guc_to_gt(guc); in guc_mmio_reg_state_query() local 305 struct intel_gt *gt = guc_to_gt(guc); in guc_mmio_reg_state_init() local 343 static void fill_engine_enable_masks(struct intel_gt *gt, in fill_engine_enable_masks() 355 struct intel_gt *gt = guc_to_gt(guc); in guc_prep_golden_context() local 411 static struct intel_engine_cs *find_engine_state(struct intel_gt *gt, u8 engine_class) in find_engine_state() 433 struct intel_gt *gt = guc_to_gt(guc); in guc_init_golden_context() local 493 struct intel_gt *gt = guc_to_gt(guc); in __guc_ads_init() local
|
D | intel_huc.c | 59 struct intel_gt *gt = huc_to_gt(huc); in intel_huc_rsa_data_create() local 158 struct intel_gt *gt = huc_to_gt(huc); in intel_huc_auth() local 215 struct intel_gt *gt = huc_to_gt(huc); in intel_huc_check_status() local 247 struct intel_gt *gt = huc_to_gt(huc); in intel_huc_load_status() local
|
/Linux-v5.15/drivers/gpu/drm/i915/selftests/ |
D | igt_reset.c | 14 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()
|
D | i915_gem_evict.c | 107 struct intel_gt *gt = arg; in igt_evict_something() local 153 struct intel_gt *gt = arg; in igt_overcommit() local 190 struct intel_gt *gt = arg; in igt_evict_for_vma() local 241 struct intel_gt *gt = arg; in igt_evict_for_cache_color() local 332 struct intel_gt *gt = arg; in igt_evict_vm() local 372 struct intel_gt *gt = arg; in igt_evict_contexts() local
|
/Linux-v5.15/drivers/gpu/drm/gma500/ |
D | gtt.c | 146 static int psb_gtt_attach_pages(struct gtt_range *gt) in psb_gtt_attach_pages() 171 static void psb_gtt_detach_pages(struct gtt_range *gt) in psb_gtt_detach_pages() 187 int psb_gtt_pin(struct gtt_range *gt) in psb_gtt_pin() 226 void psb_gtt_unpin(struct gtt_range *gt) in psb_gtt_unpin() 270 struct gtt_range *gt; in psb_gtt_alloc_range() local 311 void psb_gtt_free_range(struct drm_device *dev, struct gtt_range *gt) in psb_gtt_free_range()
|
/Linux-v5.15/drivers/gpu/drm/i915/ |
D | i915_gpu_error.c | 683 struct intel_gt_coredump *gt) in err_print_gt_info() 692 struct intel_gt_coredump *gt) in err_print_gt() 952 static void cleanup_gt(struct intel_gt_coredump *gt) in cleanup_gt() 975 struct intel_gt_coredump *gt = error->gt; in __i915_gpu_coredump_free() local 990 i915_vma_coredump_create(const struct intel_gt *gt, in i915_vma_coredump_create() 1098 static void gt_record_fences(struct intel_gt_coredump *gt) in gt_record_fences() 1482 gt_record_engines(struct intel_gt_coredump *gt, in gt_record_engines() 1513 gt_record_uc(struct intel_gt_coredump *gt, in gt_record_uc() 1541 static void gt_record_regs(struct intel_gt_coredump *gt) in gt_record_regs() 1664 static void gt_record_info(struct intel_gt_coredump *gt) in gt_record_info() [all …]
|