diff options
Diffstat (limited to 'meta/packages/xserver/xserver-kdrive/xserver-kdrive-poodle.patch')
| -rw-r--r-- | meta/packages/xserver/xserver-kdrive/xserver-kdrive-poodle.patch | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/meta/packages/xserver/xserver-kdrive/xserver-kdrive-poodle.patch b/meta/packages/xserver/xserver-kdrive/xserver-kdrive-poodle.patch new file mode 100644 index 0000000000..ce80a7e389 --- /dev/null +++ b/meta/packages/xserver/xserver-kdrive/xserver-kdrive-poodle.patch | |||
| @@ -0,0 +1,44 @@ | |||
| 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; | ||
