diff options
author | Thomas Fleury <tfleury@nvidia.com> | 2016-09-30 19:11:30 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2016-12-07 18:01:16 -0500 |
commit | a8f90069e985ef93435e843824edf36e95040233 (patch) | |
tree | cb979f92ed2c0ac8061c2ca24505ed226d16cd96 /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | 94cea420c87b95956063bebc147be2191eed90f3 (diff) |
gpu: nvgpu: update clock controls
Install one completion fd per SET request.
Notifications on dedicated event fd.
Changed frequencies unit to Hz from MHz.
Remove sequence numbers from dummy arbiter.
Added effective clock type (query frequency from counters).
Jira DNVGPU-125
Change-Id: Ica364eccdf85b188fd208f770e4eae0e9f0379e9
Signed-off-by: Thomas Fleury <tfleury@nvidia.com>
Reviewed-on: http://git-master/r/1230224
(cherry picked from commit f9b06686c090c676e60e1e137fdc9bbfc76d4843)
Reviewed-on: http://git-master/r/1243109
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 564026a4..3d55304b 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -636,9 +636,9 @@ struct gpu_ops { | |||
636 | struct { | 636 | struct { |
637 | u32 (*get_arbiter_clk_domains)(struct gk20a *g); | 637 | u32 (*get_arbiter_clk_domains)(struct gk20a *g); |
638 | int (*get_arbiter_clk_range)(struct gk20a *g, u32 api_domain, | 638 | int (*get_arbiter_clk_range)(struct gk20a *g, u32 api_domain, |
639 | u16 *min_mhz, u16 *max_mhz); | 639 | u64 *min_hz, u64 *max_hz); |
640 | int (*get_arbiter_clk_default)(struct gk20a *g, u32 api_domain, | 640 | int (*get_arbiter_clk_default)(struct gk20a *g, u32 api_domain, |
641 | u16 *default_mhz); | 641 | u64 *default_hz); |
642 | } clk_arb; | 642 | } clk_arb; |
643 | bool privsecurity; | 643 | bool privsecurity; |
644 | bool securegpccs; | 644 | bool securegpccs; |