summaryrefslogtreecommitdiff
path: root/drivers/mxc/gpu-viv/hal
diff options
context:
space:
mode:
authorLoren Huang <b02279@freescale.com>2014-11-25 16:19:49 +0800
committerNitin Garg <nitin.garg@freescale.com>2015-04-14 14:01:02 -0500
commit4faa96c12098aeb0614c4987d6248b28c19fa446 (patch)
tree72f3390654083abb1a7118ec10213ad375c26df1 /drivers/mxc/gpu-viv/hal
parentb00a5d0fe891d86609fd560b27426203af9b3c5b (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/mxc/gpu-viv/hal')
-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*/
}