summaryrefslogtreecommitdiff
path: root/drivers/mxc
diff options
context:
space:
mode:
authorXianzhong <b07117@freescale.com>2014-04-18 20:51:49 +0800
committerNitin Garg <nitin.garg@freescale.com>2014-08-27 18:28:40 -0500
commit5868f6440e4676ac77bb14ffe59ceb9afee683c4 (patch)
tree5e0d1cfe21907ee60082faa6c3150ecad0616a5e /drivers/mxc
parent9f74286c4d36b89477cb8564eab4d0c2621c13e6 (diff)
ENGR00309294 [#1139] fixed Android boot failure with GPU 5.0.11
This issue could be reproduced on Android i.MX6SX with SD boot, the root cause is memory allocator pointer is not created correctly. gcsALLOCATOR is structure, while gckALLOCATOR is struct pointer Date: Apr 18, 2014 Signed-off-by: Xianzhong <b07117@freescale.com> Acked-by: Jason Liu (cherry picked from commit 5000ad55f9a27cba472e09a94189fa7018bc58c3)
Diffstat (limited to 'drivers/mxc')
-rw-r--r--drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_allocator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_allocator.c b/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_allocator.c
index 0342660db900..e5bfeaa8ea7a 100644
--- a/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_allocator.c
+++ b/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_allocator.c
@@ -886,9 +886,9 @@ gckALLOCATOR_Construct(
);
gcmkONERROR(
- gckOS_Allocate(Os, gcmSIZEOF(gckALLOCATOR), (gctPOINTER *)&allocator));
+ gckOS_Allocate(Os, gcmSIZEOF(gcsALLOCATOR), (gctPOINTER *)&allocator));
- gckOS_ZeroMemory(allocator, gcmSIZEOF(gckALLOCATOR));
+ gckOS_ZeroMemory(allocator, gcmSIZEOF(gcsALLOCATOR));
/* Record os. */
allocator->os = Os;