diff options
author | Samuel Russell <samuelr@nvidia.com> | 2014-07-22 13:55:54 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:10:56 -0400 |
commit | 08dc7c3584e696f06f10ce496febed0bf4afef05 (patch) | |
tree | b079819f2cbfce4731d9e6248c8b38fd07eeb0fb /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | 04efcaf97ee08a460deee192134ba30402c577be (diff) |
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 <samuelr@nvidia.com>
Reviewed-on: http://git-master/r/453586
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 { | |||
297 | bool forced_reset; | 297 | bool forced_reset; |
298 | bool allow_all; | 298 | bool allow_all; |
299 | 299 | ||
300 | u32 emc3d_ratio; | ||
301 | |||
300 | #ifdef CONFIG_DEBUG_FS | 302 | #ifdef CONFIG_DEBUG_FS |
301 | spinlock_t debugfs_lock; | 303 | spinlock_t debugfs_lock; |
302 | struct dentry *debugfs_ltc_enabled; | 304 | struct dentry *debugfs_ltc_enabled; |