[PATCHv2 40/45] drm: omapdrm: if omap_plane_atomic_update fails, disable plane

2015-06-06 Thread Laurent Pinchart
Hi Tomi, Thank you for the patch. On Thursday 04 June 2015 12:02:57 Tomi Valkeinen wrote: > omap_plane_atomic_update() calls dispc_ovl_setup(), which can fail (but > shouldn't). To make the code a bit more robust, make sure the plane gets > disabled if dispc_ovl_setup() fails, as otherwise we mig

[PATCHv2 40/45] drm: omapdrm: if omap_plane_atomic_update fails, disable plane

2015-06-04 Thread Tomi Valkeinen
omap_plane_atomic_update() calls dispc_ovl_setup(), which can fail (but shouldn't). To make the code a bit more robust, make sure the plane gets disabled if dispc_ovl_setup() fails, as otherwise we might get illegal HW configuration leading to error interrupts. Signed-off-by: Tomi Valkeinen ---