diff options
author | Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com> | 2023-05-24 10:48:43 +0300 |
---|---|---|
committer | Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com> | 2023-07-07 10:33:13 +0300 |
commit | edde4caec1921c7997b8a4d91f14db0365275353 (patch) | |
tree | 52cf6776dfa9bb9855e74c60fb3a5d718fdb1b17 /drivers/accel/ivpu/ivpu_debugfs.h | |
parent | 949ab38a05e879f6d9e7e1dfcc86b066a8689de1 (diff) | |
download | linux-edde4caec1921c7997b8a4d91f14db0365275353.tar.xz |
accel/ivpu: Initial debugfs support
Add initial debugfs support. Provide below functionality:
- print buffer objects
- print latest boot mode
- trigger vpu engine reset
Signed-off-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
Reviewed-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230524074847.866711-2-stanislaw.gruszka@linux.intel.com
Diffstat (limited to 'drivers/accel/ivpu/ivpu_debugfs.h')
-rw-r--r-- | drivers/accel/ivpu/ivpu_debugfs.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/accel/ivpu/ivpu_debugfs.h b/drivers/accel/ivpu/ivpu_debugfs.h new file mode 100644 index 000000000000..78f80c1e00e4 --- /dev/null +++ b/drivers/accel/ivpu/ivpu_debugfs.h @@ -0,0 +1,13 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2020-2023 Intel Corporation + */ + +#ifndef __IVPU_DEBUGFS_H__ +#define __IVPU_DEBUGFS_H__ + +struct drm_minor; + +void ivpu_debugfs_init(struct drm_minor *minor); + +#endif /* __IVPU_DEBUGFS_H__ */ |