Home
last modified time | relevance | path

Searched refs:ideal_clk (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/gpu/drm/exynos/
H A Dexynos_drm_fimd.c419 unsigned long ideal_clk, lcd_rate; in fimd_atomic_check() local
427 ideal_clk = mode->clock * 1000; in fimd_atomic_check()
434 ideal_clk *= 2; in fimd_atomic_check()
438 if (2 * lcd_rate < ideal_clk) { in fimd_atomic_check()
441 lcd_rate, ideal_clk); in fimd_atomic_check()
446 clkdiv = DIV_ROUND_CLOSEST(lcd_rate, ideal_clk); in fimd_atomic_check()
449 ideal_clk); in fimd_atomic_check()
H A Dexynos7_drm_decon.c198 unsigned long ideal_clk = mode->clock * 1000; in decon_calc_clkdiv() local
202 clkdiv = DIV_ROUND_UP(clk_get_rate(ctx->vclk), ideal_clk); in decon_calc_clkdiv()