# \[PATCH\] Set default of FB\_GBE\_MEM to 4 MB since \>= 4 MB allocation breaks fb

- From: Martin Michlmayr \<hidden\>
- Date: 2006-02-17 12:47:06 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2006/02/13455949
- Thread: https://ratatoskr.run/linux-fbdev/2006/02/13455949/t.md

```text
[PATCH] Set default of FB_GBE_MEM to 4 MB since >= 4 MB allocation breaks fb

Allocating more than 4 MB memory for the GBE (SGI O2) framebuffer
completely breakfs gbefb support at the moment.  According to comments
on #mipslinux, more than 4 MB has never worked correctly in Linux.
Therefore, the default should be 4 MB.

Signed-off-by: Martin Michlmayr <redacted>

---

 Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index 7d7724c..9d684bb 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -520,7 +520,7 @@ config FB_GBE
 config FB_GBE_MEM
 	int "Video memory size in MB"
 	depends on FB_GBE
-	default 8
+	default 4
 	help
 	  This is the amount of memory reserved for the framebuffer,
 	  which can be any value between 1MB and 8MB.

-- 
Martin Michlmayr
http://www.cyrius.com/


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
```
