linux/drivers/gpu/drm/msm/mdp
Wentao Xu b4cba04f05 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 <wentaox@codeaurora.org>
Tested-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
2015-07-29 16:38:24 -04:00
..
mdp4 drm/msm: mdp4: Fix drm_framebuffer dereference crash 2015-07-29 16:38:24 -04:00
mdp5 drm/msm/mdp5: release SMB (shared memory blocks) in various cases 2015-07-29 16:38:24 -04:00
mdp_common.xml.h drm/msm: update generated headers 2015-06-11 13:11:01 -04:00
mdp_format.c drm/msm/mdp: Add support for more 32-bit RGB formats 2015-06-11 13:11:05 -04:00
mdp_kms.c drm/msm: Do not BUG_ON(!spin_is_locked()) on UP 2015-02-01 15:30:25 -05:00
mdp_kms.h drm/msm: update generated headers 2015-06-11 13:11:01 -04:00