From: Tormod Volden Date: Sun, 10 Apr 2011 20:57:35 +0000 (+0000) Subject: savagefb: Enable LCD detection on mobile Twister X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6dbdf2a1cee23c34a66a35cfa2ae48e62e268dcb;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Paul Mundt --- 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;