msm: vidc: Add support for ION memory on 8x55 target

This commit will add support for ION memory on
8x55 target for video encoder and decoder.

CRs-fixed: 380463
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
(cherry picked from commit 22d1abd7eec3bdba91f31fe3d8a1ea86d35e8568)

Change-Id: I9263dfd99d490508013758c30fd22606a25d4fc6
Signed-off-by: Ramakrishna Prasad N <crpn@codeaurora.org>
msm:vidc: Amend error checks on ION API failures

This change will validate the ION API failures
to fix target freeze issues.

CRs-fixed: 412958
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
(cherry picked from commit 31bb7dc8e3a4d01262727349b30bb3007fd474bd)

Conflicts:

	drivers/video/msm/vidc/720p/ddl/vcd_ddl_utils.c
	drivers/video/msm/vidc/common/vcd/vcd_sub.c

Change-Id: I6d0dc8afef6ba1513c2ea29753f7df6b1a3d70e9
Signed-off-by: Srivalli Oguri <oguri@codeaurora.org>
vidc: Fix EOS handling if video h/w has a frame in transaction

In case of video hardware is encoding a frame and EOS buffer with
with zero data length arrived, set the EOS flag to the transaction
available in the transaction table which will be passed to the
client in frame done callback from the video hardware.

Change-Id: Ia58b89b9957c3b270a773754fe203d92e238d99b
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>