diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-04-14 18:25:57 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-04-28 01:07:04 -0400 |
commit | f6c92780ffe3b79cb84fb6d4321dcc13d2a07f73 (patch) | |
tree | b3a186dce91e621e0145a1a5bb1afca1e1b2de55 /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | cacd455dfdcb8864e296268a230cc490759a3f9e (diff) |
gpu: nvgpu: Move ptimer_src_freq to gk20a
Copy ptimer_src_freq to struct gk20a at probe time, and access it from
gk20a instead of platform_gk20a.
JIRA NVGPU-16
Change-Id: I92c1b83d6e2305a19eb2cd267b7dd8d97c1fdc44
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1463544
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@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 616c25ee..6c846251 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -996,6 +996,8 @@ struct gk20a { | |||
996 | 996 | ||
997 | u32 default_pri_timeout; | 997 | u32 default_pri_timeout; |
998 | 998 | ||
999 | u32 ptimer_src_freq; | ||
1000 | |||
999 | unsigned int aggressive_sync_destroy_thresh; | 1001 | unsigned int aggressive_sync_destroy_thresh; |
1000 | bool aggressive_sync_destroy; | 1002 | bool aggressive_sync_destroy; |
1001 | 1003 | ||