msm: vidc: Update BSE TLB write for H264 dec

BSE TLB write is half of TLB read for H264
decoder

Change-Id: Ifbe3ef1a6e6f827f4bcc7a15e1ff0a0df3f8ce12
This commit is contained in:
Priyanka Gujjula 2021-02-16 11:53:24 +05:30
commit 5d09f02e14

View file

@ -168,9 +168,9 @@ static unsigned long __calculate_decoder(struct vidc_bus_vote_data *d)
FP_INT(bps(1)));
/* This change is applicable for all IRIS2 targets,
* but currently being done for IRIS2 with 2 pipes
* only due to timeline constraints.
* and 1 pipe only due to timeline constraints.
*/
if((num_vpp_pipes == 2) && (is_h264_category))
if((num_vpp_pipes != 4) && (is_h264_category))
ddr.line_buffer_write = fp_div(ddr.line_buffer_read,FP_INT(2));
else
ddr.line_buffer_write = ddr.line_buffer_read;