diff options
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_buffer.c')
-rw-r--r-- | drivers/gpu/drm/vmwgfx/vmwgfx_buffer.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_buffer.c b/drivers/gpu/drm/vmwgfx/vmwgfx_buffer.c index 87e43e0733bf..72d95617bc59 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_buffer.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_buffer.c | |||
@@ -295,18 +295,18 @@ static int vmw_sync_obj_flush(void *sync_obj, void *sync_arg) | |||
295 | static bool vmw_sync_obj_signaled(void *sync_obj, void *sync_arg) | 295 | static bool vmw_sync_obj_signaled(void *sync_obj, void *sync_arg) |
296 | { | 296 | { |
297 | struct vmw_private *dev_priv = (struct vmw_private *)sync_arg; | 297 | struct vmw_private *dev_priv = (struct vmw_private *)sync_arg; |
298 | uint32_t sequence = (unsigned long) sync_obj; | 298 | uint32_t seqno = (unsigned long) sync_obj; |
299 | 299 | ||
300 | return vmw_fence_signaled(dev_priv, sequence); | 300 | return vmw_seqno_passed(dev_priv, seqno); |
301 | } | 301 | } |
302 | 302 | ||
303 | static int vmw_sync_obj_wait(void *sync_obj, void *sync_arg, | 303 | static int vmw_sync_obj_wait(void *sync_obj, void *sync_arg, |
304 | bool lazy, bool interruptible) | 304 | bool lazy, bool interruptible) |
305 | { | 305 | { |
306 | struct vmw_private *dev_priv = (struct vmw_private *)sync_arg; | 306 | struct vmw_private *dev_priv = (struct vmw_private *)sync_arg; |
307 | uint32_t sequence = (unsigned long) sync_obj; | 307 | uint32_t seqno = (unsigned long) sync_obj; |
308 | 308 | ||
309 | return vmw_wait_fence(dev_priv, false, sequence, false, 3*HZ); | 309 | return vmw_wait_seqno(dev_priv, false, seqno, false, 3*HZ); |
310 | } | 310 | } |
311 | 311 | ||
312 | struct ttm_bo_driver vmw_bo_driver = { | 312 | struct ttm_bo_driver vmw_bo_driver = { |