diff options
author | Antony Clince Alex <aalex@nvidia.com> | 2018-05-28 06:35:58 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-06-15 00:41:22 -0400 |
commit | d27d9ff7a89ab1a590a9cc8367af7f3a3ea698a8 (patch) | |
tree | ae4220f4ab040c702b39c6e9f1559342e3d569fa /drivers/gpu/nvgpu/gv11b/css_gr_gv11b.h | |
parent | 4d94b32d01e66cb0ba2799775ce2d79c5ff0f2ec (diff) |
gpu: nvgpu: removed linux includes from CSS HAL
- removed inclusion of linux includes.
- replaced with nvgpu/*.h's
- reformated the function signature of
"css_hw_get_pending_snapshot" and
"css_hw_get_overflow_status" be global instead of
static.
- added get_pending_snapshot and get_overflow_status
to ops->css.
JIRA: VQRM-3699
Change-Id: I177904c263e143b414924c2c28ad6fd3cfd00132
Signed-off-by: Antony Clince Alex <aalex@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1732783
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/css_gr_gv11b.h')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/css_gr_gv11b.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/css_gr_gv11b.h b/drivers/gpu/nvgpu/gv11b/css_gr_gv11b.h index 186f5fcc..26db4ee8 100644 --- a/drivers/gpu/nvgpu/gv11b/css_gr_gv11b.h +++ b/drivers/gpu/nvgpu/gv11b/css_gr_gv11b.h | |||
@@ -31,5 +31,8 @@ void gv11b_css_hw_disable_snapshot(struct gr_gk20a *gr); | |||
31 | int gv11b_css_hw_check_data_available(struct channel_gk20a *ch, u32 *pending, | 31 | int gv11b_css_hw_check_data_available(struct channel_gk20a *ch, u32 *pending, |
32 | bool *hw_overflow); | 32 | bool *hw_overflow); |
33 | void gv11b_css_hw_set_handled_snapshots(struct gk20a *g, u32 done); | 33 | void gv11b_css_hw_set_handled_snapshots(struct gk20a *g, u32 done); |
34 | bool gv11b_css_hw_get_overflow_status(struct gk20a *g); | ||
35 | u32 gv11b_css_hw_get_pending_snapshots(struct gk20a *g); | ||
36 | |||
34 | 37 | ||
35 | #endif /* CSS_GR_GV11B_H */ | 38 | #endif /* CSS_GR_GV11B_H */ |