diff options
author | Marcin Slusarz <marcin.slusarz@gmail.com> | 2012-11-06 16:49:53 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-11-20 01:06:21 -0500 |
commit | 830e2837f5f6811b77cf3aa72e63343a8e6e9ef6 (patch) | |
tree | 34f33b1ae7c2dbbe99afedd97f99aaaa85155bca | |
parent | 0b91c4a1cd7cc368763de2fe25b8ea64ea803c08 (diff) |
drm/ttm: remove ttm_bo_device->nice_mode
It's unused.
Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r-- | drivers/gpu/drm/ttm/ttm_bo.c | 1 | ||||
-rw-r--r-- | include/drm/ttm/ttm_bo_driver.h | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/ttm/ttm_bo.c b/drivers/gpu/drm/ttm/ttm_bo.c index f65182667825..4066e788cff8 100644 --- a/drivers/gpu/drm/ttm/ttm_bo.c +++ b/drivers/gpu/drm/ttm/ttm_bo.c | |||
@@ -1573,7 +1573,6 @@ int ttm_bo_device_init(struct ttm_bo_device *bdev, | |||
1573 | goto out_no_addr_mm; | 1573 | goto out_no_addr_mm; |
1574 | 1574 | ||
1575 | INIT_DELAYED_WORK(&bdev->wq, ttm_bo_delayed_workqueue); | 1575 | INIT_DELAYED_WORK(&bdev->wq, ttm_bo_delayed_workqueue); |
1576 | bdev->nice_mode = true; | ||
1577 | INIT_LIST_HEAD(&bdev->ddestroy); | 1576 | INIT_LIST_HEAD(&bdev->ddestroy); |
1578 | bdev->dev_mapping = NULL; | 1577 | bdev->dev_mapping = NULL; |
1579 | bdev->glob = glob; | 1578 | bdev->glob = glob; |
diff --git a/include/drm/ttm/ttm_bo_driver.h b/include/drm/ttm/ttm_bo_driver.h index d803b92b0324..95628e7da5bf 100644 --- a/include/drm/ttm/ttm_bo_driver.h +++ b/include/drm/ttm/ttm_bo_driver.h | |||
@@ -521,8 +521,6 @@ struct ttm_bo_global { | |||
521 | * lru_lock: Spinlock that protects the buffer+device lru lists and | 521 | * lru_lock: Spinlock that protects the buffer+device lru lists and |
522 | * ddestroy lists. | 522 | * ddestroy lists. |
523 | * @val_seq: Current validation sequence. | 523 | * @val_seq: Current validation sequence. |
524 | * @nice_mode: Try nicely to wait for buffer idle when cleaning a manager. | ||
525 | * If a GPU lockup has been detected, this is forced to 0. | ||
526 | * @dev_mapping: A pointer to the struct address_space representing the | 524 | * @dev_mapping: A pointer to the struct address_space representing the |
527 | * device address space. | 525 | * device address space. |
528 | * @wq: Work queue structure for the delayed delete workqueue. | 526 | * @wq: Work queue structure for the delayed delete workqueue. |
@@ -556,7 +554,6 @@ struct ttm_bo_device { | |||
556 | * Protected by load / firstopen / lastclose /unload sync. | 554 | * Protected by load / firstopen / lastclose /unload sync. |
557 | */ | 555 | */ |
558 | 556 | ||
559 | bool nice_mode; | ||
560 | struct address_space *dev_mapping; | 557 | struct address_space *dev_mapping; |
561 | 558 | ||
562 | /* | 559 | /* |