Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/exynos/
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()
Dexynos7_drm_decon.c143 unsigned long ideal_clk = mode->clock; in decon_calc_clkdiv() local
147 clkdiv = DIV_ROUND_UP(clk_get_rate(ctx->vclk), ideal_clk); in decon_calc_clkdiv()