brcm2708: update linux 4.4 patches to latest version
[openwrt/staging/wigyori.git] / target / linux / brcm2708 / patches-4.4 / 0427-bcm2708_fb-Default-framebuffer-to-32-bit.patch
1 From d2d95b8aaa0310df7270b9a87eac36030fa4ccd2 Mon Sep 17 00:00:00 2001
2 From: popcornmix <popcornmix@gmail.com>
3 Date: Thu, 28 Jul 2016 12:15:47 +0100
4 Subject: [PATCH] bcm2708_fb: Default framebuffer to 32-bit
5
6 Can be overridden with framebuffer_depth=16 in config.txt for old behaviour
7 ---
8 drivers/video/fbdev/bcm2708_fb.c | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11 --- a/drivers/video/fbdev/bcm2708_fb.c
12 +++ b/drivers/video/fbdev/bcm2708_fb.c
13 @@ -51,7 +51,7 @@ static const char *bcm2708_name = "BCM27
14
15 static int fbwidth = 800; /* module parameter */
16 static int fbheight = 480; /* module parameter */
17 -static int fbdepth = 16; /* module parameter */
18 +static int fbdepth = 32; /* module parameter */
19 static int fbswap = 0; /* module parameter */
20
21 static u32 dma_busy_wait_threshold = 1<<15;