diff options
author | 2018-07-12 14:48:10 +0200 | |
---|---|---|
committer | 2018-07-12 15:15:21 +0100 | |
commit | 60c0a66ee96cbdb22e029da70ec42e249f1996a5 (patch) | |
tree | cdab1ea5a2dfe3bb845b59830a24845a4379545c /drivers/gpu/drm/i915/intel_sprite.c | |
parent | drm/i915/guc: Skip cleaning up the doorbells on error-before-allocate (diff) | |
download | wireguard-linux-60c0a66ee96cbdb22e029da70ec42e249f1996a5.tar.xz wireguard-linux-60c0a66ee96cbdb22e029da70ec42e249f1996a5.zip |
drm/i915: Tidy error handling in i915_gem_init_hw
Let's reorder things so that we can do onion teardown rather than double
goto.
References: b96f6ebfd024 ("drm/i915: Correctly handle error path in i915_gem_init_hw")
Signed-off-by: Michał Winiarski <michal.winiarski@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Sagar Arun Kamble <sagar.a.kamble@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20180712124810.25241-1-michal.winiarski@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_sprite.c')
0 files changed, 0 insertions, 0 deletions