diff options
author | Dave Airlie <airlied@redhat.com> | 2014-03-18 05:17:02 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2014-03-18 05:17:02 -0400 |
commit | d1583c9997cf5e7e8ceef35b6f264262cda5f948 (patch) | |
tree | 9451558c65eea52ad096f5a16313eaf02eb0775c /drivers/gpu/drm/ttm | |
parent | bcc298bc924e0a990f853ba3e19f8b5a833cba7e (diff) | |
parent | 07b48c3ac539828d744f0562da1f24e8a234d06e (diff) |
Merge branch 'drm-next' of git://people.freedesktop.org/~dvdhrm/linux into drm-next
This is the 3rd respin of the drm-anon patches. They allow module unloading, use
the pin_fs_* helpers recommended by Al and are rebased on top of drm-next. Note
that there are minor conflicts with the "drm-minor" branch.
* 'drm-next' of git://people.freedesktop.org/~dvdhrm/linux:
drm: init TTM dev_mapping in ttm_bo_device_init()
drm: use anon-inode instead of relying on cdevs
drm: add pseudo filesystem for shared inodes
Diffstat (limited to 'drivers/gpu/drm/ttm')
-rw-r--r-- | drivers/gpu/drm/ttm/ttm_bo.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/ttm/ttm_bo.c b/drivers/gpu/drm/ttm/ttm_bo.c index 214b7992a3aa..9df79ac7b8f5 100644 --- a/drivers/gpu/drm/ttm/ttm_bo.c +++ b/drivers/gpu/drm/ttm/ttm_bo.c | |||
@@ -1451,6 +1451,7 @@ EXPORT_SYMBOL(ttm_bo_device_release); | |||
1451 | int ttm_bo_device_init(struct ttm_bo_device *bdev, | 1451 | int ttm_bo_device_init(struct ttm_bo_device *bdev, |
1452 | struct ttm_bo_global *glob, | 1452 | struct ttm_bo_global *glob, |
1453 | struct ttm_bo_driver *driver, | 1453 | struct ttm_bo_driver *driver, |
1454 | struct address_space *mapping, | ||
1454 | uint64_t file_page_offset, | 1455 | uint64_t file_page_offset, |
1455 | bool need_dma32) | 1456 | bool need_dma32) |
1456 | { | 1457 | { |
@@ -1472,7 +1473,7 @@ int ttm_bo_device_init(struct ttm_bo_device *bdev, | |||
1472 | 0x10000000); | 1473 | 0x10000000); |
1473 | INIT_DELAYED_WORK(&bdev->wq, ttm_bo_delayed_workqueue); | 1474 | INIT_DELAYED_WORK(&bdev->wq, ttm_bo_delayed_workqueue); |
1474 | INIT_LIST_HEAD(&bdev->ddestroy); | 1475 | INIT_LIST_HEAD(&bdev->ddestroy); |
1475 | bdev->dev_mapping = NULL; | 1476 | bdev->dev_mapping = mapping; |
1476 | bdev->glob = glob; | 1477 | bdev->glob = glob; |
1477 | bdev->need_dma32 = need_dma32; | 1478 | bdev->need_dma32 = need_dma32; |
1478 | bdev->val_seq = 0; | 1479 | bdev->val_seq = 0; |