mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
gpu: nvgpu: fix incorrect clk hal names
Jira NVGPU-5435 Change-Id: I5ab7a2f45d094a316c97ffd980e128e21947b97f Signed-off-by: shashank singh <shashsingh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2360777 Reviewed-by: automaticguardword <automaticguardword@nvidia.com> Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-misra <svc-mobile-misra@nvidia.com> Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com> Reviewed-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Alex Waterman
parent
e7d6d36a16
commit
876feb8842
@@ -178,7 +178,7 @@ static int nvgpu_clk_mon_get_fault(struct gk20a *g, u32 i, u32 data,
|
||||
return status;
|
||||
}
|
||||
|
||||
bool nvgpu_clk_mon_check_master_fault_status(struct gk20a *g)
|
||||
bool tu104_clk_mon_check_master_fault_status(struct gk20a *g)
|
||||
{
|
||||
u32 fmon_master_status = nvgpu_readl(g, trim_fmon_master_status_r());
|
||||
|
||||
@@ -207,7 +207,7 @@ int nvgpu_clk_mon_alloc_memory(struct gk20a *g)
|
||||
return 0;
|
||||
}
|
||||
|
||||
int nvgpu_clk_mon_check_status(struct gk20a *g, u32 domain_mask)
|
||||
int tu104_clk_mon_check_status(struct gk20a *g, u32 domain_mask)
|
||||
{
|
||||
u32 reg_address, bit_pos;
|
||||
u32 data;
|
||||
@@ -247,7 +247,7 @@ int nvgpu_clk_mon_check_status(struct gk20a *g, u32 domain_mask)
|
||||
return 0;
|
||||
}
|
||||
|
||||
bool nvgpu_clk_mon_check_clk_good(struct gk20a *g)
|
||||
bool tu104_clk_mon_check_clk_good(struct gk20a *g)
|
||||
{
|
||||
u32 clk_status = nvgpu_readl(g, trim_xtal4x_cfg5_r());
|
||||
|
||||
@@ -258,7 +258,7 @@ bool nvgpu_clk_mon_check_clk_good(struct gk20a *g)
|
||||
return false;
|
||||
}
|
||||
|
||||
bool nvgpu_clk_mon_check_pll_lock(struct gk20a *g)
|
||||
bool tu104_clk_mon_check_pll_lock(struct gk20a *g)
|
||||
{
|
||||
u32 clk_status = nvgpu_readl(g, trim_xtal4x_cfg_r());
|
||||
|
||||
|
||||
@@ -50,8 +50,9 @@ struct clk_domains_mon_status_params {
|
||||
clk_mon_list[CLK_CLOCK_MON_DOMAIN_COUNT];
|
||||
};
|
||||
|
||||
bool nvgpu_clk_mon_check_master_fault_status(struct gk20a *g);
|
||||
int nvgpu_clk_mon_check_status(struct gk20a *g, u32 domain_mask);
|
||||
bool nvgpu_clk_mon_check_clk_good(struct gk20a *g);
|
||||
bool nvgpu_clk_mon_check_pll_lock(struct gk20a *g);
|
||||
bool tu104_clk_mon_check_master_fault_status(struct gk20a *g);
|
||||
int tu104_clk_mon_check_status(struct gk20a *g, u32 domain_mask);
|
||||
bool tu104_clk_mon_check_clk_good(struct gk20a *g);
|
||||
bool tu104_clk_mon_check_pll_lock(struct gk20a *g);
|
||||
|
||||
#endif /* CLK_MON_TU104_H */
|
||||
|
||||
@@ -1318,10 +1318,10 @@ static const struct gpu_ops tu104_ops = {
|
||||
.clk_mon = {
|
||||
.clk_mon_alloc_memory = nvgpu_clk_mon_alloc_memory,
|
||||
.clk_mon_check_master_fault_status =
|
||||
nvgpu_clk_mon_check_master_fault_status,
|
||||
.clk_mon_check_status = nvgpu_clk_mon_check_status,
|
||||
.clk_mon_check_clk_good = nvgpu_clk_mon_check_clk_good,
|
||||
.clk_mon_check_pll_lock = nvgpu_clk_mon_check_pll_lock,
|
||||
tu104_clk_mon_check_master_fault_status,
|
||||
.clk_mon_check_status = tu104_clk_mon_check_status,
|
||||
.clk_mon_check_clk_good = tu104_clk_mon_check_clk_good,
|
||||
.clk_mon_check_pll_lock = tu104_clk_mon_check_pll_lock,
|
||||
|
||||
},
|
||||
#ifdef CONFIG_NVGPU_CLK_ARB
|
||||
|
||||
Reference in New Issue
Block a user