Re: [Intel-gfx] [PATCH 2/2] drm/i915/fbc: Use lockdep_assert_held()

2022-09-20 Thread Kahola, Mika
> -Original Message- > From: Intel-gfx On Behalf Of Ville > Syrjala > Sent: Monday, June 20, 2022 9:29 PM > To: intel-gfx@lists.freedesktop.org > Subject: [Intel-gfx] [PATCH 2/2] drm/i915/fbc: Use lockdep_assert_held() > > From: Ville Syrjälä > > Repla

[Intel-gfx] [PATCH 2/2] drm/i915/fbc: Use lockdep_assert_held()

2022-06-20 Thread Ville Syrjala
From: Ville Syrjälä Replace the mutex_is_locked() stuff with lockdep_assert_held() since that's what it's there for. Asoo sprinkle these around so that we have more or less mirrored coverate for the enable vs. disable instead of the current situation where the asserts seem to be more or less ran