From: Antonino A. Daplas <adaplas@gm...> - 2007-03-11 10:22:05
This is a hack that seems to kick start the 2D engine of the Savage IX in some
Toshiba laptops. Without this, the laptop starts with a black screen and
occasionally crashes X.
Signed-off-by: Antonino Daplas <adaplas@...>
drivers/video/savage/savagefb_driver.c | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/drivers/video/savage/savagefb_driver.c b/drivers/video/savage/savagefb_driver.c
index 4afa305..d952bf3 100644
@@ -384,6 +384,19 @@ SavageSetup2DEngine(struct savagefb_par
BCI_SEND(BCI_CMD_SETREG | (1 << 16) | BCI_GBD2);
+ * I don't know why, sending this twice fixes the intial black screen,
+ * prevents X from crashing at least in Toshiba laptops with SavageIX.
+ * --Tony
+ par->bci_ptr = 0;
+ par->SavageWaitFifo(par, 4);
+ BCI_SEND(BCI_CMD_SETREG | (1 << 16) | BCI_GBD1);
+ BCI_SEND(BCI_CMD_SETREG | (1 << 16) | BCI_GBD2);
static void savagefb_set_clip(struct fb_info *info)
Get latest updates about Open Source Projects, Conferences and News.