Re: [PATCH 1/2] drm/i915: Fix assert in i915_ggtt_pin

2022-02-28 Thread Tvrtko Ursulin
On 25/02/2022 17:58, Ville Syrjälä wrote: On Fri, Feb 25, 2022 at 05:41:17PM +, Tvrtko Ursulin wrote: From: Tvrtko Ursulin Use lockdep_assert_not_held to simplify and correct the code. Otherwise false positive are hit if lock state is uknown like after a previous taint. Signed-off-by: T

Re: [PATCH 1/2] drm/i915: Fix assert in i915_ggtt_pin

2022-02-25 Thread Ville Syrjälä
On Fri, Feb 25, 2022 at 05:41:17PM +, Tvrtko Ursulin wrote: > From: Tvrtko Ursulin > > Use lockdep_assert_not_held to simplify and correct the code. Otherwise > false positive are hit if lock state is uknown like after a previous > taint. > > Signed-off-by: Tvrtko Ursulin > Reported-by: Vil

[PATCH 1/2] drm/i915: Fix assert in i915_ggtt_pin

2022-02-25 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Use lockdep_assert_not_held to simplify and correct the code. Otherwise false positive are hit if lock state is uknown like after a previous taint. Signed-off-by: Tvrtko Ursulin Reported-by: Ville Syrjälä --- drivers/gpu/drm/i915/i915_vma.c | 4 +--- 1 file changed, 1 ins