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>
这个提交包含在:

提交者
Gerrit - the friendly Code Review server

父节点
25062d1965
当前提交
7401ef1995
@@ -2813,7 +2813,10 @@ static void _sde_plane_setup_uidle(struct drm_crtc *crtc,
|
||||
struct sde_rect *src, struct sde_rect *dst)
|
||||
{
|
||||
struct sde_hw_pipe_uidle_cfg cfg;
|
||||
u32 line_time = sde_get_linetime(&crtc->mode); /* nS */
|
||||
struct sde_crtc *sde_crtc = to_sde_crtc(crtc);
|
||||
|
||||
u32 line_time = sde_get_linetime(&crtc->mode,
|
||||
sde_crtc->src_bpp, sde_crtc->target_bpp); /* nS */
|
||||
u32 fal1_target_idle_time_ns =
|
||||
psde->catalog->uidle_cfg.fal1_target_idle_time * 1000; /* nS */
|
||||
u32 fal10_target_idle_time_ns =
|
||||
|
在新工单中引用
屏蔽一个用户