kernel: bump 5.4 to 5.4.150
[openwrt/staging/wigyori.git] / target / linux / bcm27xx / patches-5.4 / 950-0040-fbdev-add-FBIOCOPYAREA-ioctl.patch
index f42c2697f34301e4e5960df043ba64867a13cb43..23d6cd31396c900fa3049c3d5fa239df87adfaa1 100644 (file)
@@ -234,7 +234,7 @@ Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
  static int bcm2708_fb_register(struct bcm2708_fb *fb)
 --- a/drivers/video/fbdev/core/fbmem.c
 +++ b/drivers/video/fbdev/core/fbmem.c
-@@ -1074,6 +1074,30 @@ fb_blank(struct fb_info *info, int blank
+@@ -1080,6 +1080,30 @@ fb_blank(struct fb_info *info, int blank
  }
  EXPORT_SYMBOL(fb_blank);
  
@@ -265,7 +265,7 @@ Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
  static long do_fb_ioctl(struct fb_info *info, unsigned int cmd,
                        unsigned long arg)
  {
-@@ -1082,6 +1106,7 @@ static long do_fb_ioctl(struct fb_info *
+@@ -1088,6 +1112,7 @@ static long do_fb_ioctl(struct fb_info *
        struct fb_fix_screeninfo fix;
        struct fb_cmap cmap_from;
        struct fb_cmap_user cmap;
@@ -273,7 +273,7 @@ Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
        void __user *argp = (void __user *)arg;
        long ret = 0;
  
-@@ -1157,6 +1182,15 @@ static long do_fb_ioctl(struct fb_info *
+@@ -1163,6 +1188,15 @@ static long do_fb_ioctl(struct fb_info *
                unlock_fb_info(info);
                console_unlock();
                break;
@@ -289,7 +289,7 @@ Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
        default:
                lock_fb_info(info);
                fb = info->fbops;
-@@ -1302,6 +1336,7 @@ static long fb_compat_ioctl(struct file
+@@ -1308,6 +1342,7 @@ static long fb_compat_ioctl(struct file
        case FBIOPAN_DISPLAY:
        case FBIOGET_CON2FBMAP:
        case FBIOPUT_CON2FBMAP: