Skip to content

Commit

Permalink
savagefb: Enable LCD detection on mobile Twister
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tormod Volden authored and Paul Mundt committed May 24, 2011
1 parent cc40634 commit 6dbdf2a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/video/savage/savagefb_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6dbdf2a

Please sign in to comment.