Current driver uses a 1.5 bpp for bandwidth calculations
in any format with 420 chroma sample. This is wrong for
TP10 pixel format, where we need to use 2 bpp.
Fix this issue by making sure driver uses the correct
bpp for this pixel format.
Change-Id: I00c7349513fcb992565bf5ab1463900194a3d146
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
*quota = fps * src.w * src_h;
- if (pipe->src_fmt->chroma_sample == MDSS_MDP_CHROMA_420)
+ if (pipe->src_fmt->chroma_sample == MDSS_MDP_CHROMA_420 &&
+ pipe->src_fmt->format != MDP_Y_CBCR_H2V2_TP10_UBWC)
/*
* with decimation, chroma is not downsampled, this means we
* need to allocate bw for extra lines that will be fetched