Lines Matching full:gt
69 struct intel_gt *gt = arg; in live_gt_clocks() local
74 if (!RUNTIME_INFO(gt->i915)->cs_timestamp_frequency_hz) { /* unknown */ in live_gt_clocks()
79 if (INTEL_GEN(gt->i915) < 4) /* Any CS_TIMESTAMP? */ in live_gt_clocks()
82 if (IS_GEN(gt->i915, 5)) in live_gt_clocks()
91 if (IS_GEN(gt->i915, 4)) in live_gt_clocks()
101 intel_gt_pm_get(gt); in live_gt_clocks()
102 intel_uncore_forcewake_get(gt->uncore, FORCEWAKE_ALL); in live_gt_clocks()
104 for_each_engine(engine, gt, id) { in live_gt_clocks()
137 intel_uncore_forcewake_put(gt->uncore, FORCEWAKE_ALL); in live_gt_clocks()
138 intel_gt_pm_put(gt); in live_gt_clocks()
145 struct intel_gt *gt = arg; in live_gt_resume() local
151 intel_gt_suspend_prepare(gt); in live_gt_resume()
152 intel_gt_suspend_late(gt); in live_gt_resume()
154 if (gt->rc6.enabled) { in live_gt_resume()
156 intel_gt_set_wedged_on_init(gt); in live_gt_resume()
161 err = intel_gt_resume(gt); in live_gt_resume()
165 if (gt->rc6.supported && !gt->rc6.enabled) { in live_gt_resume()
167 intel_gt_set_wedged_on_init(gt); in live_gt_resume()
172 err = st_llc_verify(>->llc); in live_gt_resume()
175 intel_gt_set_wedged_on_init(gt); in live_gt_resume()
198 if (intel_gt_is_wedged(&i915->gt)) in intel_gt_pm_live_selftests()
201 return intel_gt_live_subtests(tests, &i915->gt); in intel_gt_pm_live_selftests()
215 if (intel_gt_is_wedged(&i915->gt)) in intel_gt_pm_late_selftests()
218 return intel_gt_live_subtests(tests, &i915->gt); in intel_gt_pm_late_selftests()