Re: [PATCH 2/4] drm: Add drm_object lease infrastructure

From: Daniel Vetter
Date: Sun Apr 02 2017 - 13:51:41 EST


On Sat, Apr 01, 2017 at 10:08:39AM -0700, Keith Packard wrote:
> + BUG_ON(__mutex_owner(&master->dev->mode_config.idr_mutex) != current);

Forgot to reply on this:

lockdep_assert_held + enable lockdep.

Cheers, Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch