]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.h
gpu: vivante: Update driver from Freescale 3.10.53-1.1-ga BSP
[karo-tx-linux.git] / drivers / mxc / gpu-viv / hal / os / linux / kernel / gc_hal_kernel_os.h
index b22081740fdbd3b1b7e8471974e4c4d1b1b2e503..9d3126d1d77297814c2d5f0fac45f24a097c092e 100644 (file)
@@ -1,6 +1,6 @@
 /****************************************************************************
 *
-*    Copyright (C) 2005 - 2013 by Vivante Corp.
+*    Copyright (C) 2005 - 2014 by Vivante Corp.
 *
 *    This program is free software; you can redistribute it and/or modify
 *    it under the terms of the GNU General Public License as published by
@@ -36,7 +36,6 @@ typedef struct _LINUX_MDL_MAP * PLINUX_MDL_MAP;
 
 typedef struct _LINUX_MDL
 {
-    gctINT                  pid;
     char *                  addr;
 
     union _pages
@@ -62,6 +61,14 @@ typedef struct _LINUX_MDL
     PLINUX_MDL_MAP          maps;
     struct _LINUX_MDL *     prev;
     struct _LINUX_MDL *     next;
+
+    /* Pointer to allocator which allocates memory for this mdl. */
+    void *                  allocator;
+
+    /* Private data used by allocator. */
+    void *                  priv;
+
+    uint                    gid;
 }
 LINUX_MDL, *PLINUX_MDL;