mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
gpu: nvgpu: convert debug function to use nvgpu_info()
A RPFB debug function was still using pr_info() instead of nvgpu_info() so make that conversion. JIRA NVGPU-525 Change-Id: Ib157dfd2f743374215bc16230c7f422601133d2f Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1673814 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@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
b77d7837c1
commit
eb54945f18
@@ -133,28 +133,27 @@ void gp10b_replayable_pagefault_buffer_clear_overflow(struct gk20a *g)
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
* Debug function.
|
||||
*/
|
||||
void gp10b_replayable_pagefault_buffer_info(struct gk20a *g)
|
||||
{
|
||||
|
||||
gk20a_dbg_fn("");
|
||||
pr_info("rpfb low: 0x%x\n",
|
||||
(gk20a_readl(g, fifo_replay_fault_buffer_lo_r()) >> 12));
|
||||
pr_info("rpfb hi: 0x%x\n",
|
||||
gk20a_readl(g, fifo_replay_fault_buffer_hi_r()));
|
||||
pr_info("rpfb enabled: 0x%x\n",
|
||||
(gk20a_readl(g, fifo_replay_fault_buffer_lo_r()) & 0x1));
|
||||
pr_info("rpfb size: %d\n",
|
||||
gk20a_readl(g, fifo_replay_fault_buffer_size_r()));
|
||||
pr_info("rpfb get index: %d\n",
|
||||
gp10b_replayable_pagefault_buffer_get_index(g));
|
||||
pr_info("rpfb put index: %d\n",
|
||||
gp10b_replayable_pagefault_buffer_put_index(g));
|
||||
pr_info("rpfb empty: %d\n",
|
||||
gp10b_replayable_pagefault_buffer_is_empty(g));
|
||||
pr_info("rpfb full %d\n",
|
||||
gp10b_replayable_pagefault_buffer_is_full(g));
|
||||
pr_info("rpfb overflow %d\n",
|
||||
gp10b_replayable_pagefault_buffer_is_overflow(g));
|
||||
|
||||
gk20a_dbg_fn("done");
|
||||
nvgpu_info(g, "rpfb low: 0x%x\n",
|
||||
gk20a_readl(g, fifo_replay_fault_buffer_lo_r()) >> 12);
|
||||
nvgpu_info(g, "rpfb hi: 0x%x\n",
|
||||
gk20a_readl(g, fifo_replay_fault_buffer_hi_r()));
|
||||
nvgpu_info(g, "rpfb enabled: 0x%x\n",
|
||||
gk20a_readl(g, fifo_replay_fault_buffer_lo_r()) & 0x1);
|
||||
nvgpu_info(g, "rpfb size: %d\n",
|
||||
gk20a_readl(g, fifo_replay_fault_buffer_size_r()));
|
||||
nvgpu_info(g, "rpfb get index: %d\n",
|
||||
gp10b_replayable_pagefault_buffer_get_index(g));
|
||||
nvgpu_info(g, "rpfb put index: %d\n",
|
||||
gp10b_replayable_pagefault_buffer_put_index(g));
|
||||
nvgpu_info(g, "rpfb empty: %d\n",
|
||||
gp10b_replayable_pagefault_buffer_is_empty(g));
|
||||
nvgpu_info(g, "rpfb full %d\n",
|
||||
gp10b_replayable_pagefault_buffer_is_full(g));
|
||||
nvgpu_info(g, "rpfb overflow %d\n",
|
||||
gp10b_replayable_pagefault_buffer_is_overflow(g));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user