Home
last modified time | relevance | path

Searched refs:hangcheck (Results 1 – 15 of 15) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/i915/gt/
Dintel_hangcheck.c30 struct hangcheck { struct
57 struct intel_instdone *accu_instdone = &engine->hangcheck.instdone; in subunits_stuck() argument
87 if (acthd != engine->hangcheck.acthd) { in head_stuck()
90 memset(&engine->hangcheck.instdone, 0, in head_stuck()
91 sizeof(engine->hangcheck.instdone)); in head_stuck()
132 struct hangcheck *hc) in hangcheck_load_sample()
140 const struct hangcheck *hc) in hangcheck_store_sample()
142 engine->hangcheck.acthd = hc->acthd; in hangcheck_store_sample()
143 engine->hangcheck.last_ring = hc->ring; in hangcheck_store_sample()
144 engine->hangcheck.last_head = hc->head; in hangcheck_store_sample()
[all …]
Dintel_gt_types.h57 struct intel_hangcheck hangcheck; member
Dintel_engine_types.h476 struct intel_engine_hangcheck hangcheck; member
Dintel_engine_cs.c1376 jiffies_to_msecs(jiffies - engine->hangcheck.action_timestamp)); in intel_engine_dump()
Dselftest_hangcheck.c1757 drain_delayed_work(&gt->hangcheck.work); /* flush param */ in intel_hangcheck_live_selftests()
/Linux-v5.4/drivers/gpu/drm/i915/selftests/
Di915_live_selftests.h33 selftest(hangcheck, intel_hangcheck_live_selftests)
/Linux-v5.4/drivers/char/
DMakefile44 obj-$(CONFIG_HANGCHECK_TIMER) += hangcheck-timer.o
DKconfig487 The hangcheck-timer module detects when the system has gone
/Linux-v5.4/drivers/gpu/drm/vc4/
Dvc4_gem.c44 mod_timer(&vc4->hangcheck.timer, in vc4_queue_hangcheck()
315 container_of(work, struct vc4_dev, hangcheck.reset_work); in vc4_reset_work()
325 struct vc4_dev *vc4 = from_timer(vc4, t, hangcheck.timer); in vc4_hangcheck_elapsed()
365 schedule_work(&vc4->hangcheck.reset_work); in vc4_hangcheck_elapsed()
1280 INIT_WORK(&vc4->hangcheck.reset_work, vc4_reset_work); in vc4_gem_init()
1281 timer_setup(&vc4->hangcheck.timer, vc4_hangcheck_elapsed, 0); in vc4_gem_init()
Dvc4_drv.h211 } hangcheck; member
/Linux-v5.4/drivers/gpu/drm/i915/gem/
Di915_gem_pm.c165 cancel_delayed_work_sync(&i915->gt.hangcheck.work); in i915_gem_suspend()
/Linux-v5.4/Documentation/ioctl/
Dbotching-up-ioctls.rst119 still too tricky have a timeout or hangcheck safety net as a last-ditch
123 - it's way too easy to create a deadlock between your hangcheck code and
/Linux-v5.4/drivers/gpu/drm/i915/
Di915_debugfs.c1042 if (timer_pending(&gt->hangcheck.work.timer)) in i915_hangcheck_info()
1044 jiffies_to_msecs(gt->hangcheck.work.timer.expires - in i915_hangcheck_info()
1046 else if (delayed_work_pending(&gt->hangcheck.work)) in i915_hangcheck_info()
1060 engine->hangcheck.action_timestamp)); in i915_hangcheck_info()
1063 (long long)engine->hangcheck.acthd, in i915_hangcheck_info()
1073 &engine->hangcheck.instdone); in i915_hangcheck_info()
Di915_gpu_error.c1140 ee->hangcheck_timestamp = engine->hangcheck.action_timestamp; in error_record_engine_registers()
Di915_drv.c1662 cancel_delayed_work_sync(&i915->gt.hangcheck.work); in i915_driver_remove()