disp: msm: sde: correct line time to include compression ratio

Current computation of line time does not include compression ratio
from either DSC or VDC. This change stores source bpp and target bpp in
sde_crtc during sde encoder mode set to be used while calculating line
time.

Change-Id: Ib1e045dce17fcf006447d4562b402cc3f214ed8c
Signed-off-by: Samantha Tran <samtran@codeaurora.org>
Esse commit está contido em:
Samantha Tran
2020-03-26 19:47:27 -07:00
commit de Gerrit - the friendly Code Review server
commit 7401ef1995
7 arquivos alterados com 83 adições e 6 exclusões

Ver arquivo

@@ -215,7 +215,8 @@ uint32_t sde_copy_formats(
const struct sde_format_extended *src_list,
uint32_t src_list_size);
uint32_t sde_get_linetime(struct drm_display_mode *mode);
uint32_t sde_get_linetime(struct drm_display_mode *mode,
int src_bpp, int target_bpp);
static inline bool is_qseed3_rev_qseed3lite(struct sde_mdss_cfg *sde_cfg)
{