diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2019-07-09 05:42:32 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2019-11-04 09:10:39 -0500 |
commit | 0ffc5fa5e44c623b6fde3d6bed5369b9674ee089 (patch) | |
tree | 5fcf39cd05d2128dd05837c36bdd89a24f4ac631 /drivers/gpu/nvgpu/common/clock_gating/gv11b_gating_reglist.h | |
parent | aa43252d1a60db5d317a71787e2aee3b0d7cb8a8 (diff) |
gpu: nvgpu: add clock gating support for HSHUB
Add BLCG and SLCG clock gating support for HSHUB unit on gv11b
Register list for BLCG and SLCG is auto generated with scripts.
Add HAL operations to enable/disable HSHUB clock gating
Re-generate gv11b reglist so that all the manually commented registers
are automatically deleted. Some of the unicast registers are also
deleted. We already have corresponding broadcast registers present.
Cherry-pick/manually port from dev-main
Bug 2526212
Change-Id: I2654f158daa802bcf992e103ed4a44675aa5fd4d
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2150199
(cherry picked from commit e34b6f76d38ad5641c1ed7c3a4b36752d9dd4750)
Reviewed-on: https://git-master.nvidia.com/r/2224708
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
GVS: Gerrit_Virtual_Submit
Tested-by: Peter Daifuku <pdaifuku@nvidia.com>
Reviewed-by: Luis Dib <ldib@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common/clock_gating/gv11b_gating_reglist.h')
-rw-r--r-- | drivers/gpu/nvgpu/common/clock_gating/gv11b_gating_reglist.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/common/clock_gating/gv11b_gating_reglist.h b/drivers/gpu/nvgpu/common/clock_gating/gv11b_gating_reglist.h index 155b6e2e..e1229dcf 100644 --- a/drivers/gpu/nvgpu/common/clock_gating/gv11b_gating_reglist.h +++ b/drivers/gpu/nvgpu/common/clock_gating/gv11b_gating_reglist.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2016-2018, NVIDIA Corporation. All rights reserved. | 2 | * Copyright (c) 2016-2019, NVIDIA Corporation. All rights reserved. |
3 | * | 3 | * |
4 | * Permission is hereby granted, free of charge, to any person obtaining a | 4 | * Permission is hereby granted, free of charge, to any person obtaining a |
5 | * copy of this software and associated documentation files (the "Software"), | 5 | * copy of this software and associated documentation files (the "Software"), |
@@ -69,6 +69,9 @@ void gv11b_slcg_therm_load_gating_prod(struct gk20a *g, | |||
69 | void gv11b_slcg_xbar_load_gating_prod(struct gk20a *g, | 69 | void gv11b_slcg_xbar_load_gating_prod(struct gk20a *g, |
70 | bool prod); | 70 | bool prod); |
71 | 71 | ||
72 | void gv11b_slcg_hshub_load_gating_prod(struct gk20a *g, | ||
73 | bool prod); | ||
74 | |||
72 | void gv11b_blcg_bus_load_gating_prod(struct gk20a *g, | 75 | void gv11b_blcg_bus_load_gating_prod(struct gk20a *g, |
73 | bool prod); | 76 | bool prod); |
74 | 77 | ||
@@ -99,6 +102,9 @@ void gv11b_blcg_pmu_load_gating_prod(struct gk20a *g, | |||
99 | void gv11b_blcg_xbar_load_gating_prod(struct gk20a *g, | 102 | void gv11b_blcg_xbar_load_gating_prod(struct gk20a *g, |
100 | bool prod); | 103 | bool prod); |
101 | 104 | ||
105 | void gv11b_blcg_hshub_load_gating_prod(struct gk20a *g, | ||
106 | bool prod); | ||
107 | |||
102 | void gr_gv11b_pg_gr_load_gating_prod(struct gk20a *g, | 108 | void gr_gv11b_pg_gr_load_gating_prod(struct gk20a *g, |
103 | bool prod); | 109 | bool prod); |
104 | #endif /* GV11B_GATING_REGLIST_H */ | 110 | #endif /* GV11B_GATING_REGLIST_H */ |