msm: video: increase MM heap size for smoothstreaming

Increase MM carveout size to 72M to support 1080P secure
playback with worst-case allocation for smoothstreaming.
Restrict dpb count to 14 for smoothstreaming mode.
b/ 9302522

Signed-off-by: Praveen Chavan <pchavan@codeaurora.org>
This commit is contained in:
Praveen Chavan 2013-06-27 18:22:53 -07:00 committed by Iliyan Malchev
parent 237604e36f
commit a40ed0eee7
2 changed files with 5 additions and 1 deletions

View file

@ -246,7 +246,7 @@ static void enable_cap1106_regulator(void) {
#define HOLE_SIZE 0x20000
#define MSM_CONTIG_MEM_SIZE 0x65000
#ifdef CONFIG_MSM_IOMMU
#define MSM_ION_MM_SIZE 0x3800000
#define MSM_ION_MM_SIZE 0x4800000
#define MSM_ION_SF_SIZE 0
#define MSM_ION_QSECOM_SIZE 0x780000 /* (7.5MB) */
#define MSM_ION_HEAP_NUM 7

View file

@ -1451,7 +1451,11 @@ struct msm_vidc_platform_data apq8064_vidc_platform_data = {
#endif
.disable_dmx = 0,
.disable_fullhd = 0,
#if (CONFIG_MACH_APQ8064_FLO || CONFIG_MACH_APQ8064_DEB)
.cont_mode_dpb_count = 14,
#else
.cont_mode_dpb_count = 18,
#endif
.fw_addr = 0x9fe00000,
.enable_sec_metadata = 1,
};