Home
last modified time | relevance | path

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

/openbmc/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.c199 spin_lock_init(&i915->gpu_error.lock); in mock_gem_device()
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_fb_pin.c45 atomic_inc(&dev_priv->gpu_error.pending_fb_pin); in intel_pin_fb_obj_dpt()
100 atomic_dec(&dev_priv->gpu_error.pending_fb_pin); in intel_pin_fb_obj_dpt()
149 atomic_inc(&dev_priv->gpu_error.pending_fb_pin); in intel_pin_and_fence_fb_obj()
225 atomic_dec(&dev_priv->gpu_error.pending_fb_pin); in intel_pin_and_fence_fb_obj()
H A Dintel_display_reset.c41 if (atomic_read(&dev_priv->gpu_error.pending_fb_pin)) { in intel_display_reset_prepare()
H A Dintel_dpt.c141 atomic_inc(&i915->gpu_error.pending_fb_pin); in intel_dpt_pin()
171 atomic_dec(&i915->gpu_error.pending_fb_pin); in intel_dpt_pin()
H A Dintel_overlay.c805 atomic_inc(&dev_priv->gpu_error.pending_fb_pin); in intel_overlay_do_put_image()
893 atomic_dec(&dev_priv->gpu_error.pending_fb_pin); in intel_overlay_do_put_image()
/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_gpu_error.c2207 spin_lock_irq(&i915->gpu_error.lock); in i915_first_error_state()
2208 error = i915->gpu_error.first_error; in i915_first_error_state()
2211 spin_unlock_irq(&i915->gpu_error.lock); in i915_first_error_state()
2220 spin_lock_irq(&i915->gpu_error.lock); in i915_reset_error_state()
2221 error = i915->gpu_error.first_error; in i915_reset_error_state()
2223 i915->gpu_error.first_error = NULL; in i915_reset_error_state()
2224 spin_unlock_irq(&i915->gpu_error.lock); in i915_reset_error_state()
2232 spin_lock_irq(&i915->gpu_error.lock); in i915_disable_error_state()
2233 if (!i915->gpu_error.first_error) in i915_disable_error_state()
2234 i915->gpu_error.first_error = ERR_PTR(err); in i915_disable_error_state()
[all …]
H A Di915_drv.h291 struct i915_gpu_error gpu_error; member
H A Di915_driver.c229 spin_lock_init(&dev_priv->gpu_error.lock); in i915_driver_early_probe()
/openbmc/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.c1206 atomic_inc(&gt->i915->gpu_error.reset_count); in intel_gt_reset()
1300 i915_increase_reset_engine_count(&engine->i915->gpu_error, engine); in __intel_engine_reset_bh()
H A Dintel_engine_cs.c2380 struct i915_gpu_error * const error = &engine->i915->gpu_error; in intel_engine_dump()
/openbmc/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.c1298 struct i915_gpu_error *gpu_error = &engine->i915->gpu_error; in guc_engine_busyness() local
1316 reset_count = i915_reset_count(gpu_error); in guc_engine_busyness()
1337 if (i915_reset_count(gpu_error) != reset_count) { in guc_engine_busyness()
4775 i915_increase_reset_engine_count(&i915->gpu_error, in capture_error_state()
4788 i915_increase_reset_engine_count(&i915->gpu_error, ce->engine); in capture_error_state()
/openbmc/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_context.c2551 args->reset_count = i915_reset_count(&i915->gpu_error); in i915_gem_context_reset_stats_ioctl()