diff options
author | Thierry Reding <treding@nvidia.com> | 2014-03-14 17:20:42 +0400 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2014-06-06 01:09:34 +0400 |
commit | 76245adbc149170999340a61d171e29b86b02218 (patch) | |
tree | da6e83b2bff4f93ab95cbb3e4e1addcfca217015 /drivers/gpu/drm/tegra/dsi.c | |
parent | 91eded9b481e61913d98142927b559af33a180a7 (diff) | |
download | linux-76245adbc149170999340a61d171e29b86b02218.tar.xz |
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>
Diffstat (limited to 'drivers/gpu/drm/tegra/dsi.c')
-rw-r--r-- | drivers/gpu/drm/tegra/dsi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/tegra/dsi.c b/drivers/gpu/drm/tegra/dsi.c index beab9c85db92..3838575f71c6 100644 --- a/drivers/gpu/drm/tegra/dsi.c +++ b/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); /* |