]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: ILK + VT-d workaround
authorBen Widawsky <ben@bwidawsk.net>
Mon, 17 Oct 2011 22:51:55 +0000 (15:51 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 20 Oct 2011 22:26:39 +0000 (15:26 -0700)
commit5c0422878fcdc279ae9a8e8b66972a15b5efb67f
tree13ed982427828e6a031dd5fd642f25b15c300d63
parentf372b85463dac2fc696443d4c5063db2af5dcead
drm/i915: ILK + VT-d workaround

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 <ben@bwidawsk.net>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/char/agp/intel-gtt.c
drivers/gpu/drm/i915/i915_gem_gtt.c
include/drm/intel-gtt.h