siihdmi: teneighty mode was picking non-1080p modes and not letting us past. Restrict it to 1920x1080 matches.

This commit is contained in:
Matt Sealey
2011-02-11 17:53:29 -06:00
parent 0a207e8028
commit 481f0bd252

View File

@@ -830,7 +830,7 @@ siihdmi_select_video_mode(const struct siihdmi_tx * const tx)
*/
for (i = 34; i >= 32; i--) {
mode = fb_find_nearest_mode(&cea_modes[i], &tx->info->modelist);
if (mode)
if (mode && (mode->xres == cea_modes[i].xres) && (mode->yres == cea_modes[i].yres))
return mode;
}
}