drm/ttm: Make sure system buffer objects has offset == 0.

This is a convention that the vmwgfx driver has come to rely on.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
此提交包含在:
Thomas Hellstrom
2010-01-13 22:28:45 +01:00
提交者 Dave Airlie
父節點 d9f36a0051
當前提交 354fb52cb6

查看文件

@@ -426,7 +426,8 @@ moved:
bdev->man[bo->mem.mem_type].gpu_offset;
bo->cur_placement = bo->mem.placement;
spin_unlock(&bo->lock);
}
} else
bo->offset = 0;
return 0;