[COMMON] media: mfc: check low memory device
authorJeonghee Kim <jhhhh.kim@samsung.com>
Tue, 26 Jun 2018 02:23:31 +0000 (11:23 +0900)
committerSunyoung Kang <sy0816.kang@samsung.com>
Mon, 23 Jul 2018 06:18:48 +0000 (15:18 +0900)
commit45d5b16a087431de0b75f2fb2cbe9680aaaa5508
tree3f1c93e0211338277fd82b34f68cbc7aabae0945
parenta4ccd969891b670a14dce9e37eac5101c94ce4e0
[COMMON] media: mfc: check low memory device

Returns error if the total memory is less than 1.5GB and DPB size is too big
to pass android.security.cts.StagefrightTest#testBug_37930177

Change-Id: I62f82f73ea49a490317e54faf80adf467474be70
Signed-off-by: Jeonghee Kim <jhhhh.kim@samsung.com>
drivers/media/platform/exynos/mfc/s5p_mfc_common.h
drivers/media/platform/exynos/mfc/s5p_mfc_debugfs.c
drivers/media/platform/exynos/mfc/s5p_mfc_dec.c