[Intel-gfx] [PATCH] drm/i915: properly cancel rps_work on module unload

2011-09-05 Thread Daniel Vetter
The rps disabling code wasn't properly cancelling outstanding work items. Also add a comment that explains why we're not racing with the work item that could unmask interrupts - that piece of code confused me quite a bit. v2: Ben Widawsky pointed out that the first patch would deadlock (and a few

Re: [Intel-gfx] [PATCH] drm/i915: properly cancel rps_work on module unload

2011-09-05 Thread Ben Widawsky
On Mon, 5 Sep 2011 10:15:28 +0200 Daniel Vetter daniel.vet...@ffwll.ch wrote: The rps disabling code wasn't properly cancelling outstanding work items. Also add a comment that explains why we're not racing with the work item that could unmask interrupts - that piece of code confused me quite