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