Re: [Intel-gfx] [PATCH 4/4] drm/i915: ILK + VT-d workaround

2011-10-18 Thread Ben Widawsky
On Tue, 18 Oct 2011 09:24:41 +0200 Paul Menzel wrote: > Am Montag, den 17.10.2011, 15:51 -0700 schrieb Ben Widawsky: > > Idle the GPU before doing any unmaps. We know if VT-d is in use through > > an exported variable from iommu code. > > > > This should avoid a known HW issue. > > Please descr

Re: [Intel-gfx] [PATCH 4/4] drm/i915: ILK + VT-d workaround

2011-10-18 Thread Daniel Vetter
On Mon, Oct 17, 2011 at 03:51:55PM -0700, Ben Widawsky wrote: > Idle the GPU before doing any unmaps. We know if VT-d is in use through > an exported variable from iommu code. > > This should avoid a known HW issue. > > Signed-off-by: Ben Widawsky > --- Reviewed-by: Daniel Vetter -- Daniel Vet

Re: [Intel-gfx] [PATCH 4/4] drm/i915: ILK + VT-d workaround

2011-10-18 Thread Paul Menzel
Am Montag, den 17.10.2011, 15:51 -0700 schrieb Ben Widawsky: > Idle the GPU before doing any unmaps. We know if VT-d is in use through > an exported variable from iommu code. > > This should avoid a known HW issue. Please describe the issue more in detail or provide a link to more information. >

[Intel-gfx] [PATCH 4/4] drm/i915: ILK + VT-d workaround

2011-10-17 Thread Ben Widawsky
Idle the GPU before doing any unmaps. We know if VT-d is in use through an exported variable from iommu code. This should avoid a known HW issue. Signed-off-by: Ben Widawsky --- drivers/char/agp/intel-gtt.c| 28 drivers/gpu/drm/i915/i915_gem_gtt.c | 30 +

Re: [Intel-gfx] [PATCH 4/4] drm/i915: ILK + VT-d workaround

2011-10-15 Thread Chris Wilson
On Sat, 15 Oct 2011 13:47:16 -0700, Ben Widawsky wrote: > Idle the GPU before doing any unmaps. We know if VT-d is in use through > an exported variable from iommu code. > > This should avoid a known HW issue. > > Signed-off-by: Ben Widawsky Just one minor comment below, but Reviewed-by: Chris

Re: [Intel-gfx] [PATCH 4/4] drm/i915: ILK + VT-d workaround

2011-10-15 Thread Daniel Vetter
On Sat, Oct 15, 2011 at 01:47:16PM -0700, Ben Widawsky wrote: > Idle the GPU before doing any unmaps. We know if VT-d is in use through > an exported variable from iommu code. > > This should avoid a known HW issue. > > Signed-off-by: Ben Widawsky > --- > drivers/char/agp/intel-gtt.c|

[Intel-gfx] [PATCH 4/4] drm/i915: ILK + VT-d workaround

2011-10-15 Thread Ben Widawsky
Idle the GPU before doing any unmaps. We know if VT-d is in use through an exported variable from iommu code. This should avoid a known HW issue. Signed-off-by: Ben Widawsky --- drivers/char/agp/intel-gtt.c| 28 drivers/gpu/drm/i915/i915_drv.h |2 +