artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e73b733
)
drm/i915/active: Fix missing debug object activation
author
jsg
<jsg@openbsd.org>
Fri, 31 Mar 2023 02:01:00 +0000
(
02:01
+0000)
committer
jsg
<jsg@openbsd.org>
Fri, 31 Mar 2023 02:01:00 +0000
(
02:01
+0000)
From Nirmoy Das
c355945957ef5e9bb05e0554fe4a6f92b0fcaf36
in linux-6.1.y/6.1.22
e92eb246feb9019b0b137706c934b8891cdfe3c2
in mainline linux
sys/dev/pci/drm/i915/i915_active.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/i915/i915_active.c
b/sys/dev/pci/drm/i915/i915_active.c
index
39c8e27
..
de21524
100644
(file)
--- a/
sys/dev/pci/drm/i915/i915_active.c
+++ b/
sys/dev/pci/drm/i915/i915_active.c
@@
-92,8
+92,7
@@
static void debug_active_init(struct i915_active *ref)
static void debug_active_activate(struct i915_active *ref)
{
lockdep_assert_held(&ref->tree_lock);
- if (!atomic_read(&ref->count)) /* before the first inc */
- debug_object_activate(ref, &active_debug_desc);
+ debug_object_activate(ref, &active_debug_desc);
}
static void debug_active_deactivate(struct i915_active *ref)