HomeSort by: relevance | last modified time | path
    Searched refs:gt (Results 1 - 25 of 228) sorted by relevancy

1 2 3 4 5 6 7 8 910

  /src/sys/external/bsd/drm2/dist/drm/i915/gt/
intel_gt_pm.h 17 static inline bool intel_gt_pm_is_awake(const struct intel_gt *gt)
19 return intel_wakeref_is_active(&gt->wakeref);
22 static inline void intel_gt_pm_get(struct intel_gt *gt)
24 intel_wakeref_get(&gt->wakeref);
27 static inline void __intel_gt_pm_get(struct intel_gt *gt)
29 __intel_wakeref_get(&gt->wakeref);
32 static inline bool intel_gt_pm_get_if_awake(struct intel_gt *gt)
34 return intel_wakeref_get_if_active(&gt->wakeref);
37 static inline void intel_gt_pm_put(struct intel_gt *gt)
39 intel_wakeref_put(&gt->wakeref)
    [all...]
intel_gt_pm.c 28 static void user_forcewake(struct intel_gt *gt, bool suspend)
30 int count = atomic_read(&gt->user_wakeref);
36 intel_gt_pm_get(gt);
38 GEM_BUG_ON(count > atomic_read(&gt->wakeref.count));
39 atomic_sub(count, &gt->wakeref.count);
41 atomic_add(count, &gt->wakeref.count);
43 intel_gt_pm_put(gt);
48 struct intel_gt *gt = container_of(wf, typeof(*gt), wakeref); local in function:__gt_unpark
49 struct drm_i915_private *i915 = gt->i915
80 struct intel_gt *gt = container_of(wf, typeof(*gt), wakeref); local in function:__gt_park
    [all...]
intel_gt_requests.h 16 long intel_gt_retire_requests_timeout(struct intel_gt *gt, long timeout);
17 static inline void intel_gt_retire_requests(struct intel_gt *gt)
19 intel_gt_retire_requests_timeout(gt, 0);
27 int intel_gt_wait_for_idle(struct intel_gt *gt, long timeout);
29 void intel_gt_init_requests(struct intel_gt *gt);
30 void intel_gt_park_requests(struct intel_gt *gt);
31 void intel_gt_unpark_requests(struct intel_gt *gt);
32 void intel_gt_fini_requests(struct intel_gt *gt);
selftest_gt_pm.c 18 struct intel_gt *gt = arg; local in function:live_gt_resume
24 intel_gt_suspend_prepare(gt);
25 intel_gt_suspend_late(gt);
27 if (gt->rc6.enabled) {
29 intel_gt_set_wedged_on_init(gt);
34 err = intel_gt_resume(gt);
38 if (gt->rc6.supported && !gt->rc6.enabled) {
40 intel_gt_set_wedged_on_init(gt);
45 err = st_llc_verify(&gt->llc)
    [all...]
intel_gt_irq.h 24 void gen11_gt_irq_reset(struct intel_gt *gt);
25 void gen11_gt_irq_postinstall(struct intel_gt *gt);
26 void gen11_gt_irq_handler(struct intel_gt *gt, const u32 master_ctl);
28 bool gen11_gt_reset_one_iir(struct intel_gt *gt,
32 void gen5_gt_irq_handler(struct intel_gt *gt, u32 gt_iir);
34 void gen5_gt_irq_postinstall(struct intel_gt *gt);
35 void gen5_gt_irq_reset(struct intel_gt *gt);
36 void gen5_gt_disable_irq(struct intel_gt *gt, u32 mask);
37 void gen5_gt_enable_irq(struct intel_gt *gt, u32 mask);
39 void gen6_gt_irq_handler(struct intel_gt *gt, u32 gt_iir)
    [all...]
intel_gt.h 17 #define GT_TRACE(gt, fmt, ...) do { \
18 const struct intel_gt *gt__ __maybe_unused = (gt); \
38 void intel_gt_init_early(struct intel_gt *gt, struct drm_i915_private *i915);
39 void intel_gt_init_hw_early(struct intel_gt *gt, struct i915_ggtt *ggtt);
40 int __must_check intel_gt_init_hw(struct intel_gt *gt);
41 int intel_gt_init(struct intel_gt *gt);
42 void intel_gt_driver_register(struct intel_gt *gt);
44 void intel_gt_driver_unregister(struct intel_gt *gt);
45 void intel_gt_driver_remove(struct intel_gt *gt);
46 void intel_gt_driver_release(struct intel_gt *gt);
    [all...]
intel_gt_pm_irq.h 16 void gen6_gt_pm_unmask_irq(struct intel_gt *gt, u32 mask);
17 void gen6_gt_pm_mask_irq(struct intel_gt *gt, u32 mask);
19 void gen6_gt_pm_enable_irq(struct intel_gt *gt, u32 enable_mask);
20 void gen6_gt_pm_disable_irq(struct intel_gt *gt, u32 disable_mask);
22 void gen6_gt_pm_reset_iir(struct intel_gt *gt, u32 reset_mask);
debugfs_gt.c 19 void debugfs_gt_register(struct intel_gt *gt)
23 if (!gt->i915->drm.primary->debugfs_root)
26 root = debugfs_create_dir("gt", gt->i915->drm.primary->debugfs_root);
30 debugfs_engines_register(gt, root);
31 debugfs_gt_pm_register(gt, root);
34 void debugfs_gt_register_files(struct intel_gt *gt,
40 if (!files->eval || files->eval(gt))
42 0444, root, gt,
intel_gt_pm_irq.c 18 static void write_pm_imr(struct intel_gt *gt)
20 struct drm_i915_private *i915 = gt->i915;
21 struct intel_uncore *uncore = gt->uncore;
22 u32 mask = gt->pm_imr;
37 static void gen6_gt_pm_update_irq(struct intel_gt *gt,
45 lockdep_assert_held(&gt->irq_lock);
47 new_val = gt->pm_imr;
51 if (new_val != gt->pm_imr) {
52 gt->pm_imr = new_val;
53 write_pm_imr(gt);
    [all...]
intel_reset.h 24 void intel_gt_init_reset(struct intel_gt *gt);
25 void intel_gt_fini_reset(struct intel_gt *gt);
28 void intel_gt_handle_error(struct intel_gt *gt,
34 void intel_gt_reset(struct intel_gt *gt,
42 int __must_check intel_gt_reset_trylock(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);
47 int intel_gt_terminally_wedged(struct intel_gt *gt);
53 void intel_gt_set_wedged_on_init(struct intel_gt *gt);
61 struct intel_gt *gt; member in struct:intel_wedge_me
    [all...]
selftest_reset.c 17 struct intel_gt *gt = arg; local in function:igt_global_reset
24 igt_global_reset_lock(gt);
25 wakeref = intel_runtime_pm_get(gt->uncore->rpm);
27 reset_count = i915_reset_count(&gt->i915->gpu_error);
29 intel_gt_reset(gt, ALL_ENGINES, NULL);
31 if (i915_reset_count(&gt->i915->gpu_error) == reset_count) {
36 intel_runtime_pm_put(gt->uncore->rpm, wakeref);
37 igt_global_reset_unlock(gt);
39 if (intel_gt_is_wedged(gt))
47 struct intel_gt *gt = arg local in function:igt_wedged_reset
68 struct intel_gt *gt = arg; local in function:igt_atomic_reset
112 struct intel_gt *gt = arg; local in function:igt_atomic_engine_reset
176 struct intel_gt *gt = &i915->gt; local in function:intel_reset_live_selftests
    [all...]
gen8_ppgtt.h 13 struct i915_ppgtt *gen8_ppgtt_create(struct intel_gt *gt);
intel_gt_irq.c 45 gen11_gt_engine_identity(struct intel_gt *gt,
51 lockdep_assert_held(&gt->irq_lock);
53 raw_reg_write(gt->uncore, GEN11_IIR_REG_SELECTOR(bank), BIT(bit));
61 ident = raw_reg_read(gt->uncore, GEN11_INTR_IDENTITY_REG(bank));
71 raw_reg_write(gt->uncore, GEN11_INTR_IDENTITY_REG(bank),
78 gen11_other_irq_handler(struct intel_gt *gt, const u8 instance,
82 return guc_irq_handler(&gt->uc.guc, iir);
85 return gen11_rps_irq_handler(&gt->rps, iir);
92 gen11_engine_irq_handler(struct intel_gt *gt, const u8 class,
98 engine = gt->engine_class[class][instance]
    [all...]
intel_reset.c 181 static int i915_do_reset(struct intel_gt *gt,
185 struct pci_dev *pdev = gt->i915->drm.pdev;
210 static int g33_do_reset(struct intel_gt *gt,
214 struct pci_dev *pdev = gt->i915->drm.pdev;
220 static int g4x_do_reset(struct intel_gt *gt,
224 struct pci_dev *pdev = gt->i915->drm.pdev;
225 struct intel_uncore *uncore = gt->uncore;
257 static int ilk_do_reset(struct intel_gt *gt, intel_engine_mask_t engine_mask,
260 struct intel_uncore *uncore = gt->uncore;
292 static int gen6_hw_domain_reset(struct intel_gt *gt, u32 hw_domain_mask
1123 struct intel_gt *gt = engine->gt; local in function:intel_engine_reset
    [all...]
debugfs_engines.h 14 void debugfs_engines_register(struct intel_gt *gt, struct dentry *root);
debugfs_gt_pm.h 14 void debugfs_gt_pm_register(struct intel_gt *gt, struct dentry *root);
intel_mocs.h 57 void intel_mocs_init(struct intel_gt *gt);
intel_gt.c 28 void intel_gt_init_early(struct intel_gt *gt, struct drm_i915_private *i915)
30 gt->i915 = i915;
31 gt->uncore = &i915->uncore;
33 spin_lock_init(&gt->irq_lock);
35 INIT_LIST_HEAD(&gt->closed_vma);
36 spin_lock_init(&gt->closed_lock);
38 intel_gt_init_reset(gt);
39 intel_gt_init_requests(gt);
40 intel_gt_init_timelines(gt);
41 intel_gt_pm_init_early(gt);
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/i915/selftests/
igt_flush_test.c 12 #include "gt/intel_gt.h"
13 #include "gt/intel_gt_requests.h"
22 struct intel_gt *gt = &i915->gt; local in function:igt_flush_test
23 int ret = intel_gt_is_wedged(gt) ? -EIO : 0;
27 if (intel_gt_wait_for_idle(gt, HZ / 5) == -ETIME) {
35 intel_gt_set_wedged(gt);
igt_reset.h 16 void igt_global_reset_lock(struct intel_gt *gt);
17 void igt_global_reset_unlock(struct intel_gt *gt);
18 bool igt_force_reset(struct intel_gt *gt);
igt_reset.c 14 #include "gt/intel_engine.h"
15 #include "gt/intel_gt.h"
19 void igt_global_reset_lock(struct intel_gt *gt)
24 pr_debug("%s: current gpu_error=%08lx\n", __func__, gt->reset.flags);
26 while (test_and_set_bit(I915_RESET_BACKOFF, &gt->reset.flags))
27 wait_event(gt->reset.queue,
28 !test_bit(I915_RESET_BACKOFF, &gt->reset.flags));
30 for_each_engine(engine, gt, id) {
32 &gt->reset.flags))
33 wait_on_bit(&gt->reset.flags, I915_RESET_ENGINE + id
    [all...]
  /src/sys/dev/marvell/
gt.c 1 /* $NetBSD: gt.c,v 1.30 2021/08/07 16:19:13 thorpej Exp $ */
41 * gt.c -- GT system controller driver
45 __KERNEL_RCSID(0, "$NetBSD: gt.c,v 1.30 2021/08/07 16:19:13 thorpej Exp $");
244 gt_attach_common(struct gt_softc *gt)
251 gt_write(gt, GTPCI_CA(0), PCI_ID_REG);
252 gt->sc_model = PCI_PRODUCT(gt_read(gt, GTPCI_CD(0)));
253 gt_write(gt, GTPCI_CA(0), PCI_CLASS_REG);
254 gt->sc_rev = PCI_REVISION(gt_read(gt, GTPCI_CD(0)))
523 struct gt_softc *gt = (struct gt_softc *)arg; local in function:gt_devbus_intr
575 struct gt_softc *gt = (struct gt_softc *)arg; local in function:gt_ecc_intr
658 struct gt_softc *gt = (struct gt_softc *)arg; local in function:gt_comm_intr
857 struct gt_softc *gt = gt_watchdog_sc; local in function:gt_watchdog_service
876 struct gt_softc *gt = gt_watchdog_sc; local in function:gt_watchdog_reset
    [all...]
  /src/share/man/man4/man4.cobalt/
Makefile 3 MAN= gt.4 intro.4
  /src/usr.sbin/mrouted/
prune.c 49 static void prun_add_ttls(struct gtable *gt);
53 static void expire_prune(vifi_t vifi, struct gtable *gt);
54 static void send_prune(struct gtable *gt);
55 static void send_graft(struct gtable *gt);
65 prun_add_ttls(struct gtable *gt)
71 if (VIFM_ISSET(vifi, gt->gt_grpmems))
72 gt->gt_ttls[vifi] = v->uv_threshold;
74 gt->gt_ttls[vifi] = 0;
81 #define GET_SCOPE(gt) { \
83 if ((ntohl((gt)->gt_mcastgrp) & 0xff000000) == 0xef000000)
132 struct gtable *gt; local in function:find_src_grp
383 struct gtable *gt; local in function:find_grp
423 struct gtable *gt, *gbest = NULL; local in function:next_grp_src_mask
593 struct gtable *gt,**gtnp,*prev_gt; local in function:add_table_entry
1549 struct gtable *gt, **gtnp; local in function:steal_sources
1619 struct gtable *gt, **gtnptr; local in function:age_table_entry
1882 struct gtable *gt; local in function:dump_cache
1950 struct gtable *gt; local in function:accept_mtrace
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/i915/gt/uc/
intel_huc_fw.c 11 #include "gt/intel_gt.h"
23 struct intel_gt *gt = huc_to_gt(huc); local in function:intel_huc_fw_init_early
24 struct intel_uc *uc = &gt->uc;
25 struct drm_i915_private *i915 = gt->i915;

Completed in 34 milliseconds

1 2 3 4 5 6 7 8 910