mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-25 11:04:51 +03:00
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:
committed by
Gopi Raghavendra Perumalla
parent
1b125d8cbe
commit
5791b47d81
@@ -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(),
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user