Commit 00cfd664 authored by Christian König's avatar Christian König Committed by Alex Deucher

drm/ttm: remove unused validation sequence

Not used any more.
Reviewed-by: default avatarSinclair Yeh <syeh@vmware.com>
Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 8aa6d4fc
...@@ -1513,7 +1513,6 @@ int ttm_bo_device_init(struct ttm_bo_device *bdev, ...@@ -1513,7 +1513,6 @@ int ttm_bo_device_init(struct ttm_bo_device *bdev,
bdev->dev_mapping = mapping; bdev->dev_mapping = mapping;
bdev->glob = glob; bdev->glob = glob;
bdev->need_dma32 = need_dma32; bdev->need_dma32 = need_dma32;
bdev->val_seq = 0;
mutex_lock(&glob->device_list_mutex); mutex_lock(&glob->device_list_mutex);
list_add_tail(&bdev->device_list, &glob->device_list); list_add_tail(&bdev->device_list, &glob->device_list);
mutex_unlock(&glob->device_list_mutex); mutex_unlock(&glob->device_list_mutex);
......
...@@ -502,7 +502,6 @@ struct ttm_bo_global { ...@@ -502,7 +502,6 @@ struct ttm_bo_global {
* @vma_manager: Address space manager * @vma_manager: Address space manager
* lru_lock: Spinlock that protects the buffer+device lru lists and * lru_lock: Spinlock that protects the buffer+device lru lists and
* ddestroy lists. * ddestroy lists.
* @val_seq: Current validation sequence.
* @dev_mapping: A pointer to the struct address_space representing the * @dev_mapping: A pointer to the struct address_space representing the
* device address space. * device address space.
* @wq: Work queue structure for the delayed delete workqueue. * @wq: Work queue structure for the delayed delete workqueue.
...@@ -528,7 +527,6 @@ struct ttm_bo_device { ...@@ -528,7 +527,6 @@ struct ttm_bo_device {
* Protected by the global:lru lock. * Protected by the global:lru lock.
*/ */
struct list_head ddestroy; struct list_head ddestroy;
uint32_t val_seq;
/* /*
* Protected by load / firstopen / lastclose /unload sync. * Protected by load / firstopen / lastclose /unload sync.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment