Skip to content

Commit

Permalink
drm/tegra: dsi - Do not needlessly recompute pclk
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Thierry Reding committed Jun 5, 2014
1 parent 91eded9 commit 76245ad
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/gpu/drm/tegra/dsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

/*
Expand Down

0 comments on commit 76245ad

Please sign in to comment.