diff options
Diffstat (limited to 'drivers/gpu/arm/midgard/backend/gpu/mali_kbase_cache_policy_backend.c')
-rw-r--r-- | drivers/gpu/arm/midgard/backend/gpu/mali_kbase_cache_policy_backend.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_cache_policy_backend.c b/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_cache_policy_backend.c index c6862539c8dd..92a14fa1bae1 100644 --- a/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_cache_policy_backend.c +++ b/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_cache_policy_backend.c @@ -1,6 +1,6 @@ /* * - * (C) COPYRIGHT 2015-2016 ARM Limited. All rights reserved. + * (C) COPYRIGHT 2015 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 @@ -16,12 +16,7 @@ #include "backend/gpu/mali_kbase_cache_policy_backend.h" +#include <backend/gpu/mali_kbase_pm_internal.h> #include <backend/gpu/mali_kbase_device_internal.h> -void kbase_cache_set_coherency_mode(struct kbase_device *kbdev, - u32 mode) -{ - if (kbase_hw_has_feature(kbdev, BASE_HW_FEATURE_COHERENCY_REG)) - kbase_reg_write(kbdev, COHERENCY_ENABLE, mode, NULL); -} |