X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fstaging%2Fchunkeey.git;a=blobdiff_plain;f=target%2Flinux%2Fbcm27xx%2Fpatches-5.10%2F950-0360-rpisense-fb-Set-pseudo_pallete-to-prevent-crash-on-f.patch;fp=target%2Flinux%2Fbcm27xx%2Fpatches-5.10%2F950-0360-rpisense-fb-Set-pseudo_pallete-to-prevent-crash-on-f.patch;h=0000000000000000000000000000000000000000;hp=ea9cce45ad81898f2879a4f996b239f4a2850a9a;hb=d5c4f24b2af991df2ec24df1a3f906049370f59f;hpb=99ad84b6d9727a63f99a16e0b8386747262e3433 diff --git a/target/linux/bcm27xx/patches-5.10/950-0360-rpisense-fb-Set-pseudo_pallete-to-prevent-crash-on-f.patch b/target/linux/bcm27xx/patches-5.10/950-0360-rpisense-fb-Set-pseudo_pallete-to-prevent-crash-on-f.patch deleted file mode 100644 index ea9cce45ad..0000000000 --- a/target/linux/bcm27xx/patches-5.10/950-0360-rpisense-fb-Set-pseudo_pallete-to-prevent-crash-on-f.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 5a8f4fcd60686ac1f8e86e79ecbda81a4b9fef83 Mon Sep 17 00:00:00 2001 -From: Serge Schneider -Date: Mon, 26 Oct 2020 16:38:21 +0000 -Subject: [PATCH] rpisense-fb: Set pseudo_pallete to prevent crash on - fbcon takeover - -Signed-off-by: Serge Schneider ---- - drivers/video/fbdev/rpisense-fb.c | 3 +++ - 1 file changed, 3 insertions(+) - ---- a/drivers/video/fbdev/rpisense-fb.c -+++ b/drivers/video/fbdev/rpisense-fb.c -@@ -52,6 +52,8 @@ static u8 gamma_low[32] = {0x00, 0x01, 0 - - static u8 gamma_user[32]; - -+static u32 pseudo_palette[16]; -+ - static struct rpisense_fb_param rpisense_fb_param = { - .vmem = NULL, - .vmemsize = 128, -@@ -225,6 +227,7 @@ static int rpisense_fb_probe(struct plat - info->flags = FBINFO_FLAG_DEFAULT | FBINFO_VIRTFB; - info->screen_base = rpisense_fb_param.vmem; - info->screen_size = rpisense_fb_param.vmemsize; -+ info->pseudo_palette = pseudo_palette; - - if (lowlight) - rpisense_fb_param.gamma = gamma_low;