]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/gpu/drm/ttm/ttm_bo_util.c
drm/ttm, drm/vmwgfx: move cpu_writers handling into vmwgfx
[linux.git] / drivers / gpu / drm / ttm / ttm_bo_util.c
index fe81c565e7ef88e49d7e1c3cceb1e41d19897b24..b00039dcb48744c8a6ca9ab635644274ff861e4f 100644 (file)
@@ -511,7 +511,6 @@ static int ttm_buffer_object_transfer(struct ttm_buffer_object *bo,
        mutex_init(&fbo->base.wu_mutex);
        fbo->base.moving = NULL;
        drm_vma_node_reset(&fbo->base.base.vma_node);
-       atomic_set(&fbo->base.cpu_writers, 0);
 
        kref_init(&fbo->base.list_kref);
        kref_init(&fbo->base.kref);