| .. | .. |
|---|
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note |
|---|
| 2 | 2 | /* |
|---|
| 3 | 3 | * |
|---|
| 4 | | - * (C) COPYRIGHT 2014-2016, 2018-2021 ARM Limited. All rights reserved. |
|---|
| 4 | + * (C) COPYRIGHT 2014-2016, 2018-2022 ARM Limited. All rights reserved. |
|---|
| 5 | 5 | * |
|---|
| 6 | 6 | * This program is free software and is provided to you under the terms of the |
|---|
| 7 | 7 | * GNU General Public License version 2 as published by the Free Software |
|---|
| .. | .. |
|---|
| 25 | 25 | |
|---|
| 26 | 26 | #include <linux/interrupt.h> |
|---|
| 27 | 27 | |
|---|
| 28 | | -#if !IS_ENABLED(CONFIG_MALI_BIFROST_NO_MALI) |
|---|
| 28 | +#if IS_ENABLED(CONFIG_MALI_REAL_HW) |
|---|
| 29 | 29 | |
|---|
| 30 | 30 | /* 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 |
|---|
| 34 | 34 | |
|---|
| 35 | 35 | static void *kbase_tag(void *ptr, u32 tag) |
|---|
| 36 | 36 | { |
|---|
| .. | .. |
|---|
| 163 | 163 | |
|---|
| 164 | 164 | #ifdef CONFIG_MALI_BIFROST_DEBUG |
|---|
| 165 | 165 | #define JOB_IRQ_HANDLER JOB_IRQ_TAG |
|---|
| 166 | | -#define MMU_IRQ_HANDLER MMU_IRQ_TAG |
|---|
| 167 | 166 | #define GPU_IRQ_HANDLER GPU_IRQ_TAG |
|---|
| 168 | 167 | |
|---|
| 169 | 168 | /** |
|---|
| .. | .. |
|---|
| 501 | 500 | |
|---|
| 502 | 501 | KBASE_EXPORT_TEST_API(kbase_synchronize_irqs); |
|---|
| 503 | 502 | |
|---|
| 504 | | -#endif /* !IS_ENABLED(CONFIG_MALI_BIFROST_NO_MALI) */ |
|---|
| 503 | +#endif /* IS_ENABLED(CONFIG_MALI_REAL_HW) */ |
|---|