projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
716ce58
)
drm/xe: Add pending disable assert to handle_sched_done
author
Matthew Brost
<matthew.brost@intel.com>
Tue, 11 Jun 2024 14:40:51 +0000
(07:40 -0700)
committer
Matthew Brost
<matthew.brost@intel.com>
Thu, 13 Jun 2024 02:10:25 +0000
(19:10 -0700)
Will help catch bugs in GuC state machine.
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Jonathan Cavitt <jonathan.cavitt@intel.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/20240611144053.2805091-10-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_guc_submit.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/xe/xe_guc_submit.c
b/drivers/gpu/drm/xe/xe_guc_submit.c
index
26c27ca
..
25240b5
100644
(file)
--- a/
drivers/gpu/drm/xe/xe_guc_submit.c
+++ b/
drivers/gpu/drm/xe/xe_guc_submit.c
@@
-1611,6
+1611,7
@@
static void handle_sched_done(struct xe_guc *guc, struct xe_exec_queue *q,
wake_up_all(&guc->ct.wq);
} else {
xe_gt_assert(guc_to_gt(guc), runnable_state == 0);
+ xe_gt_assert(guc_to_gt(guc), exec_queue_pending_disable(q));
clear_exec_queue_pending_disable(q);
if (q->guc->suspend_pending) {