]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: Make intel_plane_restore() return an error
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 5 Aug 2014 05:56:53 +0000 (11:26 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 8 Aug 2014 15:43:51 +0000 (17:43 +0200)
commite57465f35192246b6587c3bc89b5ed96a8fdfb00
treeb6d58b079d504d5b60c4baea396dd90ae12ed1a9
parent76eebda727c76b5712f6ce75a45a9917d3873a37
drm/i915: Make intel_plane_restore() return an error

Propagate the error from intel_update_plane() up through
intel_plane_restore() to the caller. This will be used for
rollback purposes when setting properties fails.

Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_sprite.c