From 2389257a59a01f2e6f5c334ccbab4a432b51adc1 Mon Sep 17 00:00:00 2001 From: Loren Huang Date: Tue, 25 Nov 2014 16:19:49 +0800 Subject: 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 Acked-by: Jason Liu (cherry picked from commit c9d486e75fc7059050604188334ea846a25b9d13) --- drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_enum.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drivers/mxc') 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*/ } -- cgit v1.2.3