diff options
author | Sakari Ailus | 2018-05-09 16:34:45 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab | 2018-05-16 16:44:37 +0200 |
commit | 51b8dc5163d2ff2bf04019f8bf7e3bd0e75bb654 (patch) | |
tree | 38b131aa52a5272da4c01bd7ab7cd80b4c179e86 /drivers/staging/media/atomisp/pci/atomisp2/css2400/ia_css_buffer.h | |
parent | media: atomisp-mt9m114: comment out unused stuff (diff) | |
download | kernel-qcow2-linux-51b8dc5163d2ff2bf04019f8bf7e3bd0e75bb654.tar.gz kernel-qcow2-linux-51b8dc5163d2ff2bf04019f8bf7e3bd0e75bb654.tar.xz kernel-qcow2-linux-51b8dc5163d2ff2bf04019f8bf7e3bd0e75bb654.zip |
media: staging: atomisp: Remove driver
The atomisp driver has a long list of todo items and little has been done
to address these lately while more has been added. The driver is also not
functional. In other words, the driver would not be getting out of staging
in the foreseeable future. At the same time it consumes developer
resources in order to maintain the flaky code base. Remove it.
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/staging/media/atomisp/pci/atomisp2/css2400/ia_css_buffer.h')
-rw-r--r-- | drivers/staging/media/atomisp/pci/atomisp2/css2400/ia_css_buffer.h | 84 |
1 files changed, 0 insertions, 84 deletions
diff --git a/drivers/staging/media/atomisp/pci/atomisp2/css2400/ia_css_buffer.h b/drivers/staging/media/atomisp/pci/atomisp2/css2400/ia_css_buffer.h deleted file mode 100644 index a0058eac7d5a..000000000000 --- a/drivers/staging/media/atomisp/pci/atomisp2/css2400/ia_css_buffer.h +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Support for Intel Camera Imaging ISP subsystem. - * Copyright (c) 2015, Intel Corporation. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - */ - -#ifndef __IA_CSS_BUFFER_H -#define __IA_CSS_BUFFER_H - -/* @file - * This file contains datastructures and types for buffers used in CSS - */ - -#include <type_support.h> -#include "ia_css_types.h" -#include "ia_css_timer.h" - -/* Enumeration of buffer types. Buffers can be queued and de-queued - * to hand them over between IA and ISP. - */ -enum ia_css_buffer_type { - IA_CSS_BUFFER_TYPE_INVALID = -1, - IA_CSS_BUFFER_TYPE_3A_STATISTICS = 0, - IA_CSS_BUFFER_TYPE_DIS_STATISTICS, - IA_CSS_BUFFER_TYPE_LACE_STATISTICS, - IA_CSS_BUFFER_TYPE_INPUT_FRAME, - IA_CSS_BUFFER_TYPE_OUTPUT_FRAME, - IA_CSS_BUFFER_TYPE_SEC_OUTPUT_FRAME, - IA_CSS_BUFFER_TYPE_VF_OUTPUT_FRAME, - IA_CSS_BUFFER_TYPE_SEC_VF_OUTPUT_FRAME, - IA_CSS_BUFFER_TYPE_RAW_OUTPUT_FRAME, - IA_CSS_BUFFER_TYPE_CUSTOM_INPUT, - IA_CSS_BUFFER_TYPE_CUSTOM_OUTPUT, - IA_CSS_BUFFER_TYPE_METADATA, - IA_CSS_BUFFER_TYPE_PARAMETER_SET, - IA_CSS_BUFFER_TYPE_PER_FRAME_PARAMETER_SET, - IA_CSS_NUM_DYNAMIC_BUFFER_TYPE, - IA_CSS_NUM_BUFFER_TYPE -}; - -/* Driver API is not SP/ISP visible, 64 bit types not supported on hivecc */ -#if !defined(__ISP) -/* Buffer structure. This is a container structure that enables content - * independent buffer queues and access functions. - */ -struct ia_css_buffer { - enum ia_css_buffer_type type; /** Buffer type. */ - unsigned int exp_id; - /** exposure id for this buffer; 0 = not available - see ia_css_event_public.h for more detail. */ - union { - struct ia_css_isp_3a_statistics *stats_3a; /** 3A statistics & optionally RGBY statistics. */ - struct ia_css_isp_dvs_statistics *stats_dvs; /** DVS statistics. */ - struct ia_css_isp_skc_dvs_statistics *stats_skc_dvs; /** SKC DVS statistics. */ - struct ia_css_frame *frame; /** Frame buffer. */ - struct ia_css_acc_param *custom_data; /** Custom buffer. */ - struct ia_css_metadata *metadata; /** Sensor metadata. */ - } data; /** Buffer data pointer. */ - uint64_t driver_cookie; /** cookie for the driver */ - struct ia_css_time_meas timing_data; /** timing data (readings from the timer) */ - struct ia_css_clock_tick isys_eof_clock_tick; /** ISYS's end of frame timer tick*/ -}; - -/* @brief Dequeue param buffers from sp2host_queue - * - * @return None - * - * This function must be called at every driver interrupt handler to prevent - * overflow of sp2host_queue. - */ -void -ia_css_dequeue_param_buffers(void); - -#endif /* !__ISP */ - -#endif /* __IA_CSS_BUFFER_H */ |