diff options
| author | Nirmoy Das <[email protected]> | 2023-03-14 14:29:14 +0000 |
|---|---|---|
| committer | Nirmoy Das <[email protected]> | 2023-03-14 15:00:31 +0000 |
| commit | bfad380c542438a9b642f8190b7fd37bc77e2723 (patch) | |
| tree | bca9381c7a4e15356e6ba4ce7ffcf288d6abe5ff /drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c | |
| parent | drm/i915: Include timeline seqno in error capture (diff) | |
| download | kernel-bfad380c542438a9b642f8190b7fd37bc77e2723.tar.gz kernel-bfad380c542438a9b642f8190b7fd37bc77e2723.zip | |
drm/i915/active: Fix missing debug object activation
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
Fixes: 04240e30ed06 ("drm/i915: Skip taking acquire mutex for no ref->active callback")
Cc: Chris Wilson <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Cc: Thomas Hellström <[email protected]>
Cc: Andi Shyti <[email protected]>
Cc: [email protected]
Cc: Janusz Krzysztofik <[email protected]>
Cc: <[email protected]> # v5.10+
Signed-off-by: Nirmoy Das <[email protected]>
Reviewed-by: Janusz Krzysztofik <[email protected]>
Reviewed-by: Andrzej Hajda <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c')
0 files changed, 0 insertions, 0 deletions
