[Intel-gfx] [PATCH 5/5] drm/i915: check for errors on i915_drm_thaw

Chris Wilson chris at chris-wilson.co.uk
Thu Sep 12 19:10:54 CEST 2013


On Thu, Sep 12, 2013 at 01:58:21PM -0300, Paulo Zanoni wrote:
> From: Paulo Zanoni <paulo.r.zanoni at intel.com>
> 
> Before this patch, i915_drm_thaw would always return 0. After this
> patch, it returns the error code from __i915_drm_thaw(), since it's
> the only sub-function that can return an error code.

You could go a step further here and pass a parameter to
__i915_drm_thaw() to unify the two thaw paths.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list