diff options
author | Thomas Hellstrom <thellstrom@vmware.com> | 2010-11-17 15:28:31 +0300 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-11-22 06:25:21 +0300 |
commit | 65705962025df490d13df59ec57c5329d1bd0a16 (patch) | |
tree | aa9d40bbd1a842aaada664d9d0fa6a317ec1755f /drivers/gpu/drm/ttm/ttm_bo.c | |
parent | 95762c2b34069bf4adb7929969f1f5f5fc8a38df (diff) | |
download | linux-65705962025df490d13df59ec57c5329d1bd0a16.tar.xz |
drm/ttm/vmwgfx: Have TTM manage the validation sequence.
Rather than having the driver supply the validation sequence, leave that
responsibility to TTM. This saves some confusion and a function argument.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/ttm/ttm_bo.c')
-rw-r--r-- | drivers/gpu/drm/ttm/ttm_bo.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/ttm/ttm_bo.c b/drivers/gpu/drm/ttm/ttm_bo.c index 551a5d31cadf..25e4c2a1d1d8 100644 --- a/drivers/gpu/drm/ttm/ttm_bo.c +++ b/drivers/gpu/drm/ttm/ttm_bo.c @@ -1539,6 +1539,7 @@ int ttm_bo_device_init(struct ttm_bo_device *bdev, bdev->dev_mapping = NULL; bdev->glob = glob; bdev->need_dma32 = need_dma32; + bdev->val_seq = 0; spin_lock_init(&bdev->fence_lock); mutex_lock(&glob->device_list_mutex); list_add_tail(&bdev->device_list, &glob->device_list); |