summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2020-08-04 04:56:26 +0200
committerDave Airlie <airlied@redhat.com>2020-08-06 05:12:40 +0200
commit7541ce1a6f2be9ab056a5b5105e08aef8d3287b1 (patch)
tree9e6ec8ed1cb53438b3f7704b1a71c0b862147bfa /include
parentdrm/amdgpu/ttm: remove man->bdev references. (diff)
downloadlinux-7541ce1a6f2be9ab056a5b5105e08aef8d3287b1.tar.xz
linux-7541ce1a6f2be9ab056a5b5105e08aef8d3287b1.zip
drm/ttm: drop man->bdev link.
This link isn't needed anymore, drop it from the init interface. Reviewed-by: Ben Skeggs <bskeggs@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200804025632.3868079-54-airlied@gmail.com
Diffstat (limited to 'include')
-rw-r--r--include/drm/ttm/ttm_bo_api.h6
-rw-r--r--include/drm/ttm/ttm_bo_driver.h2
2 files changed, 2 insertions, 6 deletions
diff --git a/include/drm/ttm/ttm_bo_api.h b/include/drm/ttm/ttm_bo_api.h
index 045f283d79e8..95d6c648d5c6 100644
--- a/include/drm/ttm/ttm_bo_api.h
+++ b/include/drm/ttm/ttm_bo_api.h
@@ -536,14 +536,12 @@ int ttm_bo_create(struct ttm_bo_device *bdev, unsigned long size,
/**
* ttm_mem_type_manager_init
*
- * @bdev: Pointer to a ttm_bo_device struct.
* @man: memory manager object to init
* @p_size: size managed area in pages.
*
- * Initialise core parts of a a manager object.
+ * Initialise core parts of a manager object.
*/
-void ttm_mem_type_manager_init(struct ttm_bo_device *bdev,
- struct ttm_mem_type_manager *man,
+void ttm_mem_type_manager_init(struct ttm_mem_type_manager *man,
unsigned long p_size);
/**
diff --git a/include/drm/ttm/ttm_bo_driver.h b/include/drm/ttm/ttm_bo_driver.h
index 8c39901d8717..e17975466b7f 100644
--- a/include/drm/ttm/ttm_bo_driver.h
+++ b/include/drm/ttm/ttm_bo_driver.h
@@ -138,8 +138,6 @@ struct ttm_mem_type_manager_func {
struct ttm_mem_type_manager {
- struct ttm_bo_device *bdev;
-
/*
* No protection. Constant from start.
*/