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 2d6bf60 commit e2ed135Copy full SHA for e2ed135
drivers/gpu/drm/exynos/exynos7_drm_decon.c
@@ -139,7 +139,7 @@ static void decon_ctx_remove(struct decon_context *ctx)
139
static u32 decon_calc_clkdiv(struct decon_context *ctx,
140
const struct drm_display_mode *mode)
141
{
142
- unsigned long ideal_clk = mode->htotal * mode->vtotal * mode->vrefresh;
+ unsigned long ideal_clk = mode->clock;
143
u32 clkdiv;
144
145
/* Find the clock divider value that gets us closest to ideal_clk */
0 commit comments