]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Don't allow objects to get bound while VT switched.
authorEric Anholt <eric@anholt.net>
Wed, 24 Dec 2008 02:42:32 +0000 (18:42 -0800)
committerDave Airlie <airlied@linux.ie>
Wed, 7 Jan 2009 01:49:39 +0000 (11:49 +1000)
commit8e3967aa24f272cb49fb8830dc190cd4285d425f
treeaddc6ecaa172ccfca9273a94567a6e35248acece
parent811787648bc54a5b22930f2417bf241a1579035e
drm/i915: Don't allow objects to get bound while VT switched.

This avoids a BUG_ON in the enter_vt path due to objects being in the GTT
when we shouldn't have ever let them be (as we're not supposed to touch the
device during that time).

This was triggered by a change in the 2D driver to use the GTT mapping of
objects after pinning them to improve software fallback performance.

Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/gpu/drm/i915/i915_gem.c