sisfb: fix 1280x720 resolution support
It uses the wrong mode index because there is no break statement. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
This commit is contained in:
parent
92559977dd
commit
d677d2c6ef
@ -651,6 +651,7 @@ SiS_GetModeID_LCD(int VGAEngine, unsigned int VBFlags, int HDisplay, int VDispla
|
|||||||
switch(VDisplay) {
|
switch(VDisplay) {
|
||||||
case 720:
|
case 720:
|
||||||
ModeIndex = ModeIndex_1280x720[Depth];
|
ModeIndex = ModeIndex_1280x720[Depth];
|
||||||
|
break;
|
||||||
case 768:
|
case 768:
|
||||||
if(VGAEngine == SIS_300_VGA) {
|
if(VGAEngine == SIS_300_VGA) {
|
||||||
ModeIndex = ModeIndex_300_1280x768[Depth];
|
ModeIndex = ModeIndex_300_1280x768[Depth];
|
||||||
|
Loading…
Reference in New Issue
Block a user