Home
last modified time | relevance | path

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

/drivers/gpu/drm/i915/
Di915_gpu_error.c374 err_printf(m, "Missed interrupts: 0x%08lx\n", dev_priv->gpu_error.missed_irq_rings); in i915_error_state_to_str()
1259 error->reset_count = i915_reset_count(&dev_priv->gpu_error); in i915_capture_gen_state()
1303 spin_lock_irqsave(&dev_priv->gpu_error.lock, flags); in i915_capture_error_state()
1304 if (dev_priv->gpu_error.first_error == NULL) { in i915_capture_error_state()
1305 dev_priv->gpu_error.first_error = error; in i915_capture_error_state()
1308 spin_unlock_irqrestore(&dev_priv->gpu_error.lock, flags); in i915_capture_error_state()
1331 spin_lock_irqsave(&dev_priv->gpu_error.lock, flags); in i915_error_state_get()
1332 error_priv->error = dev_priv->gpu_error.first_error; in i915_error_state_get()
1335 spin_unlock_irqrestore(&dev_priv->gpu_error.lock, flags); in i915_error_state_get()
1351 spin_lock_irqsave(&dev_priv->gpu_error.lock, flags); in i915_destroy_error_state()
[all …]
Di915_gem.c144 ret = i915_gem_wait_for_error(&dev_priv->gpu_error); in i915_mutex_lock_interruptible()
1125 return test_bit(ring->id, &dev_priv->gpu_error.missed_irq_rings); in missed_irq()
1163 ACCESS_ONCE(dev_priv->gpu_error.test_irq_rings) & intel_ring_flag(ring); in __wait_seqno()
1198 if (reset_counter != atomic_read(&dev_priv->gpu_error.reset_counter)) { in __wait_seqno()
1201 ret = i915_gem_check_wedge(&dev_priv->gpu_error, interruptible); in __wait_seqno()
1270 ret = i915_gem_check_wedge(&dev_priv->gpu_error, interruptible); in i915_wait_seqno()
1279 atomic_read(&dev_priv->gpu_error.reset_counter), in i915_wait_seqno()
1347 ret = i915_gem_check_wedge(&dev_priv->gpu_error, true); in i915_gem_object_wait_rendering__nonblocking()
1355 reset_counter = atomic_read(&dev_priv->gpu_error.reset_counter); in i915_gem_object_wait_rendering__nonblocking()
1604 if (!i915_terminally_wedged(&dev_priv->gpu_error)) { in i915_gem_fault()
[all …]
Di915_drv.c679 atomic_set_mask(I915_WEDGED, &dev_priv->gpu_error.reset_counter); in __i915_drm_thaw()
809 simulated = dev_priv->gpu_error.stop_rings != 0; in i915_reset()
816 dev_priv->gpu_error.stop_rings = 0; in i915_reset()
849 dev_priv->gpu_error.reload_in_reset = true; in i915_reset()
853 dev_priv->gpu_error.reload_in_reset = false; in i915_reset()
1459 del_timer_sync(&dev_priv->gpu_error.hangcheck_timer); in intel_runtime_suspend()
Di915_irq.c2665 wake_up_all(&dev_priv->gpu_error.reset_queue); in i915_error_wake_up()
2680 container_of(error, struct drm_i915_private, gpu_error); in i915_error_work_func()
2736 atomic_inc(&dev_priv->gpu_error.reset_counter); in i915_error_work_func()
2870 &dev_priv->gpu_error.reset_counter); in i915_handle_error()
2894 schedule_work(&dev_priv->gpu_error.work); in i915_handle_error()
3258 if (!test_and_set_bit(ring->id, &dev_priv->gpu_error.missed_irq_rings)) { in i915_hangcheck_elapsed()
3259 if (!(dev_priv->gpu_error.test_irq_rings & intel_ring_flag(ring))) in i915_hangcheck_elapsed()
3348 mod_timer(&dev_priv->gpu_error.hangcheck_timer, in i915_queue_hangcheck()
4649 INIT_WORK(&dev_priv->gpu_error.work, i915_error_work_func); in intel_irq_init()
4660 setup_timer(&dev_priv->gpu_error.hangcheck_timer, in intel_irq_init()
Dintel_lrc.c745 if (ret && !i915_reset_in_progress(&to_i915(ring->dev)->gpu_error)) in intel_logical_ring_stop()
900 ret = i915_gem_check_wedge(&dev_priv->gpu_error, in logical_ring_wait_for_space()
976 ret = i915_gem_check_wedge(&dev_priv->gpu_error, in intel_logical_ring_begin()
Di915_drv.h1615 struct i915_gpu_error gpu_error; member
2462 return dev_priv->gpu_error.stop_rings == 0 || in i915_stop_ring_allow_ban()
2463 dev_priv->gpu_error.stop_rings & I915_STOP_RING_ALLOW_BAN; in i915_stop_ring_allow_ban()
2468 return dev_priv->gpu_error.stop_rings == 0 || in i915_stop_ring_allow_warn()
2469 dev_priv->gpu_error.stop_rings & I915_STOP_RING_ALLOW_WARN; in i915_stop_ring_allow_warn()
Di915_dma.c1616 spin_lock_init(&dev_priv->gpu_error.lock); in i915_driver_load()
1890 del_timer_sync(&dev_priv->gpu_error.hangcheck_timer); in i915_driver_unload()
1891 cancel_work_sync(&dev_priv->gpu_error.work); in i915_driver_unload()
Di915_debugfs.c3684 *val = atomic_read(&dev_priv->gpu_error.reset_counter); in i915_wedged_get()
3715 *val = dev_priv->gpu_error.stop_rings; in i915_ring_stop_get()
3733 dev_priv->gpu_error.stop_rings = val; in i915_ring_stop_set()
3749 *val = dev_priv->gpu_error.missed_irq_rings; in i915_ring_missed_irq_get()
3764 dev_priv->gpu_error.missed_irq_rings = val; in i915_ring_missed_irq_set()
3780 *val = dev_priv->gpu_error.test_irq_rings; in i915_ring_test_irq_get()
3799 dev_priv->gpu_error.test_irq_rings = val; in i915_ring_test_irq_set()
Dintel_ringbuffer.c70 return dev_priv->gpu_error.stop_rings & intel_ring_flag(ring); in intel_ring_stopped()
1932 ret = i915_gem_check_wedge(&dev_priv->gpu_error, in ring_wait_for_space()
2038 ret = i915_gem_check_wedge(&dev_priv->gpu_error, in intel_ring_begin()
2779 if (ret && !i915_reset_in_progress(&to_i915(ring->dev)->gpu_error)) in intel_stop_ring_buffer()
Dintel_uncore.c1044 args->reset_count = i915_reset_count(&dev_priv->gpu_error); in i915_get_reset_stats_ioctl()
Dintel_display.c2776 if (i915_reset_in_progress(&dev_priv->gpu_error) || in intel_crtc_has_pending_flip()
2777 intel_crtc->reset_counter != atomic_read(&dev_priv->gpu_error.reset_counter)) in intel_crtc_has_pending_flip()
9415 if (i915_reset_in_progress(&dev_priv->gpu_error) || in page_flip_finished()
9416 crtc->reset_counter != atomic_read(&dev_priv->gpu_error.reset_counter)) in page_flip_finished()
9965 if (i915_terminally_wedged(&dev_priv->gpu_error)) in intel_crtc_page_flip()
10018 intel_crtc->reset_counter = atomic_read(&dev_priv->gpu_error.reset_counter); in intel_crtc_page_flip()