[PATCH] Framebuffer mode required for PowerBook Titanium

STALE7621d

7 messages, 3 authors, 2005-11-06 · open the first message on its own page

[PATCH] Framebuffer mode required for PowerBook Titanium

From: Michael Hanselmann <hidden>
Date: 2005-11-05 23:49:46

This patch adds the framebuffer mode required for an Apple PowerBook G4
Titanium.

Signed-off-by: Michael Hanselmann <redacted>

---
--- linux-2.6.14/drivers/video/modedb.c.orig	2005-11-05 22:29:02.000000000 +0100
+++ linux-2.6.14/drivers/video/modedb.c	2005-11-05 22:31:15.000000000 +0100
@@ -251,6 +251,10 @@ static const struct fb_videomode modedb[
 	NULL, 60, 1920, 1200, 5177, 128, 336, 1, 38, 208, 3,
 	FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT,
 	FB_VMODE_NONINTERLACED
+    }, {
+	/* 1152x768, 60 Hz, PowerBook G4 Titanium I and II */
+	"mac21", 60, 1152, 768, 15386, 158, 26, 29, 3, 136, 6,
+	FB_SYNC_HOR_HIGH_ACT|FB_SYNC_VERT_HIGH_ACT, FB_VMODE_NONINTERLACED
     },
 };

Re: [PATCH] Framebuffer mode required for PowerBook Titanium

From: "Antonino A. Daplas" <adaplas@gmail.com>
Date: 2005-11-06 00:11:43

Michael Hanselmann wrote:
This patch adds the framebuffer mode required for an Apple PowerBook G4
Titanium.
Does booting with video=xxxfb:1152x768M@60 work?  If it does, I would prefer
that we avoid adding more entries to the global mode database.

Tony


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php

Re: [PATCH] Framebuffer mode required for PowerBook Titanium

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2005-11-06 00:19:23

On Sun, 2005-11-06 at 00:49 +0100, Michael Hanselmann wrote:
quoted hunk
This patch adds the framebuffer mode required for an Apple PowerBook G4
Titanium.

Signed-off-by: Michael Hanselmann <redacted>

---
--- linux-2.6.14/drivers/video/modedb.c.orig	2005-11-05 22:29:02.000000000 +0100
+++ linux-2.6.14/drivers/video/modedb.c	2005-11-05 22:31:15.000000000 +0100
@@ -251,6 +251,10 @@ static const struct fb_videomode modedb[
 	NULL, 60, 1920, 1200, 5177, 128, 336, 1, 38, 208, 3,
 	FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT,
 	FB_VMODE_NONINTERLACED
+    }, {
+	/* 1152x768, 60 Hz, PowerBook G4 Titanium I and II */
+	"mac21", 60, 1152, 768, 15386, 158, 26, 29, 3, 136, 6,
+	FB_SYNC_HOR_HIGH_ACT|FB_SYNC_VERT_HIGH_ACT, FB_VMODE_NONINTERLACED
     },
 };
Please, re-do it without the "mac21" name, just leave NULL there.

Ben.

Re: [PATCH] Framebuffer mode required for PowerBook Titanium

From: Michael Hanselmann <hidden>
Date: 2005-11-06 00:30:22

Does booting with video=xxxfb:1152x768M@60 work?  If it does, I would prefer
that we avoid adding more entries to the global mode database.
It boots but the picture is stretched over the display. That's what I
first tried, too, but only adding the mode definition fixed it.

Greets,
Michael

Re: [PATCH] Framebuffer mode required for PowerBook Titanium

From: "Antonino A. Daplas" <adaplas@gmail.com>
Date: 2005-11-06 00:39:01

Michael Hanselmann wrote:
quoted
Does booting with video=xxxfb:1152x768M@60 work?  If it does, I would prefer
that we avoid adding more entries to the global mode database.
It boots but the picture is stretched over the display. That's what I
first tried, too, but only adding the mode definition fixed it.
Okay.

Tony


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php

Re: [PATCH] Framebuffer mode required for PowerBook Titanium

From: Michael Hanselmann <hidden>
Date: 2005-11-06 00:49:36

This patch adds the framebuffer mode required for an Apple PowerBook G4
Titanium.

---

Redone with NULL instead of "mac21".
--- linux-2.6.14/drivers/video/modedb.c.orig	2005-11-05 22:29:02.000000000 +0100
+++ linux-2.6.14/drivers/video/modedb.c	2005-11-06 01:33:27.000000000 +0100
@@ -251,6 +251,10 @@
 	NULL, 60, 1920, 1200, 5177, 128, 336, 1, 38, 208, 3,
 	FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT,
 	FB_VMODE_NONINTERLACED
+    }, {
+	/* 1152x768, 60 Hz, PowerBook G4 Titanium I and II */
+	NULL, 60, 1152, 768, 15386, 158, 26, 29, 3, 136, 6,
+	FB_SYNC_HOR_HIGH_ACT|FB_SYNC_VERT_HIGH_ACT, FB_VMODE_NONINTERLACED
     },
 };

Re: [PATCH] Framebuffer mode required for PowerBook Titanium

From: "Antonino A. Daplas" <adaplas@gmail.com>
Date: 2005-11-06 01:39:52

Michael Hanselmann wrote:
This patch adds the framebuffer mode required for an Apple PowerBook G4
Titanium.
Feel free to add my

Acked-by: Antonino Daplas <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help