hc
2023-12-06 08f87f769b595151be1afeff53e144f543faa614
kernel/drivers/gpu/arm/bifrost/backend/gpu/mali_kbase_irq_linux.c
....@@ -1,7 +1,7 @@
11 // SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
22 /*
33 *
4
- * (C) COPYRIGHT 2014-2016, 2018-2021 ARM Limited. All rights reserved.
4
+ * (C) COPYRIGHT 2014-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
....@@ -25,12 +25,12 @@
2525
2626 #include <linux/interrupt.h>
2727
28
-#if !IS_ENABLED(CONFIG_MALI_BIFROST_NO_MALI)
28
+#if IS_ENABLED(CONFIG_MALI_REAL_HW)
2929
3030 /* GPU IRQ Tags */
31
-#define JOB_IRQ_TAG 0
32
-#define MMU_IRQ_TAG 1
33
-#define GPU_IRQ_TAG 2
31
+#define JOB_IRQ_TAG 0
32
+#define MMU_IRQ_TAG 1
33
+#define GPU_IRQ_TAG 2
3434
3535 static void *kbase_tag(void *ptr, u32 tag)
3636 {
....@@ -163,7 +163,6 @@
163163
164164 #ifdef CONFIG_MALI_BIFROST_DEBUG
165165 #define JOB_IRQ_HANDLER JOB_IRQ_TAG
166
-#define MMU_IRQ_HANDLER MMU_IRQ_TAG
167166 #define GPU_IRQ_HANDLER GPU_IRQ_TAG
168167
169168 /**
....@@ -501,4 +500,4 @@
501500
502501 KBASE_EXPORT_TEST_API(kbase_synchronize_irqs);
503502
504
-#endif /* !IS_ENABLED(CONFIG_MALI_BIFROST_NO_MALI) */
503
+#endif /* IS_ENABLED(CONFIG_MALI_REAL_HW) */