diff options
author | Wentao Xu <wentaox@codeaurora.org> | 2015-06-19 14:03:42 -0400 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2015-07-29 16:38:24 -0400 |
commit | b4cba04f05ed6b9b2278547295ecc5c40180e612 (patch) | |
tree | 4c7febf82b93f36f313d714cbf75cef3e3a57e28 /drivers/gpu/drm/drm_sysfs.c | |
parent | 99fc1bc48f352185f1711795f0829bbf503c0712 (diff) | |
download | talos-obmc-linux-b4cba04f05ed6b9b2278547295ecc5c40180e612.tar.gz talos-obmc-linux-b4cba04f05ed6b9b2278547295ecc5c40180e612.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/drm_sysfs.c')
0 files changed, 0 insertions, 0 deletions