]> git.baikalelectronics.ru Git - kernel.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)
commit760ba598748fbb11f73e04716a788ef9604450cb
tree13ed982427828e6a031dd5fd642f25b15c300d63
parentcc981db243dc417e47c729108ab4e45de7402bbc
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