diff options
author | Sourab Gupta <sourabg@nvidia.com> | 2017-12-01 06:34:07 -0500 |
---|---|---|
committer | Gopi Raghavendra Perumalla <gperumalla@nvidia.com> | 2017-12-06 02:14:03 -0500 |
commit | 5791b47d81b9135e7944aedd681424b0e1ab6717 (patch) | |
tree | 2bbe0559346d46af697341d835a50a9a3a488600 /drivers/gpu/nvgpu/gk20a/css_gr_gk20a.c | |
parent | 1b125d8cbe05766c0cfb0ba9cac2bf46ffef7c3a (diff) |
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>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/css_gr_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/css_gr_gk20a.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/css_gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/css_gr_gk20a.c index 889f35db..40529471 100644 --- a/drivers/gpu/nvgpu/gk20a/css_gr_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/css_gr_gk20a.c | |||
@@ -75,7 +75,7 @@ static inline u32 css_hw_get_pending_snapshots(struct gk20a *g) | |||
75 | } | 75 | } |
76 | 76 | ||
77 | /* informs hw how many snapshots have been processed (frees up fifo space) */ | 77 | /* informs hw how many snapshots have been processed (frees up fifo space) */ |
78 | inline void css_hw_set_handled_snapshots(struct gk20a *g, u32 done) | 78 | void css_hw_set_handled_snapshots(struct gk20a *g, u32 done) |
79 | { | 79 | { |
80 | if (done > 0) { | 80 | if (done > 0) { |
81 | gk20a_writel(g, perf_pmasys_mem_bump_r(), | 81 | gk20a_writel(g, perf_pmasys_mem_bump_r(), |