summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv11b/hal_gv11b.c
diff options
context:
space:
mode:
authorAntony Clince Alex <aalex@nvidia.com>2018-05-28 06:35:58 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-06-15 00:41:22 -0400
commitd27d9ff7a89ab1a590a9cc8367af7f3a3ea698a8 (patch)
treeae4220f4ab040c702b39c6e9f1559342e3d569fa /drivers/gpu/nvgpu/gv11b/hal_gv11b.c
parent4d94b32d01e66cb0ba2799775ce2d79c5ff0f2ec (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/hal_gv11b.c')
-rw-r--r--drivers/gpu/nvgpu/gv11b/hal_gv11b.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c
index ab9ff707..84d8a811 100644
--- a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c
+++ b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c
@@ -761,6 +761,8 @@ static const struct gpu_ops gv11b_ops = {
761 .set_handled_snapshots = gv11b_css_hw_set_handled_snapshots, 761 .set_handled_snapshots = gv11b_css_hw_set_handled_snapshots,
762 .allocate_perfmon_ids = css_gr_allocate_perfmon_ids, 762 .allocate_perfmon_ids = css_gr_allocate_perfmon_ids,
763 .release_perfmon_ids = css_gr_release_perfmon_ids, 763 .release_perfmon_ids = css_gr_release_perfmon_ids,
764 .get_overflow_status = gv11b_css_hw_get_overflow_status,
765 .get_pending_snapshots = gv11b_css_hw_get_pending_snapshots,
764 }, 766 },
765#endif 767#endif
766 .falcon = { 768 .falcon = {