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

Joonas Lahtinen joonas.lahtinen at linux.intel.com
Thu Feb 8 14:16:56 UTC 2018


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.

Regards, Joonas

> -Chris
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx


More information about the Intel-gfx mailing list