Matthew Brost
fe05cee4d9
drm/xe: Don't short circuit TDR on jobs not started
...
Short circuiting TDR on jobs not started is an optimization which is not
required. On LNL we are facing an issue where jobs do not get scheduled
by the GuC if it misses a GGTT page update. When this occurs let the TDR
fire, toggle the scheduling which may get the job unstuck, and print a
warning message. If the TDR fires twice on job that hasn't started,
timeout the job.
v2:
- Add warning message (Paulo)
- Add fixes tag (Paulo)
- Timeout job which hasn't started after TDR firing twice
v3:
- Include local change
v4:
- Short circuit check_timeout on job not started
- use warn level rather than notice (Paulo)
Fixes: 7ddb9403dd74 ("drm/xe: Sample ctx timestamp to determine if jobs have timed out")
Cc: stable@vger.kernel.org
Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241025214330.2010521-2-matthew.brost@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
(cherry picked from commit 35d25a4a0012e690ef0cc4c5440231176db595cc)
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
2024-10-31 07:03:14 -07:00
..
2024-08-08 13:47:27 -07:00
2024-09-12 10:06:55 -04:00
2024-10-29 07:12:56 -07:00
2024-06-18 12:40:38 -07:00
2024-10-16 09:00:22 -05:00
2024-08-28 15:17:54 -04:00
2023-12-21 16:31:30 -05:00
2024-06-12 11:31:42 -04:00
2024-05-23 13:38:26 -04:00
2024-08-29 10:32:20 -07:00
2024-05-09 21:28:25 +02:00
2024-09-03 11:42:42 +02:00
2024-09-17 23:31:59 -05:00
2024-04-02 10:33:57 -07:00
2024-08-22 14:00:45 -04:00
2024-10-03 01:24:22 -05:00
2024-09-17 23:31:06 -05:00
2024-10-08 18:06:24 -05:00
2024-08-09 21:15:14 -07:00
2024-08-01 11:00:14 -07:00
2024-08-01 11:00:14 -07:00
2024-04-11 09:39:48 -04:00
2024-05-22 13:22:38 +01:00
2024-04-18 13:30:24 -07:00
2024-10-03 01:21:55 -05:00
2024-10-24 12:42:52 -05:00
2024-09-02 15:01:59 +03:00
2024-04-02 10:33:57 -07:00
2024-10-03 01:21:55 -05:00
2024-08-27 14:09:45 +02:00
2024-10-03 01:22:50 -05:00
2024-08-17 18:31:54 -07:00
2024-10-16 09:00:22 -05:00
2024-08-28 14:50:13 -04:00
2024-08-28 14:50:13 -04:00
2024-10-24 12:42:52 -05:00
2024-06-10 14:18:27 -04:00
2024-07-29 11:19:40 -07:00
2024-08-22 14:00:45 -04:00
2024-10-31 07:02:42 -07:00
2024-08-22 14:00:45 -04:00
2024-10-03 01:19:44 -05:00
2024-10-16 09:00:22 -05:00
2024-08-29 10:32:20 -07:00
2024-08-29 10:32:20 -07:00
2024-08-16 09:15:04 -07:00
2024-03-06 09:50:48 +02:00
2024-05-07 23:21:15 +02:00
2024-03-06 09:50:49 +02:00
2024-03-14 14:47:13 -07:00
2024-09-03 10:36:38 -04:00
2024-08-29 10:32:20 -07:00
2024-06-14 23:26:26 +02:00
2024-04-24 10:19:52 -05:00
2024-06-12 19:10:22 -07:00
2024-06-12 19:10:22 -07:00
2024-08-16 11:07:11 -07:00
2024-03-29 14:00:06 +01:00
2024-10-03 01:13:54 -05:00
2024-04-18 13:26:34 -07:00
2024-06-20 19:49:40 +02:00
2024-05-28 12:29:43 -04:00
2024-10-03 01:13:55 -05:00
2024-05-31 00:02:04 +02:00
2024-10-03 01:13:55 -05:00
2024-05-03 13:15:54 -07:00
2024-08-22 14:00:45 -04:00
2024-09-12 12:29:30 -05:00
2024-08-30 10:51:06 +02:00
2024-08-30 10:51:09 +02:00
2024-08-30 10:51:09 +02:00
2024-08-30 10:51:09 +02:00
2024-05-16 18:04:54 +02:00
2024-04-24 15:18:38 +02:00
2024-04-12 16:23:28 +02:00
2024-05-16 18:04:51 +02:00
2024-05-16 18:04:51 +02:00
2024-05-16 18:04:51 +02:00
2024-04-12 16:23:37 +02:00
2024-04-22 09:03:09 -04:00
2024-04-12 16:23:37 +02:00
2024-04-24 15:10:42 +02:00
2024-04-24 15:10:46 +02:00
2024-04-24 15:10:42 +02:00
2024-08-30 10:51:09 +02:00
2024-08-30 10:51:09 +02:00
2024-07-01 19:43:52 +02:00
2024-01-05 16:25:53 +01:00
2024-05-16 20:18:39 +02:00
2024-05-16 20:18:39 +02:00
2024-05-24 10:08:41 +02:00
2024-08-22 14:00:45 -04:00
2024-07-15 15:18:34 +02:00
2024-08-12 19:08:53 +02:00
2024-08-12 19:08:53 +02:00
2024-10-03 01:13:54 -05:00
2024-04-18 13:26:34 -07:00
2024-05-23 10:55:28 -07:00
2024-05-23 10:55:28 -07:00
2024-08-15 09:44:22 -04:00
2024-10-16 09:00:22 -05:00
2024-10-16 09:00:22 -05:00
2024-07-22 09:43:52 -07:00
2024-04-24 09:06:38 -07:00
2024-09-03 10:36:46 -04:00
2024-10-16 09:00:22 -05:00
2024-09-01 20:43:33 -07:00
2024-04-09 12:54:02 +02:00
2024-08-08 13:47:27 -07:00
2024-05-13 21:36:50 +02:00
2024-06-07 12:24:30 +02:00
2024-10-24 12:42:52 -05:00
2024-07-01 17:38:48 +02:00
2024-04-24 18:18:02 +02:00
2023-12-21 16:31:29 -05:00
2024-02-26 09:06:45 -05:00
2024-04-09 12:54:02 +02:00
2024-08-16 11:07:13 -07:00
2024-08-16 11:07:13 -07:00
2024-01-05 16:25:53 +01:00
2024-07-02 18:33:19 +02:00
2024-03-27 20:19:25 +01:00
2024-05-16 18:04:41 +02:00
2024-05-16 18:04:38 +02:00
2024-05-16 18:04:39 +02:00
2024-05-16 18:04:39 +02:00
2024-04-02 10:33:57 -07:00
2024-06-26 18:23:45 -04:00
2024-09-03 10:36:46 -04:00
2024-06-26 18:23:45 -04:00
2024-01-05 16:25:53 +01:00
2024-06-05 09:52:13 +02:00
2024-01-05 16:25:53 +01:00
2024-03-04 12:23:12 +01:00
2024-10-31 07:03:14 -07:00
2024-07-18 10:25:33 -04:00
2024-10-11 09:03:30 +10:00
2024-08-23 09:54:11 -07:00
2024-09-17 23:22:24 -05:00
2024-07-17 09:47:15 -07:00
2024-07-17 09:47:15 -07:00
2024-04-12 14:49:03 +02:00
2024-04-12 14:49:03 +02:00
2024-02-26 09:06:45 -05:00
2023-12-21 11:45:24 -05:00
2024-08-16 09:15:04 -07:00
2024-05-22 12:03:55 +02:00
2024-05-22 13:22:38 +01:00
2024-02-26 09:06:45 -05:00
2024-08-17 18:31:47 -07:00
2024-08-17 18:31:57 -07:00
2024-08-17 18:31:57 -07:00
2024-08-28 14:50:13 -04:00
2024-08-28 15:17:54 -04:00
2024-08-06 22:21:14 -07:00
2024-08-21 11:53:12 -04:00
2024-08-21 11:53:12 -04:00
2024-05-27 21:26:02 +02:00
2024-09-03 10:36:46 -04:00
2024-07-17 09:47:15 -07:00
2024-06-26 18:25:22 -04:00
2023-12-21 11:45:27 -05:00
2023-12-21 11:45:27 -05:00
2023-12-21 11:45:27 -05:00
2024-07-22 12:53:04 +02:00
2023-12-21 11:45:27 -05:00
2024-05-29 23:44:41 -07:00
2024-08-26 10:27:33 +02:00
2024-06-18 12:40:38 -07:00
2023-12-21 16:31:29 -05:00
2024-04-02 10:33:57 -07:00
2023-12-21 16:31:29 -05:00
2024-08-28 15:17:54 -04:00
2024-08-22 14:00:44 -04:00
2024-08-27 14:09:45 +02:00
2024-07-25 16:53:33 -07:00
2024-06-28 14:00:09 -07:00
2024-05-07 12:03:49 +02:00
2024-08-28 16:29:15 +02:00
2024-08-13 13:52:20 -07:00
2024-08-28 15:17:54 -04:00
2024-10-03 01:23:18 -05:00
2024-06-18 12:40:32 -07:00
2024-08-28 15:17:54 -04:00
2024-07-11 09:54:24 -04:00
2024-08-28 15:17:54 -04:00
2024-07-01 19:43:50 +02:00
2024-07-01 18:01:31 +02:00
2024-05-08 14:48:30 -07:00
2024-10-03 01:13:54 -05:00
2024-01-09 17:47:24 -05:00
2024-09-03 10:36:46 -04:00
2024-09-03 10:36:46 -04:00
2024-04-09 14:17:39 -07:00
2024-10-29 07:12:55 -07:00
2024-09-04 09:28:09 +02:00
2024-08-19 10:39:28 -04:00
2024-08-27 14:09:45 +02:00
2024-07-03 22:28:04 -07:00
2024-02-15 09:53:18 +01:00
2024-02-15 09:53:18 +01:00
2024-10-03 01:24:54 -05:00
2024-07-03 22:28:04 -07:00
2024-10-16 09:00:22 -05:00
2024-02-15 09:53:38 +01:00
2024-02-09 11:52:28 +02:00
2024-05-13 21:36:52 +02:00
2024-06-18 12:40:42 -07:00
2024-08-22 14:00:44 -04:00
2024-06-13 11:36:23 +02:00
2024-07-29 11:19:40 -07:00
2024-06-18 12:03:29 -07:00
2024-08-28 15:17:54 -04:00
2024-07-29 11:19:40 -07:00
2024-08-23 09:54:32 -07:00
2024-08-23 09:54:32 -07:00
2024-05-27 21:26:03 +02:00
2024-08-28 15:17:54 -04:00
2024-06-14 16:51:43 -04:00
2024-04-12 16:23:28 +02:00
2024-04-12 16:23:26 +02:00
2024-04-12 16:23:26 +02:00
2023-12-21 11:45:27 -05:00
2024-04-12 16:23:26 +02:00
2024-07-04 11:54:35 +02:00
2024-06-18 10:51:59 +02:00
2024-08-22 15:48:21 +03:00
2024-08-22 15:48:21 +03:00
2024-02-29 10:39:02 +01:00
2024-10-24 12:42:52 -05:00
2024-07-18 10:17:30 -07:00
2024-05-22 13:22:38 +01:00
2024-04-18 13:30:17 -07:00
2024-09-03 10:36:46 -04:00
2024-06-12 09:25:07 -07:00
2024-07-03 22:28:06 -07:00
2024-06-12 09:25:10 -07:00
2024-06-12 09:25:12 -07:00
2024-08-27 14:09:45 +02:00
2024-08-22 14:00:44 -04:00
2024-08-28 06:45:52 -07:00
2024-08-07 18:19:00 -04:00
2024-04-16 12:37:31 +02:00
2024-10-03 01:13:55 -05:00
2024-08-29 10:32:20 -07:00
2024-04-08 14:58:52 +02:00
2024-08-29 10:32:19 -07:00
2024-09-03 10:36:38 -04:00
2024-07-18 10:25:33 -04:00
2024-07-18 10:25:33 -04:00
2024-05-07 12:45:39 -04:00
2024-07-03 22:28:07 -07:00
2024-10-16 09:00:22 -05:00
2024-07-03 22:28:04 -07:00
2024-09-03 10:36:46 -04:00
2024-04-18 13:30:17 -07:00
2024-09-17 23:22:28 -05:00
2024-05-30 23:50:28 +02:00
2024-08-19 13:30:41 -04:00
2024-10-16 09:00:22 -05:00
2024-07-24 09:05:37 -07:00
2024-10-16 09:00:22 -05:00
2024-01-23 16:54:41 +01:00