Deepak Nibade
b3b87cf303
gpu: nvgpu: remove debugger include from regops
...
Regops does not depend on debug session logically
We right now include debugger.h in regops_gk20a.c to extract
channel pointer from debug session and to check if session is for
profiling or not
Update exec_regops_gk20a() to receive channel pointer and profiler
flag directly as parameters, and remove dbg_session_gk20a from
parameter list
Remove ((!dbg_s->is_profiler) && (ch != NULL)) checks from
check_whitelists(). Caller of exec_regops_gk20a() already ensures
that we have context bound for debug session
Use only is_profiler boolean flag in this case which should be
sufficient
Remove (ch == NULL) check in check_whitelists() if regops is of
type gr_ctx. Instead move this check to earlier function call
in validate_reg_ops(). If we have non-zero context operation on
a profiler session, return error from validate_reg_ops()
Update all subsequent calls with appropriate parameter list
Remove debugger.h include from regops_gk20a.c
Jira NVGPU-620
Change-Id: If857c21da1a43a2230c1f7ef2cc2ad6640ff48d9
Signed-off-by: Deepak Nibade <dnibade@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/1997868
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com >
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com >
2019-01-17 11:34:10 -08:00
..
2019-01-15 12:54:19 -08:00
2018-09-25 13:10:19 -07:00
2018-08-29 20:34:34 -07:00
2018-09-25 13:10:19 -07:00
2018-08-29 20:34:34 -07:00
2018-12-28 16:16:05 -08:00
2018-06-15 17:47:31 -07:00
2018-10-29 08:04:43 -07:00
2018-10-12 17:35:07 +05:30
2018-06-15 17:47:31 -07:00
2018-10-31 15:25:23 -07:00
2018-06-15 17:47:31 -07:00
2018-12-11 16:24:27 -08:00
2018-06-15 17:47:31 -07:00
2018-06-15 17:47:31 -07:00
2018-06-15 17:47:31 -07:00
2018-12-19 14:55:15 -08:00
2018-06-27 07:30:06 -07:00
2018-06-15 17:47:31 -07:00
2018-06-15 17:47:31 -07:00
2018-10-12 17:35:11 +05:30
2018-06-15 17:47:31 -07:00
2018-09-20 10:50:25 -07:00
2018-09-05 04:51:40 -07:00
2019-01-10 20:09:55 -08:00
2018-09-05 04:51:36 -07:00
2019-01-10 20:09:55 -08:00
2018-10-19 08:39:43 -07:00
2018-12-11 14:41:04 -08:00
2018-10-19 08:39:43 -07:00
2019-01-09 10:46:29 -08:00
2018-06-15 17:47:31 -07:00
2018-06-15 17:47:31 -07:00
2018-06-15 17:47:31 -07:00
2018-06-15 17:47:31 -07:00
2018-06-15 17:47:31 -07:00
2018-10-31 15:25:23 -07:00
2018-06-15 17:47:31 -07:00
2018-09-25 13:10:19 -07:00
2018-07-24 16:10:58 -07:00
2019-01-10 20:09:38 -08:00
2018-09-05 04:51:50 -07:00
2018-10-31 15:25:23 -07:00
2018-06-15 17:47:31 -07:00
2018-06-15 17:47:31 -07:00
2018-06-15 17:47:31 -07:00
2018-09-05 04:51:43 -07:00
2018-10-19 08:39:43 -07:00
2018-10-31 15:25:23 -07:00
2018-06-15 17:47:31 -07:00
2018-11-08 21:42:38 -08:00
2018-12-30 22:26:01 -08:00
2018-07-05 21:48:56 -07:00
2018-11-05 22:13:16 -08:00
2018-06-15 17:47:31 -07:00
2019-01-15 12:54:19 -08:00
2018-06-15 17:47:31 -07:00
2018-06-15 17:47:31 -07:00
2018-09-25 13:10:19 -07:00
2018-11-14 21:44:35 -08:00
2018-06-15 17:47:31 -07:00
2019-01-10 22:54:46 -08:00
2018-06-15 17:47:31 -07:00
2018-09-25 13:10:19 -07:00
2018-09-25 13:10:19 -07:00
2018-12-30 22:26:01 -08:00
2018-06-15 17:47:31 -07:00
2019-01-09 10:46:29 -08:00
2018-10-12 17:35:11 +05:30
2019-01-10 20:09:34 -08:00
2019-01-10 20:09:38 -08:00
2018-10-29 08:04:25 -07:00
2019-01-17 11:34:10 -08:00
2018-07-05 21:48:44 -07:00
2018-12-30 22:26:01 -08:00
2018-06-15 17:47:31 -07:00
2018-10-29 08:04:25 -07:00
2018-06-15 17:47:31 -07:00
2018-11-07 10:35:13 -08:00
2018-10-31 15:25:23 -07:00
2018-11-06 21:56:26 -08:00
2018-12-13 16:36:13 -08:00
2018-11-08 21:42:14 -08:00
2018-12-14 18:23:52 -08:00
2018-06-15 17:47:31 -07:00
2018-06-15 17:47:31 -07:00
2019-01-15 12:54:19 -08:00
2018-11-25 23:54:10 -08:00
2018-11-29 03:15:17 -08:00
2018-06-15 17:47:31 -07:00
2019-01-15 12:54:19 -08:00
2019-01-04 04:56:33 -08:00
2018-11-24 00:33:47 -08:00
2018-07-26 00:06:07 -07:00
2018-10-16 15:34:13 -07:00
2018-10-16 15:34:13 -07:00
2018-09-25 13:10:19 -07:00
2019-01-10 22:54:46 -08:00
2018-09-05 04:51:40 -07:00
2018-08-29 20:34:34 -07:00
2018-09-09 17:22:24 -07:00
2018-08-29 20:34:34 -07:00
2018-09-09 17:22:24 -07:00
2018-09-09 17:22:24 -07:00
2018-10-12 17:35:06 +05:30
2018-09-05 04:51:36 -07:00
2018-10-12 17:35:09 +05:30
2018-11-08 19:35:09 -08:00
2018-12-13 04:56:14 -08:00
2018-08-29 20:34:34 -07:00
2018-06-19 10:43:10 -07:00
2018-12-30 23:36:00 -08:00
2018-10-12 17:35:10 +05:30
2018-06-15 17:47:31 -07:00
2018-06-15 17:47:31 -07:00
2019-01-15 12:54:19 -08:00
2018-06-15 17:47:31 -07:00
2019-01-15 12:54:19 -08:00
2018-06-15 17:47:31 -07:00
2019-01-08 13:05:01 -08:00
2018-11-16 13:13:44 -08:00
2018-07-19 16:43:58 -07:00
2018-06-15 17:47:31 -07:00
2018-11-16 13:13:44 -08:00
2018-06-15 17:47:31 -07:00
2018-12-11 18:22:54 -08:00
2018-06-15 17:47:31 -07:00
2019-01-09 10:46:29 -08:00
2018-06-15 17:47:31 -07:00
2019-01-15 12:54:19 -08:00
2018-09-25 13:10:19 -07:00
2018-10-24 23:16:20 -07:00
2018-10-31 15:25:23 -07:00
2018-06-15 17:47:31 -07:00
2019-01-15 12:54:19 -08:00
2018-06-15 17:47:31 -07:00
2018-12-10 14:15:14 -08:00
2018-10-31 15:25:23 -07:00
2018-12-28 16:16:05 -08:00