summaryrefslogtreecommitdiff
path: root/drivers/mxc/gpu-viv/hal/kernel/inc
diff options
context:
space:
mode:
authorLoren Huang <b02279@freescale.com>2014-01-09 17:38:37 +0800
committerRichard Liu <r66033@freescale.com>2014-05-15 15:07:09 +0800
commiteb955578de7088c054a9a3ace150e788b27cada6 (patch)
tree5a2beb77bfb7503bc3734044631afba6f2416f54 /drivers/mxc/gpu-viv/hal/kernel/inc
parent36a4377215ccb3bc30a9f906e65db920ebce8632 (diff)
ENGR00294354 gpu:Using vitural memory cause AXI bus error
There are two possible reasons to cause AXI bus error 1.Allocate Tile status buffer from virtual memory. It seems gc2000 and gc880 doesn't support tile status buffer from virtual memory. 2.Stream buffer using very beginning gpu mmu address. In this condition, a faked non gpu mmu address maybe generated and fill into gpu which cause AXI bus error. [DATE]09-01-2014 Signed-off-by: Loren Huang <b02279@freescale.com> Acked-by: Shawn Guo
Diffstat (limited to 'drivers/mxc/gpu-viv/hal/kernel/inc')
-rw-r--r--drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal.h9
-rw-r--r--drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_enum.h1
2 files changed, 10 insertions, 0 deletions
diff --git a/drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal.h b/drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal.h
index 7312cc24d598..63d5dad3a75a 100644
--- a/drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal.h
+++ b/drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal.h
@@ -2562,6 +2562,15 @@ gckMMU_AllocatePages(
OUT gctUINT32 * Address
);
+gceSTATUS
+gckMMU_AllocatePagesEx(
+ IN gckMMU Mmu,
+ IN gctSIZE_T PageCount,
+ IN gceSURF_TYPE Type,
+ OUT gctPOINTER * PageTable,
+ OUT gctUINT32 * Address
+ );
+
/* Remove a page table from the MMU. */
gceSTATUS
gckMMU_FreePages(
diff --git a/drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_enum.h b/drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_enum.h
index b2ffac335e22..522253779182 100644
--- a/drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_enum.h
+++ b/drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_enum.h
@@ -166,6 +166,7 @@ typedef enum _gceFEATURE
gcvFEATURE_LINEAR_RENDER_TARGET,
gcvFEATURE_BUG_FIXES8,
gcvFEATURE_HALTI2,
+ gcvFEATURE_MMU,
}
gceFEATURE;