commit | 9bb2d6f94aeb9a185d69aedbd19421b6da4e3309 | [log] [tgz] |
---|---|---|
author | Eric Anholt <eric@anholt.net> | Tue Dec 23 18:42:32 2008 -0800 |
committer | Dave Airlie <airlied@linux.ie> | Wed Jan 07 11:49:39 2009 +1000 |
tree | addc6ecaa172ccfca9273a94567a6e35248acece | |
parent | c861ea2cb2c25c1698734d9b0540a09e253690a1 [diff] |
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>