]> git.pld-linux.org Git - packages/linux-libc-headers.git/blob - linux-libc-headers-fbsplash.patch
- updated to 5.16.0
[packages/linux-libc-headers.git] / linux-libc-headers-fbsplash.patch
1 --- /dev/null
2 +++ linux-5.3/include/uapi/linux/console_splash.h
3 @@ -0,0 +1,13 @@
4 +#ifndef _LINUX_CONSOLE_SPLASH_H_
5 +#define _LINUX_CONSOLE_SPLASH_H_ 1
6 +
7 +/* A structure used by the framebuffer splash code (drivers/video/fbsplash.c) */
8 +struct vc_splash {
9 +       __u8 bg_color;                          /* The color that is to be treated as transparent */
10 +       __u8 state;                             /* Current splash state: 0 = off, 1 = on */
11 +       __u16 tx, ty;                           /* Top left corner coordinates of the text field */
12 +       __u16 twidth, theight;                  /* Width and height of the text field */
13 +       char* theme;
14 +};
15 +
16 +#endif
17 --- linux-3.7/include/uapi/linux/fb.h.orig      2010-08-02 00:11:14.000000000 +0200
18 +++ linux-3.7/include/uapi/linux/fb.h   2010-08-04 08:51:32.242821619 +0200
19 @@ -8,6 +8,13 @@
20  
21  #define FB_MAX                 32      /* sufficient for now */
22  
23 +struct fb_splash_iowrapper
24 +{
25 +       unsigned short vc;              /* Virtual console */
26 +       unsigned char origin;           /* Point of origin of the request */
27 +       void *data;
28 +};
29 +
30  /* ioctls
31     0x46 is 'F'                                                         */
32  #define FBIOGET_VSCREENINFO    0x4600
33 @@ -35,8 +42,17 @@
34  #define FBIOGET_HWCINFO         0x4616
35  #define FBIOPUT_MODEINFO        0x4617
36  #define FBIOGET_DISPINFO        0x4618
37 +#define FBIOSPLASH_SETCFG      _IOWR('F', 0x19, struct fb_splash_iowrapper)
38 +#define FBIOSPLASH_GETCFG      _IOR('F', 0x1A, struct fb_splash_iowrapper)
39 +#define FBIOSPLASH_SETSTATE    _IOWR('F', 0x1B, struct fb_splash_iowrapper)
40 +#define FBIOSPLASH_GETSTATE    _IOR('F', 0x1C, struct fb_splash_iowrapper)
41 +#define FBIOSPLASH_SETPIC      _IOWR('F', 0x1D, struct fb_splash_iowrapper)
42  #define FBIO_WAITFORVSYNC      _IOW('F', 0x20, __u32)
43  
44 +#define FB_SPLASH_THEME_LEN            128     /* Maximum lenght of a theme name */
45 +#define FB_SPLASH_IO_ORIG_KERNEL       0       /* Kernel ioctl origin */
46 +#define FB_SPLASH_IO_ORIG_USER         1       /* User ioctl origin */
47 +  
48  #define FB_TYPE_PACKED_PIXELS          0       /* Packed Pixels        */
49  #define FB_TYPE_PLANES                 1       /* Non interleaved planes */
50  #define FB_TYPE_INTERLEAVED_PLANES     2       /* Interleaved planes   */
This page took 0.086108 seconds and 3 git commands to generate.