From 08dc7c3584e696f06f10ce496febed0bf4afef05 Mon Sep 17 00:00:00 2001 From: Samuel Russell Date: Tue, 22 Jul 2014 10:55:54 -0700 Subject: gpu: nvgpu: 3d.emc bandwidth ratio policy Modify the 3d.emc policy to use a formula based on bandwidth and utilization instead of the current sku-dependent policy. Bug 1364894 Change-Id: Id97f765a48f0aa9f5ebeb0c82bccb22db474a1ae Signed-off-by: Samuel Russell Reviewed-on: http://git-master/r/453586 Reviewed-by: Terje Bergstrom Tested-by: Terje Bergstrom --- drivers/gpu/nvgpu/gk20a/gk20a.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h') diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 77300203..730ef43e 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h @@ -297,6 +297,8 @@ struct gk20a { bool forced_reset; bool allow_all; + u32 emc3d_ratio; + #ifdef CONFIG_DEBUG_FS spinlock_t debugfs_lock; struct dentry *debugfs_ltc_enabled; -- cgit v1.2.2