]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/atomic: Clean up planes in the error paths of .atomic_commit()
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 27 May 2015 11:39:46 +0000 (14:39 +0300)
committerRob Clark <robdclark@gmail.com>
Thu, 11 Jun 2015 17:11:05 +0000 (13:11 -0400)
commit83af39cc27f0c042560f9f02701c2cfc29e62677
treeca9680ffffd58baeee615dd79ad0ad63a20351ea
parentc6d5573a87abb6cad19e432545efa87147e8aec5
drm/msm/atomic: Clean up planes in the error paths of .atomic_commit()

When the .atomic_commit() handler fails, clean up planes previoulsy
prepared by drm_atomic_helper_prepare_planes() with a call to
drm_atomic_helper_cleanup_planes().

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/msm_atomic.c