95c081c17f
There can only be one current master, and it's for the overall device.
Render/control minors don't support master-based auth at all.
This simplifies the master logic a lot, at least in my eyes: All these
additional pointer chases are just confusing.
While doing the conversion I spotted some locking fail:
- drm_lock/drm_auth check dev->master without holding the
master_mutex. This is fallout from
commit
|
||
---|---|---|
.. | ||
Makefile | ||
via_3d_reg.h | ||
via_dma.c | ||
via_dmablit.c | ||
via_dmablit.h | ||
via_drv.c | ||
via_drv.h | ||
via_irq.c | ||
via_map.c | ||
via_mm.c | ||
via_verifier.c | ||
via_verifier.h | ||
via_video.c |