[Intel-gfx] [PATCH] drm/i915: Rename some shorthand lock classes

Chris Wilson chris at chris-wilson.co.uk
Thu Feb 8 14:22:55 UTC 2018


Quoting Joonas Lahtinen (2018-02-08 14:16:56)
> Quoting Chris Wilson (2018-01-04 23:48:45)
> > Quoting Chris Wilson (2018-01-04 21:45:28)
> > > +#define lockdep_rename(lock, name)                                     \
> > > +       lockdep_set_class_and_name(lock, (lock)->dep_map.key, name)
> > 
> > Maybe lockdep_set_name() for similarity to the others.
> 
> Yep,
> 
> Reviewed-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
> 
> We should attempt to haggle the macro to core. There are less useful
> macros around there.

Yeah, it's in my lockdep pile, i.e. buried deep.
-Chris


More information about the Intel-gfx mailing list