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:
2927e42
)
drm/i915: Remove redundant check on execlists interrupt
author
Chris Wilson
<
[email protected]
>
Thu, 8 Feb 2018 15:12:24 +0000
(15:12 +0000)
committer
Chris Wilson
<
[email protected]
>
Thu, 8 Feb 2018 18:30:01 +0000
(18:30 +0000)
Since commit
4a118ecbe99c
("drm/i915: Filter out spurious execlists
context-switch interrupts") we probe execlists->active, and no longer
have to peek at the execlist interrupt to determine if the tasklet still
needs to be run to drain the ELSP.
References:
4a118ecbe99c
("drm/i915: Filter out spurious execlists context-switch interrupts")
Signed-off-by: Chris Wilson <
[email protected]
>
Cc: Michal Winiarski <
[email protected]
>
Cc: Tvrtko Ursulin <
[email protected]
>
Cc: Mika Kuoppala <
[email protected]
>
Reviewed-by: Mika Kuoppala <
[email protected]
>
Link:
https://patchwork.freedesktop.org/patch/msgid/
[email protected]
drivers/gpu/drm/i915/intel_engine_cs.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_engine_cs.c
b/drivers/gpu/drm/i915/intel_engine_cs.c
index bf634432c9c6c65defc945af264c8be99fda632b..0ad9184eba978d32377596aae437b51f43ecabb5 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_engine_cs.c
+++ b/
drivers/gpu/drm/i915/intel_engine_cs.c
@@
-1503,10
+1503,6
@@
bool intel_engine_is_idle(struct intel_engine_cs *engine)
if (I915_SELFTEST_ONLY(engine->breadcrumbs.mock))
return true;
- /* Interrupt/tasklet pending? */
- if (test_bit(ENGINE_IRQ_EXECLIST, &engine->irq_posted))
- return false;
-
/* Waiting to drain ELSP? */
if (READ_ONCE(engine->execlists.active))
return false;