]> 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)
commit01244ffcfe0cbfc07f940da7eabd2034df83687e
tree13ed982427828e6a031dd5fd642f25b15c300d63
parent7c03cbad3f668cca5ff7d685447ce92e094c9077
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