Searched refs:mode_ratio (Results 1 - 1 of 1) sorted by path

/linux-master/drivers/gpu/drm/nouveau/dispnv04/
H A Ddfp.c295 uint32_t mode_ratio, panel_ratio; local
375 mode_ratio = (1 << 12) * adjusted_mode->hdisplay / adjusted_mode->vdisplay;
380 mode_ratio != panel_ratio) {
384 if (mode_ratio < panel_ratio) {
395 output_mode->vdisplay * mode_ratio / (1 << 12);
400 if (mode_ratio > panel_ratio) {
411 (1 << 12) * output_mode->hdisplay / mode_ratio;

Completed in 250 milliseconds