We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f260ed8 commit 24436a5Copy full SHA for 24436a5
drivers/gpu/drm/msm/dsi/dsi_host.c
@@ -542,7 +542,7 @@ static unsigned long dsi_adjust_pclk_for_compression(const struct drm_display_mo
542
543
int new_htotal = mode->htotal - mode->hdisplay + new_hdisplay;
544
545
- return new_htotal * mode->vtotal * drm_mode_vrefresh(mode);
+ return mult_frac(mode->clock * 1000u, new_htotal, mode->htotal);
546
}
547
548
static unsigned long dsi_get_pclk_rate(const struct drm_display_mode *mode,
0 commit comments