summaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorTormod Volden <debian.tormod@gmail.com>2011-04-10 22:57:35 +0200
committerPaul Mundt <lethal@linux-sh.org>2011-05-24 09:05:06 +0200
commit6dbdf2a1cee23c34a66a35cfa2ae48e62e268dcb (patch)
treef40a95414e14644337101b1111d11f337a71b466 /drivers/video
parentsavagefb: New S3_TWISTER and S3_PROSAVAGEDDR chip families (diff)
downloadlinux-6dbdf2a1cee23c34a66a35cfa2ae48e62e268dcb.tar.xz
linux-6dbdf2a1cee23c34a66a35cfa2ae48e62e268dcb.zip
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>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/savage/savagefb_driver.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/video/savage/savagefb_driver.c b/drivers/video/savage/savagefb_driver.c
index 7a35ceb2f8a0..3b7f2f5bae71 100644
--- a/drivers/video/savage/savagefb_driver.c
+++ b/drivers/video/savage/savagefb_driver.c
@@ -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;