hc
2023-12-06 08f87f769b595151be1afeff53e144f543faa614
kernel/drivers/gpu/arm/bifrost/backend/gpu/Kbuild
....@@ -1,6 +1,6 @@
11 # SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
22 #
3
-# (C) COPYRIGHT 2014-2021 ARM Limited. All rights reserved.
3
+# (C) COPYRIGHT 2014-2022 ARM Limited. All rights reserved.
44 #
55 # This program is free software and is provided to you under the terms of the
66 # GNU General Public License version 2 as published by the Free Software
....@@ -47,3 +47,12 @@
4747 bifrost_kbase-$(CONFIG_MALI_BIFROST_DEVFREQ) += \
4848 backend/gpu/mali_kbase_devfreq.o
4949
50
+ifneq ($(CONFIG_MALI_REAL_HW),y)
51
+ bifrost_kbase-y += backend/gpu/mali_kbase_model_linux.o
52
+endif
53
+
54
+# NO_MALI Dummy model interface
55
+bifrost_kbase-$(CONFIG_MALI_BIFROST_NO_MALI) += backend/gpu/mali_kbase_model_dummy.o
56
+# HW error simulation
57
+bifrost_kbase-$(CONFIG_MALI_BIFROST_NO_MALI) += backend/gpu/mali_kbase_model_error_generator.o
58
+