Lines Matching defs:ret
26 int ret;
54 ret = drm_modeset_lock_all_ctx(&dev_priv->drm, ctx);
55 if (ret != -EDEADLK)
66 ret = PTR_ERR(state);
68 ret);
72 ret = drm_atomic_helper_disable_all(&dev_priv->drm, ctx);
73 if (ret) {
75 ret);
88 int ret;
104 ret = drm_atomic_helper_commit_duplicated_state(state, ctx);
105 if (ret) {
106 drm_WARN_ON(&i915->drm, ret == -EDEADLK);
108 "Restoring old state failed with %i\n", ret);
120 ret = __intel_display_driver_resume(i915, state, ctx);
121 if (ret)
123 "Restoring old state failed with %i\n", ret);