gpu: nvgpu: remove inline keyword from css_hw_set_handled_snapshots

The patch removes the inline qualifier from the
'css_hw_set_handled_snapshots' function, otherwise
it leads to QNX compilation failure.

Change-Id: I5c3462b61fbfb2b549e711dd2b45032b3a87089c
Signed-off-by: Sourab Gupta <sourabg@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1610984
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
This commit is contained in:
Sourab Gupta
2017-12-01 17:04:07 +05:30
committed by Gopi Raghavendra Perumalla
parent 1b125d8cbe
commit 5791b47d81
2 changed files with 2 additions and 2 deletions

View File

@@ -75,7 +75,7 @@ static inline u32 css_hw_get_pending_snapshots(struct gk20a *g)
}
/* informs hw how many snapshots have been processed (frees up fifo space) */
inline void css_hw_set_handled_snapshots(struct gk20a *g, u32 done)
void css_hw_set_handled_snapshots(struct gk20a *g, u32 done)
{
if (done > 0) {
gk20a_writel(g, perf_pmasys_mem_bump_r(),

View File

@@ -129,7 +129,7 @@ struct gk20a_cs_snapshot {
struct gk20a_cs_snapshot_fifo_entry *hw_get;
};
inline void css_hw_set_handled_snapshots(struct gk20a *g, u32 done);
void css_hw_set_handled_snapshots(struct gk20a *g, u32 done);
int css_hw_enable_snapshot(struct channel_gk20a *ch,
struct gk20a_cs_snapshot_client *cs_client);
void css_hw_disable_snapshot(struct gr_gk20a *gr);