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>
+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;
#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 */