mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-25 11:04:51 +03:00
gpu: nvgpu: gv11b: fix error for static code analysis
Functions that are not declared in header files are made static Bug 200299572 Change-Id: Ibf9e9cc9f48ad9ceaa202d1bb7ed57724057cda0 Signed-off-by: Seema Khowala <seemaj@nvidia.com> Reviewed-on: http://git-master/r/1471538 Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
7fdf02f554
commit
92895a57a7
@@ -532,7 +532,7 @@ static void gv11b_reset_pbdma_faulted_tsg(struct tsg_gk20a *tsg)
|
||||
up_read(&tsg->ch_list_lock);
|
||||
}
|
||||
|
||||
u32 gv11b_fifo_get_runlists_mask(struct gk20a *g, u32 act_eng_bitmask,
|
||||
static u32 gv11b_fifo_get_runlists_mask(struct gk20a *g, u32 act_eng_bitmask,
|
||||
u32 id, unsigned int id_type, unsigned int rc_type,
|
||||
struct mmu_fault_info *mmfault)
|
||||
{
|
||||
@@ -639,7 +639,7 @@ static int gv11b_fifo_poll_runlist_preempt_pending(struct gk20a *g,
|
||||
return ret;
|
||||
}
|
||||
|
||||
int gv11b_fifo_is_preempt_pending(struct gk20a *g, u32 id,
|
||||
static int gv11b_fifo_is_preempt_pending(struct gk20a *g, u32 id,
|
||||
unsigned int id_type, unsigned int timeout_rc_type)
|
||||
{
|
||||
struct fifo_gk20a *f = &g->fifo;
|
||||
@@ -856,7 +856,7 @@ static int gv11b_fifo_preempt_ch_tsg(struct gk20a *g, u32 id,
|
||||
|
||||
}
|
||||
|
||||
void gv11b_fifo_teardown_ch_tsg(struct gk20a *g, u32 act_eng_bitmask,
|
||||
static void gv11b_fifo_teardown_ch_tsg(struct gk20a *g, u32 act_eng_bitmask,
|
||||
u32 id, unsigned int id_type, unsigned int rc_type,
|
||||
struct mmu_fault_info *mmfault)
|
||||
{
|
||||
@@ -1075,7 +1075,7 @@ static u32 gv11b_fifo_intr_0_en_mask(struct gk20a *g)
|
||||
return intr_0_en_mask;
|
||||
}
|
||||
|
||||
int gv11b_init_fifo_reset_enable_hw(struct gk20a *g)
|
||||
static int gv11b_init_fifo_reset_enable_hw(struct gk20a *g)
|
||||
{
|
||||
u32 intr_stall;
|
||||
u32 mask;
|
||||
|
||||
@@ -1963,7 +1963,7 @@ static void gr_gv11b_write_pm_ptr(struct gk20a *g,
|
||||
ctxsw_prog_main_image_pm_ptr_hi_o(), va_hi);
|
||||
}
|
||||
|
||||
void gr_gv11b_init_elcg_mode(struct gk20a *g, u32 mode, u32 engine)
|
||||
static void gr_gv11b_init_elcg_mode(struct gk20a *g, u32 mode, u32 engine)
|
||||
{
|
||||
u32 gate_ctrl;
|
||||
|
||||
|
||||
@@ -74,7 +74,7 @@ static void gv11b_ltc_init_fs_state(struct gk20a *g)
|
||||
ltc_intr);
|
||||
}
|
||||
|
||||
u32 gv11b_ltc_cbc_fix_config(struct gk20a *g, int base)
|
||||
static u32 gv11b_ltc_cbc_fix_config(struct gk20a *g, int base)
|
||||
{
|
||||
u32 val = gk20a_readl(g, ltc_ltcs_ltss_cbc_num_active_ltcs_r());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user