Home
last modified time | relevance | path

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

/drivers/gpu/drm/i915/
Di915_irq.c450 dev_priv->gpu_error.hangcheck_count = 0; in notify_ring()
451 mod_timer(&dev_priv->gpu_error.hangcheck_timer, in notify_ring()
1033 gpu_error); in i915_error_work_func()
1072 atomic_inc(&dev_priv->gpu_error.reset_counter); in i915_error_work_func()
1085 wake_up_all(&dev_priv->gpu_error.reset_queue); in i915_error_work_func()
1488 spin_lock_irqsave(&dev_priv->gpu_error.lock, flags); in i915_capture_error_state()
1489 error = dev_priv->gpu_error.first_error; in i915_capture_error_state()
1490 spin_unlock_irqrestore(&dev_priv->gpu_error.lock, flags); in i915_capture_error_state()
1587 spin_lock_irqsave(&dev_priv->gpu_error.lock, flags); in i915_capture_error_state()
1588 if (dev_priv->gpu_error.first_error == NULL) { in i915_capture_error_state()
[all …]
Di915_gem.c123 ret = i915_gem_wait_for_error(&dev_priv->gpu_error); in i915_mutex_lock_interruptible()
1013 i915_reset_in_progress(&dev_priv->gpu_error) || \ in __wait_seqno()
1014 reset_counter != atomic_read(&dev_priv->gpu_error.reset_counter)) in __wait_seqno()
1026 if (reset_counter != atomic_read(&dev_priv->gpu_error.reset_counter)) in __wait_seqno()
1031 ret = i915_gem_check_wedge(&dev_priv->gpu_error, interruptible); in __wait_seqno()
1077 ret = i915_gem_check_wedge(&dev_priv->gpu_error, interruptible); in i915_wait_seqno()
1086 atomic_read(&dev_priv->gpu_error.reset_counter), in i915_wait_seqno()
1145 ret = i915_gem_check_wedge(&dev_priv->gpu_error, true); in i915_gem_object_wait_rendering__nonblocking()
1153 reset_counter = atomic_read(&dev_priv->gpu_error.reset_counter); in i915_gem_object_wait_rendering__nonblocking()
1379 if (i915_terminally_wedged(&dev_priv->gpu_error)) in i915_gem_fault()
[all …]
Di915_drv.c878 if (dev_priv->gpu_error.stop_rings) { in intel_gpu_reset()
880 dev_priv->gpu_error.stop_rings = 0; in intel_gpu_reset()
919 if (get_seconds() - dev_priv->gpu_error.last_reset < 5) in i915_reset()
924 dev_priv->gpu_error.last_reset = get_seconds(); in i915_reset()
Di915_debugfs.c839 spin_lock_irqsave(&dev_priv->gpu_error.lock, flags); in i915_error_state_open()
840 error_priv->error = dev_priv->gpu_error.first_error; in i915_error_state_open()
843 spin_unlock_irqrestore(&dev_priv->gpu_error.lock, flags); in i915_error_state_open()
1678 *val = atomic_read(&dev_priv->gpu_error.reset_counter); in i915_wedged_get()
1704 *val = dev_priv->gpu_error.stop_rings; in i915_ring_stop_get()
1722 dev_priv->gpu_error.stop_rings = val; in i915_ring_stop_set()
Di915_dma.c1630 spin_lock_init(&dev_priv->gpu_error.lock); in i915_driver_load()
1751 del_timer_sync(&dev_priv->gpu_error.hangcheck_timer); in i915_driver_unload()
1752 cancel_work_sync(&dev_priv->gpu_error.work); in i915_driver_unload()
Dintel_ringbuffer.c1388 ret = i915_gem_check_wedge(&dev_priv->gpu_error, in ring_wait_for_space()
1478 ret = i915_gem_check_wedge(&dev_priv->gpu_error, in intel_ring_begin()
1510 if (dev_priv->gpu_error.stop_rings & intel_ring_flag(ring)) in intel_ring_advance()
Di915_drv.h1060 struct i915_gpu_error gpu_error; member
Dintel_display.c2971 if (i915_reset_in_progress(&dev_priv->gpu_error) || in intel_crtc_has_pending_flip()
2972 intel_crtc->reset_counter != atomic_read(&dev_priv->gpu_error.reset_counter)) in intel_crtc_has_pending_flip()
7407 intel_crtc->reset_counter = atomic_read(&dev_priv->gpu_error.reset_counter); in intel_crtc_page_flip()