Monk Liu
48f05f2955
amd/scheduler:imple job skip feature(v3)
...
jobs are skipped under two cases
1)when the entity behind this job marked guilty, the job
poped from this entity's queue will be dropped in sched_main loop.
2)in job_recovery(), skip the scheduling job if its karma detected
above limit, and also skipped as well for other jobs sharing the
same fence context. this approach is becuase job_recovery() cannot
access job->entity due to entity may already dead.
v2:
some logic fix
v3:
when entity detected guilty, don't drop the job in the poping
stage, instead set its fence error as -ECANCELED
in run_job(), skip the scheduling either:1) fence->error < 0
or 2) there was a VRAM LOST occurred on this job.
this way we can unify the job skipping logic.
with this feature we can introduce new gpu recover feature.
Signed-off-by: Monk Liu <Monk.Liu@amd.com >
Reviewed-by: Christian König <christian.koenig@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2017-12-04 16:41:30 -05:00
..
2017-11-14 05:53:39 +10:00
2016-10-25 14:38:45 -04:00
2017-08-15 14:46:08 -04:00
2017-03-29 23:53:24 -04:00
2017-11-26 11:31:32 +02:00
2017-10-06 16:48:00 -04:00
2017-12-04 16:33:12 -05:00
2017-08-15 23:00:17 -04:00
2017-12-04 16:33:12 -05:00
2017-07-14 11:06:05 -04:00
2017-11-01 23:31:12 -04:00
2017-07-14 11:06:38 -04:00
2017-03-29 23:53:24 -04:00
2017-08-15 14:45:58 -04:00
2017-11-09 18:10:42 -05:00
2017-08-15 14:46:16 -04:00
2017-12-04 16:33:19 -05:00
2017-11-21 14:17:56 +01:00
2015-06-03 21:03:15 -04:00
2017-12-04 16:33:16 -05:00
2017-12-04 16:33:12 -05:00
2017-12-04 16:33:14 -05:00
2017-09-26 17:17:10 -04:00
2017-12-04 16:41:29 -05:00
2017-09-18 23:30:34 -04:00
2017-12-04 16:33:18 -05:00
2017-12-04 16:33:12 -05:00
2015-08-17 16:50:21 -04:00
2015-06-03 21:03:15 -04:00
2017-09-26 18:07:30 -04:00
2017-12-04 16:33:12 -05:00
2017-10-25 23:09:40 -04:00
2017-08-29 15:27:43 -04:00
2016-08-19 12:30:58 -04:00
2017-11-23 21:04:56 -10:00
2017-10-19 15:27:19 -04:00
2017-06-07 18:20:59 -04:00
2017-11-16 13:35:48 -05:00
2017-01-27 11:12:39 -05:00
2016-09-27 13:00:52 -04:00
2017-07-14 11:06:10 -04:00
2017-09-26 14:53:20 -04:00
2017-09-26 14:53:20 -04:00
2015-06-03 21:03:15 -04:00
2017-12-04 16:33:12 -05:00
2017-03-29 23:53:37 -04:00
2017-12-04 16:41:30 -05:00
2017-12-04 16:33:14 -05:00
2017-09-28 08:37:02 +10:00
2017-09-12 14:29:37 -04:00
2017-11-08 17:30:11 -05:00
2017-12-04 16:33:16 -05:00
2017-10-09 16:30:19 -04:00
2016-09-14 15:10:37 -04:00
2015-06-03 21:03:15 -04:00
2017-12-04 16:33:18 -05:00
2017-08-15 14:46:06 -04:00
2017-11-28 17:44:13 -05:00
2016-10-25 14:38:45 -04:00
2017-11-14 11:35:43 -05:00
2017-11-28 17:44:13 -05:00
2017-09-26 15:14:06 -04:00
2017-11-28 17:44:14 -05:00
2017-11-08 17:55:14 -05:00
2017-12-04 16:33:08 -05:00
2017-08-15 14:45:58 -04:00
2017-10-19 15:26:48 -04:00
2017-10-09 16:30:24 -04:00
2017-10-09 16:30:19 -04:00
2017-10-09 16:30:19 -04:00
2017-08-15 14:45:58 -04:00
2017-11-15 20:42:10 -08:00
2017-11-15 20:42:10 -08:00
2017-12-04 16:33:16 -05:00
2017-12-04 16:33:16 -05:00
2017-09-26 15:14:13 -04:00
2017-06-15 11:50:22 -04:00
2017-12-04 16:33:12 -05:00
2017-03-29 23:53:46 -04:00
2017-12-04 16:33:12 -05:00
2017-06-01 16:00:22 -04:00
2017-12-04 16:33:12 -05:00
2017-05-24 17:41:41 -04:00
2017-10-20 13:28:44 -04:00
2017-09-28 16:03:20 -04:00
2017-12-04 16:33:13 -05:00
2017-12-04 16:33:13 -05:00
2017-12-04 16:33:09 -05:00
2017-11-13 14:36:40 -05:00
2017-11-16 13:35:48 -05:00
2017-12-04 16:33:18 -05:00
2017-08-29 15:27:54 -04:00
2017-08-29 15:27:54 -04:00
2017-06-20 12:06:49 -04:00
2016-05-04 20:23:53 -04:00
2016-08-08 13:28:39 -04:00
2015-06-03 21:03:15 -04:00
2017-01-27 11:12:39 -05:00
2015-06-03 21:03:15 -04:00
2016-09-14 15:10:37 -04:00
2016-07-14 16:39:35 -04:00
2017-12-04 16:33:14 -05:00
2017-03-29 23:52:52 -04:00
2017-05-16 17:17:41 +02:00
2017-09-18 23:30:35 -04:00
2017-09-28 16:03:30 -04:00
2016-10-25 14:38:45 -04:00
2017-12-04 16:33:12 -05:00
2016-10-25 14:38:45 -04:00
2017-11-28 17:44:12 -05:00
2016-10-25 14:38:45 -04:00
2017-03-29 23:53:21 -04:00
2015-06-03 21:03:17 -04:00
2015-06-03 21:03:12 -04:00
2017-07-27 11:17:45 -04:00
2017-01-27 12:20:41 -05:00
2015-06-03 21:03:17 -04:00
2017-09-28 16:03:30 -04:00
2016-10-25 14:38:45 -04:00
2017-08-15 14:46:12 -04:00
2016-10-25 14:38:45 -04:00
2017-08-15 14:46:12 -04:00
2016-10-25 14:38:45 -04:00
2017-08-15 14:46:12 -04:00
2016-10-25 14:38:45 -04:00
2017-08-15 14:46:12 -04:00
2016-10-25 14:38:45 -04:00
2017-10-12 10:03:04 +10:00
2016-10-25 14:38:45 -04:00
2017-12-04 16:33:12 -05:00
2016-10-25 14:38:45 -04:00
2017-12-04 16:33:12 -05:00
2017-05-31 16:48:48 -04:00
2017-12-04 16:33:13 -05:00
2017-05-31 16:48:48 -04:00
2017-12-04 16:33:13 -05:00
2017-08-15 14:46:13 -04:00
2017-09-26 15:14:22 -04:00
2017-08-15 14:46:00 -04:00
2017-09-26 15:14:25 -04:00
2016-10-25 14:38:45 -04:00
2017-09-26 15:14:25 -04:00
2016-10-25 14:38:45 -04:00
2017-09-26 15:14:25 -04:00
2016-10-25 14:38:45 -04:00
2017-11-14 11:35:08 -05:00
2017-03-29 23:54:44 -04:00
2017-09-28 16:03:30 -04:00
2016-10-25 14:38:45 -04:00
2015-09-02 12:21:35 -04:00
2017-09-26 17:01:32 -04:00
2017-09-28 16:03:31 -04:00
2015-06-03 21:03:17 -04:00
2017-05-16 17:17:41 +02:00
2017-11-17 14:34:42 -08:00
2017-09-26 15:14:22 -04:00
2017-08-15 14:46:00 -04:00
2017-04-28 17:32:57 -04:00
2017-12-04 16:33:14 -05:00
2017-09-26 15:14:12 -04:00
2017-12-04 16:33:14 -05:00
2017-09-26 15:14:12 -04:00
2017-09-29 12:24:39 -04:00
2017-09-29 12:24:39 -04:00
2017-09-29 12:24:39 -04:00
2017-09-29 12:24:39 -04:00
2016-10-25 14:38:06 -04:00
2016-07-15 12:33:31 -04:00
2017-03-29 23:54:48 -04:00
2017-10-25 23:09:38 -04:00
2017-09-26 15:14:06 -04:00
2017-10-25 23:09:38 -04:00
2017-09-26 15:14:06 -04:00
2016-08-31 15:21:09 -04:00
2017-12-04 16:33:12 -05:00
2016-10-25 14:38:45 -04:00
2017-12-04 16:33:12 -05:00
2016-10-25 14:38:45 -04:00
2017-12-04 16:33:12 -05:00
2017-03-29 23:54:45 -04:00
2017-12-04 16:33:12 -05:00
2016-10-25 14:38:45 -04:00
2017-09-28 16:03:31 -04:00
2017-09-18 23:30:35 -04:00
2017-02-08 17:25:02 -05:00
2017-09-26 13:07:04 -04:00
2016-10-25 14:38:45 -04:00
2017-05-16 17:17:41 +02:00
2017-08-15 14:46:05 -04:00
2016-10-25 14:38:45 -04:00
2017-01-27 12:20:41 -05:00
2016-09-28 16:13:17 -04:00
2017-07-14 11:06:10 -04:00
2017-11-17 14:34:42 -08:00
2017-05-24 17:41:17 -04:00
2017-08-18 12:02:11 -04:00
2017-09-28 16:03:30 -04:00
2016-10-25 14:38:45 -04:00
2015-09-02 12:21:35 -04:00
2017-12-04 16:33:12 -05:00
2016-10-25 14:38:45 -04:00
2017-12-04 16:33:12 -05:00
2016-10-25 14:38:45 -04:00
2017-12-04 16:33:12 -05:00
2016-10-25 14:38:45 -04:00
2017-12-04 16:33:12 -05:00
2017-03-29 23:54:47 -04:00
2017-04-04 13:40:33 -04:00
2016-10-25 14:38:45 -04:00
2017-11-01 23:37:16 -04:00
2016-10-25 14:38:45 -04:00
2017-09-26 15:14:03 -04:00
2017-03-29 23:54:47 -04:00
2017-11-28 17:44:13 -05:00
2017-05-24 17:41:27 -04:00
2017-09-28 16:03:30 -04:00
2017-03-29 23:54:46 -04:00
2017-03-29 23:54:30 -04:00
2017-01-27 11:12:43 -05:00
2017-10-09 11:21:15 +10:00
2017-03-29 23:53:31 -04:00
2017-10-06 17:43:56 -04:00