projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f25d0b
)
drm/i915: Assert we do not try to wait on an invalid seqno
author
Chris Wilson
<
[email protected]
>
Tue, 2 Jan 2018 19:25:00 +0000
(19:25 +0000)
committer
Chris Wilson
<
[email protected]
>
Wed, 3 Jan 2018 17:48:00 +0000
(17:48 +0000)
We should never insert the invalid seqno into the wait tree, so assert
we do not.
Signed-off-by: Chris Wilson <
[email protected]
>
Reviewed-by: MichaĆ Winiarski <
[email protected]
>
Link:
https://patchwork.freedesktop.org/patch/msgid/
[email protected]
drivers/gpu/drm/i915/intel_breadcrumbs.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_breadcrumbs.c
b/drivers/gpu/drm/i915/intel_breadcrumbs.c
index 58c624f982d91c1383b8d51adbf7efea76eeef54..86acac010bb8c747d7aeee49aac489dccf348d5b 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_breadcrumbs.c
+++ b/
drivers/gpu/drm/i915/intel_breadcrumbs.c
@@
-396,6
+396,8
@@
static bool __intel_engine_add_wait(struct intel_engine_cs *engine,
bool first, armed;
u32 seqno;
+ GEM_BUG_ON(!wait->seqno);
+
/* Insert the request into the retirement ordered list
* of waiters by walking the rbtree. If we are the oldest
* seqno in the tree (the first to be retired), then