aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/savage/savagefb_driver.c
diff options
context:
space:
mode:
authorTormod Volden <debian.tormod@gmail.com>2011-04-10 20:57:35 +0000
committerPaul Mundt <lethal@linux-sh.org>2011-05-24 16:05:06 +0900
commit6dbdf2a1cee23c34a66a35cfa2ae48e62e268dcb (patch)
treef40a95414e14644337101b1111d11f337a71b466 /drivers/video/savage/savagefb_driver.c
parentcc406341d26381bf27329704360dfecd547b4fc0 (diff)
downloadkernel_samsung_smdk4412-6dbdf2a1cee23c34a66a35cfa2ae48e62e268dcb.tar.gz
kernel_samsung_smdk4412-6dbdf2a1cee23c34a66a35cfa2ae48e62e268dcb.tar.bz2
kernel_samsung_smdk4412-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/savage/savagefb_driver.c')
-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 7a35ceb2f8a..3b7f2f5bae7 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;