]> git.baikalelectronics.ru Git - kernel.git/commit
i915: don't map imported dma-bufs for dmar.
authorDave Airlie <airlied@redhat.com>
Tue, 31 Jul 2012 05:58:13 +0000 (15:58 +1000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 5 Aug 2012 20:53:59 +0000 (22:53 +0200)
commit779298456366a57b0d692804985a5a35ab1188d8
tree0c061447ef0dd09e95b2c0e656b7a1d8bff95dd1
parentfd0c03240e499ab854f8bbe64e8436fefc8ff208
i915: don't map imported dma-bufs for dmar.

The exporter should have given us pages in the correct place, avoid
the prepare object mapping phase on dmar systems.

This fixes an oops on a GM45/R600 machine, when running the intel/radeon
tests.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_gtt.c