aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics
diff options
context:
space:
mode:
authorDaiane Angolini <daiane.angolini@freescale.com>2013-03-28 09:56:42 -0500
committerOtavio Salvador <otavio@ossystems.com.br>2013-04-02 10:34:49 -0300
commit86262d891516ad5249e61259bb8936501a0d16ef (patch)
treed32781885a7e3fe50101939e721140a8894cdd89 /recipes-graphics
parentf0e690c7869281708534e531fabdf53f563448dd (diff)
downloadmeta-fsl-arm-86262d891516ad5249e61259bb8936501a0d16ef.tar.gz
meta-fsl-arm-86262d891516ad5249e61259bb8936501a0d16ef.tar.bz2
meta-fsl-arm-86262d891516ad5249e61259bb8936501a0d16ef.zip
xf86-video-imxfb: Fix Xorg driver with newer API
The previous patch which ported the Xorg driver for newer API had a mistaken change which broke the acceleration support; this patch fixes it reverting the mislanding changes. Change-Id: I74ebb311706af37c4f4141e42074e7ba81d9e671 Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
Diffstat (limited to 'recipes-graphics')
-rw-r--r--recipes-graphics/xorg-driver/xf86-video-imxfb/Make-video-API-forward-and-backward-compatible.patch2
-rw-r--r--recipes-graphics/xorg-driver/xf86-video-imxfb/xserver-1.14-compat.patch8
2 files changed, 9 insertions, 1 deletions
diff --git a/recipes-graphics/xorg-driver/xf86-video-imxfb/Make-video-API-forward-and-backward-compatible.patch b/recipes-graphics/xorg-driver/xf86-video-imxfb/Make-video-API-forward-and-backward-compatible.patch
index acfda91..2ac6311 100644
--- a/recipes-graphics/xorg-driver/xf86-video-imxfb/Make-video-API-forward-and-backward-compatible.patch
+++ b/recipes-graphics/xorg-driver/xf86-video-imxfb/Make-video-API-forward-and-backward-compatible.patch
@@ -282,7 +282,7 @@ index 178e36e..f4b3e38 100644
+imxScreenInit(SCREEN_INIT_ARGS_DECL)
{
- ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum];
-+ SCRN_INFO_PTR(pScreen);
++ ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen);
ImxPtr fPtr = IMXPTR(pScrn);
VisualPtr visual;
int init_picture = 0;
diff --git a/recipes-graphics/xorg-driver/xf86-video-imxfb/xserver-1.14-compat.patch b/recipes-graphics/xorg-driver/xf86-video-imxfb/xserver-1.14-compat.patch
index a1e05a2..14ccbbf 100644
--- a/recipes-graphics/xorg-driver/xf86-video-imxfb/xserver-1.14-compat.patch
+++ b/recipes-graphics/xorg-driver/xf86-video-imxfb/xserver-1.14-compat.patch
@@ -24,3 +24,11 @@ Index: xserver-xorg-video-imx-11.09.01/src/imx_driver.c
#include "micmap.h"
#include "colormapst.h"
#include "xf86cmap.h"
+@@ -722,7 +721,6 @@ imxScreenInit(SCREEN_INIT_ARGS_DECL)
+ /* Initialize for X extensions. */
+ imxExtInit();
+
+- miInitializeBackingStore(pScreen);
+ xf86SetBackingStore(pScreen);
+
+ /* software cursor */