[PATCH v5 3/6] drm: lock drm_global_mutex earlier in the ioctl handler