msm: vidc: Release DPBs only held by driver during reconfig

For VP9 there is a chance that firmware holds back DPBs
during port reconfig(scalability). These buffers shouldn't
be freed when firmware has ownership. Modified release
output buffer to take care of this and during close
instance we free all DPB's irrespective of ownership.

CRs-Fixed: 1010707
Change-Id: Iecb1e3784b4c4b45063694d933ee66f755a84935
Signed-off-by: Vaibhav Deshu Venkatesh <vdeshuve@codeaurora.org>
6 files changed