mirror of
https://github.com/torvalds/linux.git
synced 2024-11-28 15:11:31 +00:00
savagefb: Enable LCD detection on mobile Twister
Copy and paste from the Xorg DDX. Tested on TwisterK (Compaq Presario 700). Signed-off-by: Tormod Volden <debian.tormod@gmail.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
parent
cc406341d2
commit
6dbdf2a1ce
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user