blob: 94e1a5c943e6108075be4b80441b65b0d0347b82 [file] [log] [blame]
Gopikrishnaiah Anandaned189cd2016-12-27 14:31:02 -08001/* Copyright (c) 2017, The Linux Foundation. All rights reserved.
2 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 */
12#ifndef _SDE_HW_REG_DMA_V1_COLOR_PROC_H
13#define _SDE_HW_REG_DMA_V1_COLOR_PROC_H
14
15#include "sde_hw_util.h"
16#include "sde_hw_catalog.h"
17#include "sde_hw_dspp.h"
18
19/**
20 * reg_dmav1_init_dspp_op_v4() - initialize the dspp feature op for sde v4
21 * using reg dma v1.
22 * @feature: dspp feature
23 * idx: dspp idx
24 */
25int reg_dmav1_init_dspp_op_v4(int feature, enum sde_dspp idx);
26
27/**
28 * reg_dma_init_sspp_op_v4() - initialize the sspp feature op for sde v4
29 * @feature: sspp feature
30 * @idx: sspp idx
31 */
32int reg_dmav1_init_sspp_op_v4(int feature, enum sde_sspp idx);
33
34/**
35 * reg_dmav1_setup_dspp_vlutv18() - vlut v18 implementation using reg dma v1.
36 * @ctx: dspp ctx info
37 * @cfg: pointer to struct sde_hw_cp_cfg
38 */
39void reg_dmav1_setup_dspp_vlutv18(struct sde_hw_dspp *ctx, void *cfg);
40
Gopikrishnaiah Anandanfbf75392017-01-16 10:43:36 -080041/**
42 * reg_dmav1_setup_3d_gamutv4() - gamut v4 implementation using reg dma v1.
43 * @ctx: dspp ctx info
44 * @cfg: pointer to struct sde_hw_cp_cfg
45 */
46void reg_dmav1_setup_dspp_3d_gamutv4(struct sde_hw_dspp *ctx, void *cfg);
47
48/**
49 * reg_dmav1_setup_dspp_gc_v18() - gc v18 implementation using reg dma v1.
50 * @ctx: dspp ctx info
51 * @cfg: pointer to struct sde_hw_cp_cfg
52 */
53void reg_dmav1_setup_dspp_gcv18(struct sde_hw_dspp *ctx, void *cfg);
Gopikrishnaiah Anandane69dc592017-03-29 14:00:55 -070054
55/**
56 * reg_dmav1_deinit_dspp_ops() - deinitialize the dspp feature op for sde v4
57 * which were initialized.
58 * @idx: dspp idx
59 */
60int reg_dmav1_deinit_dspp_ops(enum sde_dspp idx);
Gopikrishnaiah Anandaned189cd2016-12-27 14:31:02 -080061#endif /* _SDE_HW_REG_DMA_V1_COLOR_PROC_H */