Deepak Nibade
bf29bd9422
gpu: nvgpu: check engine ctx_status in wait_idle
...
We have following bug where GPU Host reports non-idle
when it should report engine idle
- if a context is preempted off the GPU, and there is
no other context to load, NV_PGRAPH_ENGINE_STATUS
will not be idle until new context is loaded
- this could cause gr_gk20a_wait_idle() to fail since
here we rely only on NV_PGRAPH_ENGINE_STATUS to
decide if engine is busy or not
To fix this, first check if context is valid or not
from NV_PFIFO_ENGINE_STATUS_CTX_STATUS
If context is invalid, return immediately
Otherwise, continue as before
Also, add accessors for invalid ctx_status
Bug 1826768
Change-Id: Id627be3f02e79f4beac59a8b5195d08eabf651f2
Signed-off-by: Deepak Nibade <dnibade@nvidia.com >
Reviewed-on: http://git-master/r/1237521
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com >
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com >
2016-10-19 10:49:04 -07:00
..
2016-07-19 11:21:46 -07:00
2015-11-18 09:45:07 -08:00
2016-10-18 12:24:26 -07:00
2016-09-20 14:56:39 -07:00
2016-10-09 13:03:35 -07:00
2016-04-08 09:42:41 -07:00
2016-09-08 09:43:51 -07:00
2016-07-20 03:09:28 -07:00
2016-10-11 09:16:03 -07:00
2016-10-10 10:13:56 -07:00
2016-09-15 21:58:44 -07:00
2016-04-19 08:16:13 -07:00
2016-04-08 09:42:41 -07:00
2016-09-29 13:17:52 -07:00
2016-09-08 16:04:09 -07:00
2016-09-08 16:04:09 -07:00
2016-10-14 08:12:34 -07:00
2015-03-18 12:11:33 -07:00
2016-07-18 23:19:09 -07:00
2016-05-23 14:48:02 -07:00
2016-09-08 20:05:49 -07:00
2016-07-30 11:29:20 -07:00
2016-09-08 09:43:51 -07:00
2016-09-08 09:43:51 -07:00
2015-07-15 21:54:16 -07:00
2015-07-03 19:00:22 -07:00
2016-08-29 16:14:40 -07:00
2016-03-23 07:48:47 -07:00
2016-09-15 21:58:36 -07:00
2016-09-15 21:58:36 -07:00
2016-10-11 09:16:03 -07:00
2016-10-11 09:16:03 -07:00
2016-10-18 12:24:26 -07:00
2016-10-14 08:12:27 -07:00
2016-09-20 10:43:40 -07:00
2016-10-18 12:24:41 -07:00
2016-10-14 08:12:26 -07:00
2016-10-14 08:12:26 -07:00
2015-09-21 16:41:55 -07:00
2015-03-18 12:11:09 -07:00
2016-09-08 09:43:51 -07:00
2016-06-27 09:14:04 -07:00
2016-10-18 11:08:01 -07:00
2016-10-18 12:24:25 -07:00
2016-10-18 12:24:25 -07:00
2016-10-14 08:11:19 -07:00
2016-10-14 08:11:19 -07:00
2016-07-22 15:10:22 -07:00
2016-10-19 10:49:04 -07:00
2016-10-17 14:46:44 -07:00
2016-07-22 15:10:22 -07:00
2016-09-29 13:17:46 -07:00
2015-03-18 12:12:06 -07:00
2016-06-13 07:39:56 -07:00
2015-03-18 12:08:53 -07:00
2016-05-24 12:39:06 -07:00
2016-04-15 08:50:34 -07:00
2015-04-04 18:02:35 -07:00
2016-04-19 08:08:07 -07:00
2016-04-25 08:16:10 -07:00
2016-10-19 10:49:04 -07:00
2015-11-10 10:33:39 -08:00
2016-07-04 23:12:29 -07:00
2016-09-15 12:24:31 -07:00
2016-05-19 15:58:24 -07:00
2015-04-04 18:08:03 -07:00
2016-04-15 08:50:34 -07:00
2015-06-06 07:23:24 -07:00
2016-05-24 12:39:06 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:08:53 -07:00
2016-07-22 15:10:22 -07:00
2016-04-15 08:50:34 -07:00
2016-04-15 08:50:34 -07:00
2015-03-18 12:08:53 -07:00
2016-01-27 09:53:31 -08:00
2016-03-23 07:48:47 -07:00
2016-06-07 12:31:34 -07:00
2015-03-18 12:11:52 -07:00
2015-03-18 12:10:41 -07:00
2015-03-18 12:08:53 -07:00
2016-09-20 10:43:40 -07:00
2016-08-30 10:04:23 -07:00
2016-07-27 14:32:54 -07:00
2015-03-18 12:12:06 -07:00
2016-06-07 12:31:34 -07:00
2015-03-18 12:12:31 -07:00
2016-10-18 12:24:33 -07:00
2016-10-17 14:39:00 -07:00
2016-10-18 12:24:33 -07:00
2016-04-08 09:42:41 -07:00
2016-10-17 02:09:28 -07:00
2016-10-18 11:08:01 -07:00
2016-09-20 10:43:35 -07:00
2016-09-29 13:17:46 -07:00
2016-09-29 13:17:46 -07:00
2016-10-09 13:03:35 -07:00
2016-10-09 13:03:35 -07:00
2016-07-27 14:32:54 -07:00
2015-03-18 12:08:53 -07:00
2016-07-30 11:29:20 -07:00
2015-03-18 12:11:33 -07:00
2016-07-18 23:17:55 -07:00
2016-07-18 23:17:55 -07:00
2016-08-31 14:04:12 -07:00
2016-08-30 10:04:30 -07:00
2015-06-01 08:16:28 -07:00
2016-09-15 21:58:37 -07:00
2016-09-15 21:58:37 -07:00
2016-10-11 13:44:45 -07:00
2015-10-27 15:42:08 -07:00
2016-07-18 23:17:55 -07:00
2016-07-18 23:17:55 -07:00