mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 09:19:51 +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
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue