On Thu, Apr 26, 2012 at 04:03:02PM -0700, Ben Widawsky wrote: > The only time irq_get should fail is during unload or suspend. Both of > these points should try to quiesce the GPU before disabling interrupts > and so the atomic polling should never occur. > > This was recommended by Chris Wilson as a way of reducing added > complexity to the polled wait which I introduced in an RFC patch. > > 09:57 < ickle_> it's only there as a fudge for waiting after irqs > after uninstalled during s&r, we aren't actually meant to hit it > 09:57 < ickle_> so maybe we should just kill the code there and fix the > breakage > > v2: return -ENODEV instead of -EBUSY when irq_get fails > > Signed-off-by: Ben Widawsky <b...@bwidawsk.net> Queued for -next, thanks for the patch. -Daniel -- Daniel Vetter Mail: dan...@ffwll.ch Mobile: +41 (0)79 365 57 48 _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx
- [Intel-gfx] [PATCH 00/12 v2] wait for BO with timeout Ben Widawsky
- [Intel-gfx] [PATCH 01/12 v2] drm/i915: remove do_retire... Ben Widawsky
- Re: [Intel-gfx] [PATCH 01/12 v2] drm/i915: remove d... Daniel Vetter
- [Intel-gfx] [PATCH 02/12] drm/i915: remove some extra r... Ben Widawsky
- Re: [Intel-gfx] [PATCH 02/12] drm/i915: remove some... Daniel Vetter
- [Intel-gfx] [PATCH 03/12 v2] drm/i915: move vbetool inv... Ben Widawsky
- Re: [Intel-gfx] [PATCH 03/12 v2] drm/i915: move vbe... Daniel Vetter
- [Intel-gfx] [PATCH 04/12 v2] drm/i915: kill waiting_seq... Ben Widawsky
- Re: [Intel-gfx] [PATCH 04/12 v2] drm/i915: kill wai... Daniel Vetter
- [Intel-gfx] [PATCH 05/12 v2] drm/i915: drop polled wait... Ben Widawsky
- Re: [Intel-gfx] [PATCH 05/12 v2] drm/i915: drop pol... Daniel Vetter
- [Intel-gfx] [PATCH 06/12 v2] drm/i915: extract __wait_s... Ben Widawsky
- [Intel-gfx] [PATCH 07/12] drm/i915: remove polled wait ... Ben Widawsky
- [Intel-gfx] [PATCH 08/12 v2] drm/i915: use __wait_seqno... Ben Widawsky
- Re: [Intel-gfx] [PATCH 08/12 v2] drm/i915: use __wa... Daniel Vetter
- [Intel-gfx] [PATCH 09/12] drm/i915: timeout parameter f... Ben Widawsky
- Re: [Intel-gfx] [PATCH 09/12] drm/i915: timeout par... Chris Wilson
- Re: [Intel-gfx] [PATCH 09/12] drm/i915: timeout... Ben Widawsky
- Re: [Intel-gfx] [PATCH 09/12] drm/i915: timeout par... Daniel Vetter
- Re: [Intel-gfx] [PATCH 09/12] drm/i915: timeout... Ben Widawsky
- [Intel-gfx] [PATCH 10/12] drm/i915: extract some common... Ben Widawsky