[PATCH v6 3/7] drm: lock drm_global_mutex earlier in the ioctl handler