From: Jeongtae Park Date: Fri, 1 Jun 2018 00:22:49 +0000 (+0900) Subject: Revert "Revert "Revert "[COMMON] media: fimc-is2: Implement 'fimc_is_kernel_neon_begi... X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=877e0ac35d7d34c22dd5bb22798289141bf8f99b;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git Revert "Revert "Revert "[COMMON] media: fimc-is2: Implement 'fimc_is_kernel_neon_begin/end()' for FPSIMD""" This reverts commit 4f180fec6449325996e0c355bc9d80c3d123dc32. Change-Id: I832280b4dee4392e08da2015fa5d6da157c8ec63 --- diff --git a/drivers/media/platform/exynos/fimc-is2/include/fimc-is-fpsimd.h b/drivers/media/platform/exynos/fimc-is2/include/fimc-is-fpsimd.h deleted file mode 100644 index 97b817d606f3..000000000000 --- a/drivers/media/platform/exynos/fimc-is2/include/fimc-is-fpsimd.h +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Samsung Exynos5 SoC series FIMC-IS driver - * - * - * Copyright (c) 2018 Samsung Electronics Co., Ltd - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ - -#ifndef FIMC_IS_FPSIMD_H -#define FIMC_IS_FPSIMD_H - -#include - -#ifdef CONFIG_KERNEL_MODE_NEON - -void fimc_is_kernel_neon_begin(void) -{ - fpsimd_save_state(¤t->thread.fpsimd_state); -} - -void fimc_is_kernel_neon_end(void) -{ - fpsimd_load_state(¤t->thread.fpsimd_state); -} - -#endif /* CONFIG_KERNEL_MODE_NEON */ -#endif diff --git a/drivers/media/platform/exynos/fimc-is2/ischain/fimc-is-v6_0_0/fimc-is-hw-chain.c b/drivers/media/platform/exynos/fimc-is2/ischain/fimc-is-v6_0_0/fimc-is-hw-chain.c index f8e484d21624..b77665d87300 100644 --- a/drivers/media/platform/exynos/fimc-is2/ischain/fimc-is-v6_0_0/fimc-is-hw-chain.c +++ b/drivers/media/platform/exynos/fimc-is2/ischain/fimc-is-v6_0_0/fimc-is-hw-chain.c @@ -32,7 +32,6 @@ #include "fimc-is-device-sensor.h" #include "fimc-is-device-csi.h" #include "fimc-is-device-ischain.h" -#include "fimc-is-fpsimd.h" #include "../../interface/fimc-is-interface-ischain.h" #include "../../hardware/fimc-is-hw-control.h" @@ -355,12 +354,12 @@ void __iomem *reg_cip2_clk; void fimc_is_enter_lib_isr(void) { - fimc_is_kernel_neon_begin(); + kernel_neon_begin(); } void fimc_is_exit_lib_isr(void) { - fimc_is_kernel_neon_end(); + kernel_neon_end(); } void fimc_is_hw_group_init(struct fimc_is_group *group)