Commit 6dbdf2a1 authored by Tormod Volden's avatar Tormod Volden Committed by Paul Mundt

savagefb: Enable LCD detection on mobile Twister

Copy and paste from the Xorg DDX. Tested on TwisterK (Compaq Presario 700).
Signed-off-by: default avatarTormod Volden <debian.tormod@gmail.com>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent cc406341
......@@ -1967,7 +1967,8 @@ static int savage_init_hw(struct savagefb_par *par)
}
}
if (S3_SAVAGE_MOBILE_SERIES(par->chip) && !par->crtonly)
if ((S3_SAVAGE_MOBILE_SERIES(par->chip) ||
S3_MOBILE_TWISTER_SERIES(par->chip)) && !par->crtonly)
par->display_type = DISP_LCD;
else if (dvi || (par->chip == S3_SAVAGE4 && par->dvi))
par->display_type = DISP_DFP;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment