Re: [Intel-gfx] [PATCH 05/22] drm/i915: check for kms in dri1 ioctls

2012-04-23 Thread Chris Wilson
On Mon, 23 Apr 2012 16:50:52 +0200, Daniel Vetter wrote: > Calling these when gem assumes full control of the hw won't end > in anything else than tears. So be a bit more paranoid here. > > Just serves as documentation. > > Signed-off-by: Daniel Vetter Having already killed do_init, I can't a

[Intel-gfx] [PATCH 05/22] drm/i915: check for kms in dri1 ioctls

2012-04-23 Thread Daniel Vetter
Calling these when gem assumes full control of the hw won't end in anything else than tears. So be a bit more paranoid here. Just serves as documentation. Signed-off-by: Daniel Vetter --- drivers/gpu/drm/i915/i915_dma.c | 18 ++ drivers/gpu/drm/i915/i915_irq.c | 12 +