1 // SPDX-License-Identifier: GPL-2.0-only
2 /*
3  * Copyright (C) 2020 Linaro Ltd.
4  */
5 
6 #include <linux/debugfs.h>
7 
8 #include "core.h"
9 
10 void venus_dbgfs_init(struct venus_core *core)
11 {
12 	core->root = debugfs_create_dir("venus", NULL);
13 	debugfs_create_x32("fw_level", 0644, core->root, &venus_fw_debug);
14 }
15 
16 void venus_dbgfs_deinit(struct venus_core *core)
17 {
18 	debugfs_remove_recursive(core->root);
19 }
20