mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-25 02:52:51 +03:00
Revert "gpu: nvgpu: cache gpu clk rate"
This reverts commit e9a6d179a4 ("gpu: nvgpu: cache gpu clk rate")
- Real clock rate doesn't always equal clock rate requested by caller
- call of clk_set_rate() and update of cached_rate are not atomic
- Real root cause for Bug 2051688 is in bpmp and gboost design
Bug 2538692
Change-Id: I9248e0c69e2271ed2d0070587db59afa6f8160f2
Signed-off-by: Peng Liu <pengliu@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2109708
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
1374fba039
commit
cc70f89bb4
@@ -96,9 +96,6 @@ struct clk_gk20a {
|
||||
#if defined(CONFIG_COMMON_CLK)
|
||||
struct clk *tegra_clk;
|
||||
struct clk_hw hw;
|
||||
|
||||
/* scaling rate */
|
||||
unsigned long cached_rate;
|
||||
#endif
|
||||
struct pll gpc_pll;
|
||||
struct pll gpc_pll_last;
|
||||
|
||||
Reference in New Issue
Block a user