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>
This commit is contained in:
Antony Clince Alex
2018-05-28 16:05:58 +05:30
committed by mobile promotions
parent 4d94b32d01
commit d27d9ff7a8
10 changed files with 29 additions and 14 deletions

View File

@@ -742,6 +742,8 @@ static const struct gpu_ops gp106_ops = {
.set_handled_snapshots = css_hw_set_handled_snapshots,
.allocate_perfmon_ids = css_gr_allocate_perfmon_ids,
.release_perfmon_ids = css_gr_release_perfmon_ids,
.get_overflow_status = css_hw_get_overflow_status,
.get_pending_snapshots = css_hw_get_pending_snapshots,
},
#endif
.xve = {