Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

-1
-1
drivers/gpu/drm/tegra/dsi.c
··· 602 602 DRM_DEBUG_KMS("vrefresh: %u\n", vrefresh); 603 603 604 604 /* compute byte clock */ 605 - pclk = mode->htotal * mode->vtotal * vrefresh; 606 605 bclk = (pclk * mul) / (div * dsi->lanes); 607 606 608 607 /*