diff options
author | Deepak Goyal <dgoyal@nvidia.com> | 2018-05-07 02:12:33 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-05-09 07:40:28 -0400 |
commit | f9e55fbaf66c024125a19e1a773a1a4f0e9648f4 (patch) | |
tree | 9df8d81c214e5208b5a9b3e4ddc45e345a2128d0 /drivers/gpu/nvgpu/gk20a | |
parent | a1a8ceca0c5cdc8484e4da66019c066be716f9c8 (diff) |
gpu: nvgpu: Add LDIV slowdown factor in INIT cmd.
PMU ucode is updated to include LDIV slowdown factor in gr_init_param command.
- Defined a new version gr_init_param_v2.
- Updated the PMU FW version code.
- Set the LDIV slowdown factor to 0x1e by default.
- Added sysfs entry to program ldiv_slowdown factor at runtime.
Bug 200391931
Change-Id: Ic66049588c3b20e934faff3f29283f66c30303e4
Signed-off-by: Deepak Goyal <dgoyal@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1674208
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index bf2e0dbb..476c1dd3 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -1333,7 +1333,7 @@ struct gk20a { | |||
1333 | bool can_railgate; | 1333 | bool can_railgate; |
1334 | bool user_railgate_disabled; | 1334 | bool user_railgate_disabled; |
1335 | int railgate_delay; | 1335 | int railgate_delay; |
1336 | 1336 | u8 ldiv_slowdown_factor; | |
1337 | unsigned int aggressive_sync_destroy_thresh; | 1337 | unsigned int aggressive_sync_destroy_thresh; |
1338 | bool aggressive_sync_destroy; | 1338 | bool aggressive_sync_destroy; |
1339 | 1339 | ||