forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/drivers/gpu/arm/bifrost/tests/kutf/kutf_helpers.c
....@@ -1,7 +1,7 @@
11 // SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
22 /*
33 *
4
- * (C) COPYRIGHT 2017, 2020-2021 ARM Limited. All rights reserved.
4
+ * (C) COPYRIGHT 2017, 2020-2022 ARM Limited. All rights reserved.
55 *
66 * This program is free software and is provided to you under the terms of the
77 * GNU General Public License version 2 as published by the Free Software
....@@ -21,7 +21,6 @@
2121
2222 /* Kernel UTF test helpers */
2323 #include <kutf/kutf_helpers.h>
24
-
2524 #include <linux/err.h>
2625 #include <linux/jiffies.h>
2726 #include <linux/sched.h>
....@@ -128,3 +127,15 @@
128127 {
129128 kutf_helper_input_enqueue(context, NULL, 0);
130129 }
130
+
131
+void kutf_helper_ignore_dmesg(struct device *dev)
132
+{
133
+ dev_info(dev, "KUTF: Start ignoring dmesg warnings\n");
134
+}
135
+EXPORT_SYMBOL(kutf_helper_ignore_dmesg);
136
+
137
+void kutf_helper_stop_ignoring_dmesg(struct device *dev)
138
+{
139
+ dev_info(dev, "KUTF: Stop ignoring dmesg warnings\n");
140
+}
141
+EXPORT_SYMBOL(kutf_helper_stop_ignoring_dmesg);