Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/nouveau/dispnv04/
Ddfp.c294 uint32_t mode_ratio, panel_ratio; in nv04_dfp_mode_set() local
374 mode_ratio = (1 << 12) * adjusted_mode->hdisplay / adjusted_mode->vdisplay; in nv04_dfp_mode_set()
379 mode_ratio != panel_ratio) { in nv04_dfp_mode_set()
383 if (mode_ratio < panel_ratio) { in nv04_dfp_mode_set()
394 output_mode->vdisplay * mode_ratio / (1 << 12); in nv04_dfp_mode_set()
399 if (mode_ratio > panel_ratio) { in nv04_dfp_mode_set()
410 (1 << 12) * output_mode->hdisplay / mode_ratio; in nv04_dfp_mode_set()