[Intel-gfx] [PATCH v8 3/8] drm/i915: Create uC runtime and system suspend/resume helpers

Chris Wilson chris at chris-wilson.co.uk
Tue Sep 26 13:43:31 UTC 2017


Quoting Sagar Arun Kamble (2017-09-26 14:24:40)
> @@ -2077,7 +2079,7 @@ int i915_gem_runtime_suspend(struct drm_i915_private *dev_priv)
>                 reg->dirty = true;
>         }
>  
> -       return 0;
> +       return ret;
OI! These are written as return 0 because you are very much not meant to
reach this point with an error.
-Chris


More information about the Intel-gfx mailing list