gpu: nvgpu: init: rename init functions

Rename init functions that still carry the gk20a moniker to use the more
appropriate nvgpu name instead.

JIRA NVGPU-2385

Change-Id: I5d40cd72943272c8b5f16b97d9a786d9c41496d4
Signed-off-by: Philip Elcan <pelcan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2156220
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Philip Elcan
2019-07-17 15:51:33 -04:00
committed by mobile promotions
parent 9705c86b98
commit 91187b6db2
21 changed files with 67 additions and 67 deletions

View File

@@ -23,7 +23,7 @@ void nvgpu_writel(struct gk20a *g, u32 r, u32 v)
struct nvgpu_os_linux *l = nvgpu_os_linux_from_gk20a(g);
if (unlikely(!l->regs)) {
gk20a_warn_on_no_regs();
nvgpu_warn_on_no_regs();
nvgpu_log(g, gpu_dbg_reg, "r=0x%x v=0x%x (failed)", r, v);
} else {
writel_relaxed(v, l->regs + r);
@@ -37,7 +37,7 @@ void nvgpu_writel_relaxed(struct gk20a *g, u32 r, u32 v)
struct nvgpu_os_linux *l = nvgpu_os_linux_from_gk20a(g);
if (unlikely(!l->regs)) {
gk20a_warn_on_no_regs();
nvgpu_warn_on_no_regs();
nvgpu_log(g, gpu_dbg_reg, "r=0x%x v=0x%x (failed)", r, v);
} else {
writel_relaxed(v, l->regs + r);
@@ -60,7 +60,7 @@ u32 nvgpu_readl_impl(struct gk20a *g, u32 r)
u32 v = 0xffffffff;
if (unlikely(!l->regs)) {
gk20a_warn_on_no_regs();
nvgpu_warn_on_no_regs();
nvgpu_log(g, gpu_dbg_reg, "r=0x%x v=0x%x (failed)", r, v);
} else {
v = readl(l->regs + r);
@@ -75,7 +75,7 @@ void nvgpu_writel_loop(struct gk20a *g, u32 r, u32 v)
struct nvgpu_os_linux *l = nvgpu_os_linux_from_gk20a(g);
if (unlikely(!l->regs)) {
gk20a_warn_on_no_regs();
nvgpu_warn_on_no_regs();
nvgpu_log(g, gpu_dbg_reg, "r=0x%x v=0x%x (failed)", r, v);
} else {
nvgpu_wmb();
@@ -91,7 +91,7 @@ void nvgpu_bar1_writel(struct gk20a *g, u32 b, u32 v)
struct nvgpu_os_linux *l = nvgpu_os_linux_from_gk20a(g);
if (unlikely(!l->bar1)) {
gk20a_warn_on_no_regs();
nvgpu_warn_on_no_regs();
nvgpu_log(g, gpu_dbg_reg, "b=0x%x v=0x%x (failed)", b, v);
} else {
nvgpu_wmb();
@@ -106,7 +106,7 @@ u32 nvgpu_bar1_readl(struct gk20a *g, u32 b)
u32 v = 0xffffffff;
if (unlikely(!l->bar1)) {
gk20a_warn_on_no_regs();
nvgpu_warn_on_no_regs();
nvgpu_log(g, gpu_dbg_reg, "b=0x%x v=0x%x (failed)", b, v);
} else {
v = readl(l->bar1 + b);