소스 검색

drm/tegra: dsi - Do not needlessly recompute pclk

In some cases the pixel clock used to not be correct, which is why it
had to be recomputed. It turns out that the reason why it wasn't correct
is that it was used wrongly. If used correctly there's not need for the
recomputation.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Thierry Reding 11 년 전
부모
커밋
76245adbc1
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      drivers/gpu/drm/tegra/dsi.c

+ 0 - 1
drivers/gpu/drm/tegra/dsi.c

@@ -602,7 +602,6 @@ static int tegra_output_dsi_setup_clock(struct tegra_output *output,
 	DRM_DEBUG_KMS("vrefresh: %u\n", vrefresh);
 
 	/* compute byte clock */
-	pclk = mode->htotal * mode->vtotal * vrefresh;
 	bclk = (pclk * mul) / (div * dsi->lanes);
 
 	/*