Searched refs:mode_ratio (Results 1 – 1 of 1) sorted by relevance
295 uint32_t mode_ratio, panel_ratio; in nv04_dfp_mode_set() local375 mode_ratio = (1 << 12) * adjusted_mode->hdisplay / adjusted_mode->vdisplay; in nv04_dfp_mode_set()380 mode_ratio != panel_ratio) { in nv04_dfp_mode_set()384 if (mode_ratio < panel_ratio) { in nv04_dfp_mode_set()395 output_mode->vdisplay * mode_ratio / (1 << 12); in nv04_dfp_mode_set()400 if (mode_ratio > panel_ratio) { in nv04_dfp_mode_set()411 (1 << 12) * output_mode->hdisplay / mode_ratio; in nv04_dfp_mode_set()