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:
40f75ea
)
drm/i915/perf: Drop lockdep assert for i915_oa_init_reg_state()
author
Chris Wilson
<
[email protected]
>
Thu, 10 Aug 2017 17:57:42 +0000
(18:57 +0100)
committer
Chris Wilson
<
[email protected]
>
Thu, 10 Aug 2017 20:42:36 +0000
(21:42 +0100)
This is called from execlist context init which we need to be unlocked.
Commit
f89823c21224
("drm/i915/perf: Implement
I915_PERF_ADD/REMOVE_CONFIG interface") added a lockdep assert to this
path for unclear reasons, remove it again!
Fixes: f89823c21224 ("drm/i915/perf: Implement I915_PERF_ADD/REMOVE_CONFIG interface")
Signed-off-by: Chris Wilson <
[email protected]
>
Cc: Lionel Landwerlin <
[email protected]
>
Cc: Matthew Auld <
[email protected]
>
Link:
https://patchwork.freedesktop.org/patch/msgid/
[email protected]
Reviewed-by: Matthew Auld <
[email protected]
>
drivers/gpu/drm/i915/i915_perf.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/i915_perf.c
b/drivers/gpu/drm/i915/i915_perf.c
index 1be355d14e8a1ea412970acb28d5405617f590a5..3bdf53faae2470e126b147d7804fbac2b51a9702 100644
(file)
--- a/
drivers/gpu/drm/i915/i915_perf.c
+++ b/
drivers/gpu/drm/i915/i915_perf.c
@@
-2173,8
+2173,6
@@
void i915_oa_init_reg_state(struct intel_engine_cs *engine,
struct drm_i915_private *dev_priv = engine->i915;
struct i915_perf_stream *stream = dev_priv->perf.oa.exclusive_stream;
- lockdep_assert_held(&dev_priv->drm.struct_mutex);
-
if (engine->id != RCS)
return;