aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_pcode.c
diff options
context:
space:
mode:
authorNirmoy Das <nirmoy.das@intel.com>2023-03-14 15:29:14 +0100
committerNirmoy Das <nirmoy.das@intel.com>2023-03-14 16:00:31 +0100
commitbfad380c542438a9b642f8190b7fd37bc77e2723 (patch)
treebca9381c7a4e15356e6ba4ce7ffcf288d6abe5ff /drivers/gpu/drm/i915/intel_pcode.c
parentc8a76df60d5c4e38ed94fc46a05f7be2631a9839 (diff)
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 <chris@chris-wilson.co.uk> Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Cc: Thomas Hellström <thomas.hellstrom@intel.com> Cc: Andi Shyti <andi.shyti@linux.intel.com> Cc: intel-gfx@lists.freedesktop.org Cc: Janusz Krzysztofik <janusz.krzysztofik@linux.intel.com> Cc: <stable@vger.kernel.org> # v5.10+ Signed-off-by: Nirmoy Das <nirmoy.das@intel.com> Reviewed-by: Janusz Krzysztofik <janusz.krzysztofik@linux.intel.com> Reviewed-by: Andrzej Hajda <andrzej.hajda@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20230313114613.9874-1-nirmoy.das@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_pcode.c')
0 files changed, 0 insertions, 0 deletions