summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/ttm/ttm_module.h
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2021-02-05 17:58:56 +0300
committerChristian König <christian.koenig@amd.com>2021-05-03 13:50:41 +0300
commitb072b9cd54f3dbd9597f2c0c2b8496a43c179806 (patch)
tree555ea9cfa47f221a2090e6ef90300944fd141594 /drivers/gpu/drm/ttm/ttm_module.h
parentdc52e41d26610cb7b8e95c7d45aa7457b5dcc002 (diff)
downloadlinux-b072b9cd54f3dbd9597f2c0c2b8496a43c179806.tar.xz
drm/ttm: add ttm_sys_manager v3
Add a separate manager for the system domain and make function tables mandatory. v2: debug is still optional v3: return void during init Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Matthew Auld <matthew.auld@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210430092508.60710-1-christian.koenig@amd.com
Diffstat (limited to 'drivers/gpu/drm/ttm/ttm_module.h')
-rw-r--r--drivers/gpu/drm/ttm/ttm_module.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/ttm/ttm_module.h b/drivers/gpu/drm/ttm/ttm_module.h
index d7cac5d4b835..767fe22aed48 100644
--- a/drivers/gpu/drm/ttm/ttm_module.h
+++ b/drivers/gpu/drm/ttm/ttm_module.h
@@ -34,7 +34,10 @@
#define TTM_PFX "[TTM] "
struct dentry;
+struct ttm_device;
extern struct dentry *ttm_debugfs_root;
+void ttm_sys_man_init(struct ttm_device *bdev);
+
#endif /* _TTM_MODULE_H_ */