summaryrefslogtreecommitdiff
path: root/drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_base.h
diff options
context:
space:
mode:
authorLoren Huang <b02279@freescale.com>2011-12-02 17:06:39 +0800
committerJason Liu <r64343@freescale.com>2012-07-20 13:18:26 +0800
commitaf61c1cbd841bad548065c7d1a4c34a5bb605946 (patch)
treedf03ba6118b46290782b065a597e3e08e0a7aadb /drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_base.h
parent8422071096e8d30383a7ef512997ca71aa143338 (diff)
ENGR00163719 Upgrade to 4.6.3
Signed-off-by: Loren Huang <b02279@freescale.com> Acked-by: Lily Zhang
Diffstat (limited to 'drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_base.h')
-rw-r--r--drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_base.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_base.h b/drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_base.h
index c1711fa6484d..03631fe1528f 100644
--- a/drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_base.h
+++ b/drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_base.h
@@ -118,6 +118,7 @@ typedef struct _gcsTLS
gcoHARDWARE hardware2D;
#if gcdENABLE_VG
gcoVGHARDWARE vg;
+ gcoVG engineVG;
#endif /* gcdENABLE_VG */
gctPOINTER context;
gctTLS_DESTRUCTOR destructor;
@@ -1620,6 +1621,20 @@ gcoSURF_QueryVidMemNode(
OUT gctUINT_PTR Bytes
);
+/* Set usage attribute of a surface. */
+gceSTATUS
+gcoSURF_SetUsage(
+ IN gcoSURF Surface,
+ IN gceSURF_USAGE Usage
+ );
+
+/* Return usage attribute of a surface. */
+gceSTATUS
+gcoSURF_QueryUsage(
+ IN gcoSURF Surface,
+ OUT gceSURF_USAGE *Usage
+ );
+
/* Set the color type of the surface. */
gceSTATUS
gcoSURF_SetColorType(
@@ -1832,6 +1847,14 @@ gcoSURF_SetOffset(
IN gctUINT Offset
);
+gceSTATUS
+gcoSURF_NODE_Cache(
+ IN gcsSURF_NODE_PTR Node,
+ IN gctPOINTER Logical,
+ IN gctSIZE_T Bytes,
+ IN gceCACHEOPERATION Operation
+ );
+
/******************************************************************************\
********************************* gcoDUMP Object ********************************
\******************************************************************************/