diff options
Diffstat (limited to 'dvalin/kernel/drivers/gpu/arm/midgard/mali_kbase_hwaccess_defs.h')
-rw-r--r-- | dvalin/kernel/drivers/gpu/arm/midgard/mali_kbase_hwaccess_defs.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/dvalin/kernel/drivers/gpu/arm/midgard/mali_kbase_hwaccess_defs.h b/dvalin/kernel/drivers/gpu/arm/midgard/mali_kbase_hwaccess_defs.h index 124a2d9..62a6ec5 100644 --- a/dvalin/kernel/drivers/gpu/arm/midgard/mali_kbase_hwaccess_defs.h +++ b/dvalin/kernel/drivers/gpu/arm/midgard/mali_kbase_hwaccess_defs.h @@ -1,11 +1,12 @@ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * - * (C) COPYRIGHT 2014, 2016, 2018 ARM Limited. All rights reserved. + * (C) COPYRIGHT 2014, 2016-2018, 2020-2021 ARM Limited. All rights reserved. * * This program is free software and is provided to you under the terms of the * GNU General Public License version 2 as published by the Free Software * Foundation, and any use by you of this program is subject to the terms - * of such GNU licence. + * of such GNU license. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -16,20 +17,16 @@ * along with this program; if not, you can access it online at * http://www.gnu.org/licenses/gpl-2.0.html. * - * SPDX-License-Identifier: GPL-2.0 - * */ - /** - * @file mali_kbase_hwaccess_gpu_defs.h - * HW access common definitions + * DOC: HW access common definitions */ #ifndef _KBASE_HWACCESS_DEFS_H_ #define _KBASE_HWACCESS_DEFS_H_ -#include <mali_kbase_jm_defs.h> +#include <backend/gpu/mali_kbase_jm_defs.h> /** * struct kbase_hwaccess_data - object encapsulating the GPU backend specific @@ -43,7 +40,9 @@ * @backend: GPU backend specific data for HW access layer */ struct kbase_hwaccess_data { +#if !MALI_USE_CSF struct kbase_context *active_kctx[BASE_JM_MAX_NR_SLOTS]; +#endif struct kbase_backend_data backend; }; |