Re: [PATCH 3/4] drm: Push drm_global_mutex locking in drm_open

2020-01-28 Thread Chris Wilson
Quoting Daniel Vetter (2020-01-28 10:46:00) > We want to only take the BKL on crap drivers, but to know whether > we have a crap driver we first need to look it up. Split this shuffle > out from the main BKL-disabling patch, for more clarity. > > Since the minors are refcounted drm_minor_acquire i

[PATCH 3/4] drm: Push drm_global_mutex locking in drm_open

2020-01-28 Thread Daniel Vetter
We want to only take the BKL on crap drivers, but to know whether we have a crap driver we first need to look it up. Split this shuffle out from the main BKL-disabling patch, for more clarity. Since the minors are refcounted drm_minor_acquire is purely internal and this does not have a driver visi