From d27d9ff7a89ab1a590a9cc8367af7f3a3ea698a8 Mon Sep 17 00:00:00 2001 From: Antony Clince Alex Date: Mon, 28 May 2018 16:05:58 +0530 Subject: 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 Reviewed-on: https://git-master.nvidia.com/r/1732783 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gv11b/hal_gv11b.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drivers/gpu/nvgpu/gv11b/hal_gv11b.c') 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 = { .set_handled_snapshots = gv11b_css_hw_set_handled_snapshots, .allocate_perfmon_ids = css_gr_allocate_perfmon_ids, .release_perfmon_ids = css_gr_release_perfmon_ids, + .get_overflow_status = gv11b_css_hw_get_overflow_status, + .get_pending_snapshots = gv11b_css_hw_get_pending_snapshots, }, #endif .falcon = { -- cgit v1.2.2