Merge 26782be248 on remote branch

Change-Id: I9ce2d0afc54f16a6f6623d953f02340fbb21416d
This commit is contained in:
Linux Build Service Account 2021-04-09 18:51:55 -07:00
commit 8ff62631e0

View file

@ -1439,7 +1439,7 @@ static inline u32 calculate_enc_scratch_size(struct msm_vidc_inst *inst,
bitbin_size = ALIGN(bitstream_size, VENUS_DMA_ALIGNMENT);
}
if (aligned_width * aligned_height >= 3840 * 2160)
size_singlePipe = bitbin_size / 4;
size_singlePipe = bitbin_size / num_vpp_pipes;
else if (num_vpp_pipes > 2)
size_singlePipe = bitbin_size / 2;
else