From b072b9cd54f3dbd9597f2c0c2b8496a43c179806 Mon Sep 17 00:00:00 2001 From: Christian König Date: Fri, 5 Feb 2021 15:58:56 +0100 Subject: drm/ttm: add ttm_sys_manager v3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Matthew Auld Link: https://patchwork.freedesktop.org/patch/msgid/20210430092508.60710-1-christian.koenig@amd.com --- drivers/gpu/drm/ttm/ttm_module.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'drivers/gpu/drm/ttm/ttm_module.h') 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_ */ -- cgit v1.2.3