alignment);
if (obj_priv->gtt_space == NULL)
return -ENOMEM;
-
+ obj_priv->gtt_space->private = obj;
obj_priv->gtt_offset = obj_priv->gtt_space->start;
DRM_DEBUG("Binding object of size %d at 0x%08x\n", obj->size, obj_priv->gtt_offset);
LOCK_TEST_WITH_RETURN(dev, file_priv);
+ i915_kernel_lost_context(dev);
+
DRM_INFO ("%s:%d\n", __FUNCTION__, __LINE__);
/* Big hammer: flush and idle the hardware so we can map things in/out.
*/