mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 21:33:00 +00:00
0d639883ee
We used to protect minor-lookup and setup by the global drm lock. To continue our attempts of dropping drm_global_mutex, this patch makes the minor management independent of it. Furthermore, we make it all atomic and switch to spin-locks instead of a mutex. Now that minor-lookup is independent, we also move the "drm_is_unplugged()" test into the minor-lookup path. There is no reason to ever return a minor for unplugged objects, so keep that logic internal. Signed-off-by: David Herrmann <dh.herrmann@gmail.com> |
||
---|---|---|
.. | ||
drm | ||
host1x | ||
vga | ||
Makefile |