projects
/
platform
/
kernel
/
linux-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc40634
)
savagefb: Enable LCD detection on mobile Twister
author
Tormod Volden
<debian.tormod@gmail.com>
Sun, 10 Apr 2011 20:57:35 +0000
(20:57 +0000)
committer
Paul Mundt
<lethal@linux-sh.org>
Tue, 24 May 2011 07:05:06 +0000
(16:05 +0900)
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>
drivers/video/savage/savagefb_driver.c
patch
|
blob
|
history
diff --git
a/drivers/video/savage/savagefb_driver.c
b/drivers/video/savage/savagefb_driver.c
index
7a35ceb
..
3b7f2f5
100644
(file)
--- 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;