From: Wentao Xu Date: Fri, 19 Jun 2015 18:03:42 +0000 (-0400) Subject: drm/msm/mdp5: release SMB (shared memory blocks) in various cases X-Git-Tag: omap-for-v4.3/fixes-merge-window~163^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4cba04f05ed6b9b2278547295ecc5c40180e612;p=pandora-kernel.git drm/msm/mdp5: release SMB (shared memory blocks) in various cases Release all blocks after the pipe is disabled, even when vsync didn't happen in some error cases. Allow requesting SMB multiple times before configuring to hardware, by releasing blocks not programmed to hardware yet for shrinking case. This fixes a potential leak of shared memory pool blocks. Signed-off-by: Wentao Xu Tested-by: Archit Taneja Signed-off-by: Rob Clark --- Reading git-diff-tree failed