diff options
author | Marcin Slusarz <marcin.slusarz@gmail.com> | 2012-11-06 16:49:51 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-11-20 01:06:19 -0500 |
commit | 0b91c4a1cd7cc368763de2fe25b8ea64ea803c08 (patch) | |
tree | c8b2431490b76d516487ebd8ef83afb893ded476 /drivers/gpu/drm/cirrus | |
parent | ef8cf3a1c523afa499d15856e7db3844ad59d1fb (diff) |
drm/ttm: remove ttm_buffer_object->buffer_start
All drivers set it to 0 and nothing uses it.
Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/cirrus')
-rw-r--r-- | drivers/gpu/drm/cirrus/cirrus_ttm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/cirrus/cirrus_ttm.c b/drivers/gpu/drm/cirrus/cirrus_ttm.c index bc83f835c830..90d770143cc2 100644 --- a/drivers/gpu/drm/cirrus/cirrus_ttm.c +++ b/drivers/gpu/drm/cirrus/cirrus_ttm.c | |||
@@ -361,7 +361,7 @@ int cirrus_bo_create(struct drm_device *dev, int size, int align, | |||
361 | 361 | ||
362 | ret = ttm_bo_init(&cirrus->ttm.bdev, &cirrusbo->bo, size, | 362 | ret = ttm_bo_init(&cirrus->ttm.bdev, &cirrusbo->bo, size, |
363 | ttm_bo_type_device, &cirrusbo->placement, | 363 | ttm_bo_type_device, &cirrusbo->placement, |
364 | align >> PAGE_SHIFT, 0, false, NULL, acc_size, | 364 | align >> PAGE_SHIFT, false, NULL, acc_size, |
365 | NULL, cirrus_bo_ttm_destroy); | 365 | NULL, cirrus_bo_ttm_destroy); |
366 | if (ret) | 366 | if (ret) |
367 | return ret; | 367 | return ret; |