summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorLoren Huang <b02279@freescale.com>2014-11-25 16:19:49 +0800
committerLoren Huang <b02279@freescale.com>2014-11-25 16:23:35 +0800
commit2389257a59a01f2e6f5c334ccbab4a432b51adc1 (patch)
treecda9192a85546ab9a80912a001cb5282bc90edff /drivers
parent65999b877a9d6ad53ad6f8ee9d3f80abb4383603 (diff)
MGS-298 gpu:Add new option to enable shadow memory free
It's a specific requirement form customer. Environmant variable VIV_FBO_PERFER_MEM is added. When it's set, driver will free fbo shadow memory immediately when it's switch out. Original vivante patch name:cl29153.diff Date: Nov 25, 2014 Signed-off-by: Loren Huang <b02279@freescale.com> Acked-by: Jason Liu (cherry picked from commit c9d486e75fc7059050604188334ea846a25b9d13)
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_enum.h2
1 files changed, 2 insertions, 0 deletions
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 6a722eeebfb6..d20f00774b98 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
@@ -298,6 +298,8 @@ typedef enum _gceOPITON
gcvOPTION_HW_NULL = 50,
gcvOPTION_PRINT_OPTION = 51,
+ gcvOPTION_FBO_PREFER_MEM = 80,
+
/* Insert option above this comment only */
gcvOPTION_COUNT /* Not a OPTION*/
}