aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/savage
diff options
context:
space:
mode:
authorTormod Volden <debian.tormod@gmail.com>2011-04-10 16:57:35 -0400
committerPaul Mundt <lethal@linux-sh.org>2011-05-24 03:05:06 -0400
commit6dbdf2a1cee23c34a66a35cfa2ae48e62e268dcb (patch)
treef40a95414e14644337101b1111d11f337a71b466 /drivers/video/savage
parentcc406341d26381bf27329704360dfecd547b4fc0 (diff)
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')
-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)
1967 } 1967 }
1968 } 1968 }
1969 1969
1970 if (S3_SAVAGE_MOBILE_SERIES(par->chip) && !par->crtonly) 1970 if ((S3_SAVAGE_MOBILE_SERIES(par->chip) ||
1971 S3_MOBILE_TWISTER_SERIES(par->chip)) && !par->crtonly)
1971 par->display_type = DISP_LCD; 1972 par->display_type = DISP_LCD;
1972 else if (dvi || (par->chip == S3_SAVAGE4 && par->dvi)) 1973 else if (dvi || (par->chip == S3_SAVAGE4 && par->dvi))
1973 par->display_type = DISP_DFP; 1974 par->display_type = DISP_DFP;