]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/xserver/xserver-kdrive/xserver-kdrive-poodle.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / xserver / xserver-kdrive / xserver-kdrive-poodle.patch
1
2 #
3 # Patch managed by http://www.holgerschurig.de/patcher.html
4 #
5
6 --- xserver/hw/kdrive/fbdev/fbdev.c~xserver-kdrive-poodle.patch
7 +++ xserver/hw/kdrive/fbdev/fbdev.c
8 @@ -190,6 +190,7 @@
9      var.nonstd = 0;
10      var.grayscale = 0;
11  
12 +    /* commented out for poodle 
13      k = ioctl (priv->fd, FBIOPUT_VSCREENINFO, &var);
14  
15      if (k < 0)
16 @@ -198,10 +199,11 @@
17         return FALSE;
18      }
19  
20 -    /* Re-get the "fixed" parameters since they might have changed */
21 +    // Re-get the "fixed" parameters since they might have changed
22      k = ioctl (priv->fd, FBIOGET_FSCREENINFO, &priv->fix);
23      if (k < 0)
24          perror ("FBIOGET_FSCREENINFO");
25 +    */
26  
27      /* Now get the new screeninfo */
28      ioctl (priv->fd, FBIOGET_VSCREENINFO, &priv->var);
29 @@ -659,13 +661,14 @@
30      priv->var.activate = FB_ACTIVATE_NOW|FB_CHANGE_CMAP_VBL;
31      
32      /* display it on the LCD */
33 +    /* commented out for poodle
34      k = ioctl (priv->fd, FBIOPUT_VSCREENINFO, &priv->var);
35      if (k < 0)
36      {
37         perror ("FBIOPUT_VSCREENINFO");
38         return FALSE;
39      }
40 -    
41 +    */
42      if (priv->fix.visual == FB_VISUAL_DIRECTCOLOR)
43      {
44         struct fb_cmap  cmap;