diff options
author | Dave Airlie <airlied@redhat.com> | 2011-10-27 20:28:37 +0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-10-27 20:28:37 +0400 |
commit | 1717c0e23f411147490c7a3312b894f0ea9a5fb1 (patch) | |
tree | 68c94629535328221188c7ebd41f9e413da41cb0 /drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | |
parent | 83f30d0e0343ad010afbc3523007b68e8b439694 (diff) | |
download | linux-1717c0e23f411147490c7a3312b894f0ea9a5fb1.tar.xz |
Revert "drm/ttm: add a way to bo_wait for either the last read or last write"
This reverts commit dfadbbdb57b3f2bb33e14f129a43047c6f0caefa.
Further upstream discussion between Marek and Thomas decided this wasn't
fully baked and needed further work, so revert it before it hits mainline.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_drv.c')
-rw-r--r-- | drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c index b8eb8cdcfb78..13afddc1f034 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c @@ -244,7 +244,7 @@ static void vmw_dummy_query_bo_prepare(struct vmw_private *dev_priv) ttm_bo_reserve(bo, false, false, false, 0); spin_lock(&bdev->fence_lock); - ret = ttm_bo_wait(bo, false, false, false, TTM_USAGE_READWRITE); + ret = ttm_bo_wait(bo, false, false, false); spin_unlock(&bdev->fence_lock); if (unlikely(ret != 0)) (void) vmw_fallback_wait(dev_priv, false, true, 0, false, |