Patch "drm/i915/active: Fix missing debug object activation" has been added to the 5.10-stable tree
Subsystems (2)
[email protected]
AppliedThis is a note to let you know that I've just added the patch titled
drm/i915/active: Fix missing debug object activation
to the 5.10-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
drm-i915-active-fix-missing-debug-object-activation.patch
and it can be found in the queue-5.10 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
From e92eb246feb9019b0b137706c934b8891cdfe3c2 Mon Sep 17 00:00:00 2001
From: Nirmoy Das <[email protected]>
Date: Tue, 14 Mar 2023 15:29:14 +0100
Subject: drm/i915/active: Fix missing debug object activation
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From: Nirmoy Das <[email protected]>
commit e92eb246feb9019b0b137706c934b8891cdfe3c2 upstream.
debug_active_activate() expected ref->count to be zero which is not true anymore as __i915_active_activate() calls debug_active_activate() after incrementing the count.
v2: No need to check for "ref->count == 1" as __i915_active_activate() already make sure of that(Janusz).
References: https://gitlab.freedesktop.org/drm/intel/-/issues/6733
--- drivers/gpu/drm/i915/i915_active.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/i915/i915_active.c +1 -2
@@ -96,8 +96,7 @@ static void debug_active_init(struct i91static 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)
Patches currently in stable-queue which might be from [email protected] are
queue-5.10/drm-i915-active-fix-missing-debug-object-activation.patch
Patchwork
CI[Intel-gfx] ✗ Fi.CI.BUILD: failure for Patch "drm/i915/active: Fix missing debug object activation" has been added to the 5.10-stable tree
== Series Details ==
== Series Details ==
Series: Patch "drm/i915/active: Fix missing debug object activation" has been added to the 5.10-stable tree
URL : https://patchwork.freedesktop.org/series/115721/
State : failure
== Summary ==
Error: patch https://patchwork.freedesktop.org/api/1.0/series/115721/revisions/1/mbox/ not applied Patch is empty.
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To record the empty patch as an empty commit, run "git am --allow-empty".
To restore the original branch and stop patching, run "git am --abort".
Build failed, no error log produced