[Intel-gfx] [PATCH 4/5] drm/i915: Fix error handling for cursor/sprite plane create failure

Chris Wilson chris at chris-wilson.co.uk
Mon Nov 7 21:17:28 UTC 2016


On Mon, Nov 07, 2016 at 10:20:56PM +0200, ville.syrjala at linux.intel.com wrote:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
> 
> intel_cursor_plane_create() and intel_sprite_plane_create() return
> an error pointer, so let's not mistakenly look for a NULL pointer.
> 
> Cc: Chris Wilson <chris at chris-wilson.co.uk>
> Reported-by: Chris Wilson <chris at chris-wilson.co.uk>
> References: https://lists.freedesktop.org/archives/intel-gfx/2016-November/110690.html
> Fixes: b079bd17e301 ("drm/i915: Bail if plane/crtc init fails")
> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list