Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/i915/selftests/
H A Digt_live_test.c41 i915_reset_engine_count(&i915->gpu_error, in igt_live_test_begin()
45 t->reset_global = i915_reset_count(&i915->gpu_error); in igt_live_test_begin()
61 if (t->reset_global != i915_reset_count(&i915->gpu_error)) { in igt_live_test_end()
64 i915_reset_count(&i915->gpu_error) - t->reset_global); in igt_live_test_end()
71 i915_reset_engine_count(&i915->gpu_error, engine)) in igt_live_test_end()
76 i915_reset_engine_count(&i915->gpu_error, engine) - in igt_live_test_end()
H A Dmock_gem_device.c200 spin_lock_init(&i915->gpu_error.lock); in mock_gem_device()
/linux/drivers/gpu/drm/i915/display/
H A Dintel_fb_pin.c44 atomic_inc(&dev_priv->gpu_error.pending_fb_pin); in intel_fb_pin_to_dpt()
99 atomic_dec(&dev_priv->gpu_error.pending_fb_pin); in intel_fb_pin_to_dpt()
144 atomic_inc(&dev_priv->gpu_error.pending_fb_pin); in intel_fb_pin_to_ggtt()
220 atomic_dec(&dev_priv->gpu_error.pending_fb_pin); in intel_fb_pin_to_ggtt()
H A Dintel_dpt.c140 atomic_inc(&i915->gpu_error.pending_fb_pin); in intel_dpt_pin_to_ggtt()
170 atomic_dec(&i915->gpu_error.pending_fb_pin); in intel_dpt_pin_to_ggtt()
H A Dintel_display_reset.c41 if (atomic_read(&dev_priv->gpu_error.pending_fb_pin)) { in intel_display_reset_prepare()
H A Dintel_overlay.c807 atomic_inc(&dev_priv->gpu_error.pending_fb_pin); in intel_overlay_do_put_image()
895 atomic_dec(&dev_priv->gpu_error.pending_fb_pin); in intel_overlay_do_put_image()
/linux/drivers/gpu/drm/i915/
H A Di915_gpu_error.c1335 ee->reset_count = i915_reset_engine_count(&i915->gpu_error, engine); in engine_record_registers()
1992 error->reset_count = i915_reset_count(&i915->gpu_error); in capture_gen()
2103 error = READ_ONCE(i915->gpu_error.first_error); in __i915_gpu_coredump()
2174 cmpxchg(&i915->gpu_error.first_error, NULL, error)) in i915_error_state_store()
2209 cmpxchg(&gt->i915->gpu_error.first_error, NULL, error); in i915_capture_error_state()
2222 spin_lock_irq(&i915->gpu_error.lock); in i915_first_error_state()
2223 error = i915->gpu_error.first_error; in i915_first_error_state()
2226 spin_unlock_irq(&i915->gpu_error.lock); in i915_first_error_state()
2235 spin_lock_irq(&i915->gpu_error.lock); in i915_reset_error_state()
2236 error = i915->gpu_error.first_error; in i915_reset_error_state()
[all …]
H A Di915_drv.h290 struct i915_gpu_error gpu_error; member
H A Di915_driver.c232 spin_lock_init(&dev_priv->gpu_error.lock); in i915_driver_early_probe()
/linux/drivers/gpu/drm/i915/gt/
H A Dselftest_reset.c221 reset_count = i915_reset_count(&gt->i915->gpu_error); in igt_global_reset()
225 if (i915_reset_count(&gt->i915->gpu_error) == reset_count) { in igt_global_reset()
H A Dselftest_hangcheck.c351 struct i915_gpu_error *global = &gt->i915->gpu_error; in igt_reset_nop()
427 struct i915_gpu_error *global = &gt->i915->gpu_error; in igt_reset_nop_engine()
686 struct i915_gpu_error *global = &gt->i915->gpu_error; in __igt_reset_engine()
966 struct i915_gpu_error *global = &gt->i915->gpu_error; in __igt_reset_engines()
1288 u32 count = i915_reset_count(&gt->i915->gpu_error); in fake_hangcheck()
1298 struct i915_gpu_error *global = &gt->i915->gpu_error; in igt_reset_wait()
1638 struct i915_gpu_error *global = &gt->i915->gpu_error; in igt_reset_queue()
1810 struct i915_gpu_error *global = &gt->i915->gpu_error; in igt_handle_error()
H A Dselftest_rc6.c208 struct i915_gpu_error *error = &gt->i915->gpu_error; in live_rc6_ctx_wa()
H A Dintel_reset.c1223 atomic_inc(&gt->i915->gpu_error.reset_count); in intel_gt_reset()
1341 i915_increase_reset_engine_count(&engine->i915->gpu_error, engine); in __intel_engine_reset_bh()
H A Dintel_engine_cs.c2378 struct i915_gpu_error * const error = &engine->i915->gpu_error; in intel_engine_dump()
/linux/drivers/gpu/drm/i915/gt/uc/
H A Dselftest_guc_hangcheck.c38 struct i915_gpu_error *global = &gt->i915->gpu_error; in intel_hang_guc()
H A Dintel_guc_submission.c1312 struct i915_gpu_error *gpu_error = &engine->i915->gpu_error; in guc_engine_busyness() local
1331 reset_count = i915_reset_count(gpu_error); in guc_engine_busyness()
1353 if (i915_reset_count(gpu_error) != reset_count) { in guc_engine_busyness()
5132 i915_increase_reset_engine_count(&i915->gpu_error, in capture_error_state()
5145 i915_increase_reset_engine_count(&i915->gpu_error, ce->engine); in capture_error_state()
/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_context.c2664 args->reset_count = i915_reset_count(&i915->gpu_error); in i915_gem_context_reset_stats_ioctl()