Home
last modified time | relevance | path

Searched refs:gpu_error (Results 1 – 24 of 24) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/i915/selftests/
Dintel_hangcheck.c357 __func__, i915->gpu_error.flags); in global_reset_lock()
359 while (test_and_set_bit(I915_RESET_BACKOFF, &i915->gpu_error.flags)) in global_reset_lock()
360 wait_event(i915->gpu_error.reset_queue, in global_reset_lock()
362 &i915->gpu_error.flags)); in global_reset_lock()
366 &i915->gpu_error.flags)) in global_reset_lock()
367 wait_on_bit(&i915->gpu_error.flags, in global_reset_lock()
379 clear_bit(I915_RESET_ENGINE + id, &i915->gpu_error.flags); in global_reset_unlock()
381 clear_bit(I915_RESET_BACKOFF, &i915->gpu_error.flags); in global_reset_unlock()
382 wake_up_all(&i915->gpu_error.reset_queue); in global_reset_unlock()
394 set_bit(I915_RESET_HANDOFF, &i915->gpu_error.flags); in igt_global_reset()
[all …]
Di915_request.c298 i915->gpu_error.missed_irq_rings = 0; in begin_live_test()
299 t->reset_count = i915_reset_count(&i915->gpu_error); in begin_live_test()
315 if (t->reset_count != i915_reset_count(&i915->gpu_error)) { in end_live_test()
318 i915_reset_count(&i915->gpu_error) - t->reset_count); in end_live_test()
322 if (i915->gpu_error.missed_irq_rings) { in end_live_test()
324 t->func, t->name, i915->gpu_error.missed_irq_rings); in end_live_test()
869 if (i915_terminally_wedged(&i915->gpu_error)) in i915_request_live_selftests()
Dintel_workarounds.c127 if (i915_terminally_wedged(&ctx->i915->gpu_error)) in check_whitelist()
245 struct i915_gpu_error *error = &i915->gpu_error; in live_reset_whitelist()
291 if (i915_terminally_wedged(&i915->gpu_error)) in intel_workarounds_live_selftests()
Digt_flush_test.c32 return i915_terminally_wedged(&i915->gpu_error) ? -EIO : 0; in igt_flush_test()
Dmock_gem_device.c187 init_waitqueue_head(&i915->gpu_error.wait_queue); in mock_gem_device()
188 init_waitqueue_head(&i915->gpu_error.reset_queue); in mock_gem_device()
Di915_gem_coherency.c255 return !i915_terminally_wedged(&i915->gpu_error); in needs_fence_registers()
260 if (i915_terminally_wedged(&i915->gpu_error)) in needs_mi_store_dword()
Dintel_lrc.c531 set_bit(I915_RESET_ENGINE + id, &i915->gpu_error.flags); in live_preempt_hang()
533 clear_bit(I915_RESET_ENGINE + id, &i915->gpu_error.flags); in live_preempt_hang()
580 if (i915_terminally_wedged(&i915->gpu_error)) in intel_execlists_live_selftests()
Di915_gem_evict.c503 if (i915_terminally_wedged(&i915->gpu_error)) in i915_gem_evict_live_selftests()
Di915_gem_object.c578 if (i915_terminally_wedged(&i915->gpu_error)) in igt_mmap_offset_exhaustion()
Di915_gem_context.c722 if (i915_terminally_wedged(&dev_priv->gpu_error)) in i915_gem_context_live_selftests()
Dhuge_pages.c1758 if (i915_terminally_wedged(&dev_priv->gpu_error)) in i915_gem_huge_page_live_selftests()
/Linux-v4.19/drivers/gpu/drm/i915/
Dintel_breadcrumbs.c93 set_bit(engine->id, &engine->i915->gpu_error.missed_irq_rings); in missed_breadcrumb()
155 if (!test_bit(engine->id, &engine->i915->gpu_error.missed_irq_rings)) { in intel_breadcrumbs_fake_irq()
274 if (!test_bit(engine->id, &engine->i915->gpu_error.missed_irq_rings)) in use_fake_irq()
335 !test_bit(engine->id, &i915->gpu_error.test_irq_rings)) { in __intel_breadcrumbs_enable_irq()
846 clear_bit(engine->id, &engine->i915->gpu_error.missed_irq_rings); in cancel_fake_irq()
861 clear_bit(engine->id, &engine->i915->gpu_error.missed_irq_rings); in intel_engine_reset_breadcrumbs()
Dintel_hangcheck.c413 gpu_error.hangcheck_work.work); in i915_hangcheck_elapsed()
424 if (i915_terminally_wedged(&dev_priv->gpu_error)) in i915_hangcheck_elapsed()
475 INIT_DELAYED_WORK(&i915->gpu_error.hangcheck_work, in intel_hangcheck_init()
Di915_gpu_error.c708 err_printf(m, "Missed interrupts: 0x%08lx\n", dev_priv->gpu_error.missed_irq_rings); in i915_error_state_to_str()
1268 ee->reset_count = i915_reset_engine_count(&dev_priv->gpu_error, in error_record_engine_registers()
1743 error->reset_count = i915_reset_count(&i915->gpu_error); in capture_gen_state()
1850 if (READ_ONCE(i915->gpu_error.first_error)) in i915_capture_error_state()
1863 spin_lock_irqsave(&i915->gpu_error.lock, flags); in i915_capture_error_state()
1864 if (!i915->gpu_error.first_error) { in i915_capture_error_state()
1865 i915->gpu_error.first_error = error; in i915_capture_error_state()
1868 spin_unlock_irqrestore(&i915->gpu_error.lock, flags); in i915_capture_error_state()
1893 spin_lock_irq(&i915->gpu_error.lock); in i915_first_error_state()
1894 error = i915->gpu_error.first_error; in i915_first_error_state()
[all …]
Di915_gem.c129 ret = i915_gem_wait_for_error(&dev_priv->gpu_error); in i915_mutex_lock_interruptible()
2135 if (!i915_terminally_wedged(&dev_priv->gpu_error)) in i915_gem_fault()
3310 set_bit(I915_WEDGED, &i915->gpu_error.flags); in i915_gem_set_wedged()
3372 wake_up_all(&i915->gpu_error.reset_queue); in i915_gem_set_wedged()
3380 if (!test_bit(I915_WEDGED, &i915->gpu_error.flags)) in i915_gem_unset_wedged()
3436 clear_bit(I915_WEDGED, &i915->gpu_error.flags); in i915_gem_unset_wedged()
3536 if (i915_terminally_wedged(&i915->gpu_error)) in assert_kernel_context_is_current()
3590 cancel_delayed_work_sync(&dev_priv->gpu_error.hangcheck_work); in i915_gem_idle_work_handler()
4375 if (i915_terminally_wedged(&dev_priv->gpu_error)) in i915_gem_ring_throttle()
5018 if (i915_terminally_wedged(&i915->gpu_error)) in i915_gem_sanitize()
[all …]
Di915_debugfs.c1318 if (test_bit(I915_WEDGED, &dev_priv->gpu_error.flags)) in i915_hangcheck_info()
1320 if (test_bit(I915_RESET_BACKOFF, &dev_priv->gpu_error.flags)) in i915_hangcheck_info()
1322 if (test_bit(I915_RESET_HANDOFF, &dev_priv->gpu_error.flags)) in i915_hangcheck_info()
1324 if (waitqueue_active(&dev_priv->gpu_error.wait_queue)) in i915_hangcheck_info()
1326 if (waitqueue_active(&dev_priv->gpu_error.reset_queue)) in i915_hangcheck_info()
1345 if (timer_pending(&dev_priv->gpu_error.hangcheck_work.timer)) in i915_hangcheck_info()
1347 jiffies_to_msecs(dev_priv->gpu_error.hangcheck_work.timer.expires - in i915_hangcheck_info()
1349 else if (delayed_work_pending(&dev_priv->gpu_error.hangcheck_work)) in i915_hangcheck_info()
1367 &dev_priv->gpu_error.missed_irq_rings)), in i915_hangcheck_info()
1407 struct i915_gpu_error *error = &dev_priv->gpu_error; in i915_reset_info()
[all …]
Di915_irq.c3165 struct i915_gpu_error *error = &dev_priv->gpu_error; in i915_reset_device()
3294 &dev_priv->gpu_error.flags)) in i915_handle_error()
3301 &dev_priv->gpu_error.flags); in i915_handle_error()
3302 wake_up_bit(&dev_priv->gpu_error.flags, in i915_handle_error()
3311 if (test_and_set_bit(I915_RESET_BACKOFF, &dev_priv->gpu_error.flags)) { in i915_handle_error()
3312 wait_event(dev_priv->gpu_error.reset_queue, in i915_handle_error()
3314 &dev_priv->gpu_error.flags)); in i915_handle_error()
3321 &dev_priv->gpu_error.flags)) in i915_handle_error()
3322 wait_on_bit(&dev_priv->gpu_error.flags, in i915_handle_error()
3331 &dev_priv->gpu_error.flags); in i915_handle_error()
[all …]
Dintel_engine_cs.c979 if (i915_terminally_wedged(&dev_priv->gpu_error)) in intel_engine_is_idle()
1027 if (i915_terminally_wedged(&dev_priv->gpu_error)) in intel_engines_are_idle()
1454 struct i915_gpu_error * const error = &engine->i915->gpu_error; in intel_engine_dump()
1468 if (i915_terminally_wedged(&engine->i915->gpu_error)) in intel_engine_dump()
Di915_request.c678 if (i915_terminally_wedged(&i915->gpu_error)) in i915_request_alloc()
1251 struct i915_gpu_error *error = &request->i915->gpu_error; in __i915_wait_request_check_and_reset()
1286 wait_queue_head_t *errq = &rq->i915->gpu_error.wait_queue; in i915_request_wait()
Di915_drv.c898 spin_lock_init(&dev_priv->gpu_error.lock); in i915_driver_init_early()
1456 cancel_delayed_work_sync(&dev_priv->gpu_error.hangcheck_work); in i915_driver_unload()
1897 struct i915_gpu_error *error = &i915->gpu_error; in i915_reset()
2028 struct i915_gpu_error *error = &engine->i915->gpu_error; in i915_reset_engine()
Dintel_overlay.c780 atomic_inc(&dev_priv->gpu_error.pending_fb_pin); in intel_overlay_do_put_image()
861 atomic_dec(&dev_priv->gpu_error.pending_fb_pin); in intel_overlay_do_put_image()
Di915_gem_context.c932 args->reset_count = i915_reset_count(&dev_priv->gpu_error); in i915_gem_context_reset_stats_ioctl()
Di915_drv.h1810 struct i915_gpu_error gpu_error; member
2763 &dev_priv->gpu_error.hangcheck_work, delay); in i915_queue_hangcheck()
Dintel_display.c2117 atomic_inc(&dev_priv->gpu_error.pending_fb_pin); in intel_pin_and_fence_fb_obj()
2168 atomic_dec(&dev_priv->gpu_error.pending_fb_pin); in intel_pin_and_fence_fb_obj()
3732 set_bit(I915_RESET_MODESET, &dev_priv->gpu_error.flags); in intel_prepare_reset()
3733 wake_up_all(&dev_priv->gpu_error.wait_queue); in intel_prepare_reset()
3735 if (atomic_read(&dev_priv->gpu_error.pending_fb_pin)) { in intel_prepare_reset()
3783 if (!test_bit(I915_RESET_MODESET, &dev_priv->gpu_error.flags)) in intel_finish_reset()
3826 clear_bit(I915_RESET_MODESET, &dev_priv->gpu_error.flags); in intel_finish_reset()
12550 prepare_to_wait(&dev_priv->gpu_error.wait_queue, in intel_atomic_commit_fence_wait()
12555 || test_bit(I915_RESET_MODESET, &dev_priv->gpu_error.flags)) in intel_atomic_commit_fence_wait()
12561 finish_wait(&dev_priv->gpu_error.wait_queue, &wait_reset); in intel_atomic_commit_fence_wait()