hc
2024-05-16 8d2a02b24d66aa359e83eebc1ed3c0f85367a1cb
kernel/drivers/gpu/arm/bifrost/mali_kbase_debug_job_fault.c
....@@ -1,7 +1,7 @@
11 // SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
22 /*
33 *
4
- * (C) COPYRIGHT 2012-2016, 2018-2021 ARM Limited. All rights reserved.
4
+ * (C) COPYRIGHT 2012-2016, 2018-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
....@@ -87,8 +87,7 @@
8787
8888 static int wait_for_job_fault(struct kbase_device *kbdev)
8989 {
90
-#if KERNEL_VERSION(4, 7, 0) <= LINUX_VERSION_CODE && \
91
- KERNEL_VERSION(4, 15, 0) > LINUX_VERSION_CODE
90
+#if KERNEL_VERSION(4, 15, 0) > LINUX_VERSION_CODE
9291 int ret = wait_event_interruptible_timeout(kbdev->job_fault_wq,
9392 kbase_is_job_fault_event_pending(kbdev),
9493 msecs_to_jiffies(2000));