Re: [PATCH] drm: Hold idr_mutex for _drm_lease_revoke

2017-10-19 Thread Chris Wilson
Quoting Chris Wilson (2017-10-19 11:53:44) > _drm_lease_revoke() requires it callers to hold the idr_mutex, but its > only caller did not. Every device release would then trigger: > > WARNING: CPU: 7 PID: 4169 at drivers/gpu/drm/drm_lease.c:313 > _drm_lease_revoke+0x12c/0x140 > Modules linked i

[PATCH] drm: Hold idr_mutex for _drm_lease_revoke

2017-10-19 Thread Chris Wilson
_drm_lease_revoke() requires it callers to hold the idr_mutex, but its only caller did not. Every device release would then trigger: WARNING: CPU: 7 PID: 4169 at drivers/gpu/drm/drm_lease.c:313 _drm_lease_revoke+0x12c/0x140 Modules linked in: vgem snd_hda_codec_hdmi snd_hda_codec_generic i915