[Intel-gfx] [PATCH 2/2] drm/i915: Lift marking a lock as used to utils

Thomas Hellström thomas.hellstrom at linux.intel.com
Wed Feb 3 10:14:05 UTC 2021


On Tue, 2021-02-02 at 15:43 +0000, Chris Wilson wrote:
> After calling lock_set_subclass() the lock _must_ be used, or else
> lockdep's internal nr_used_locks becomes unbalanced. Extract the
> little
> utility function to i915_utils.c
> 
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Thomas Hellström <thomas.hellstrom at linux.intel.com>
> ---
Reviewed-by: Thomas Hellström <thomas.hellstrom at linux.intel.com>




More information about the Intel-gfx mailing list