Benet Clark | eb1b446 | 2016-06-27 14:43:06 -0700 | [diff] [blame] | 1 | /* Copyright (c) 2016, 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 | |
| 13 | #ifndef _SDE_HW_COLOR_PROCESSING_V1_7_H |
| 14 | #define _SDE_HW_COLOR_PROCESSING_V1_7_H |
| 15 | |
| 16 | #include "sde_hw_sspp.h" |
| 17 | |
| 18 | /** |
| 19 | * sde_setup_pipe_pa_hue_v1_7 - setup SSPP hue feature in v1.7 hardware |
| 20 | * @ctx: Pointer to pipe context |
| 21 | * @cfg: Pointer to hue data |
| 22 | */ |
| 23 | void sde_setup_pipe_pa_hue_v1_7(struct sde_hw_pipe *ctx, void *cfg); |
| 24 | |
| 25 | /** |
| 26 | * sde_setup_pipe_pa_sat_v1_7 - setup SSPP saturation feature in v1.7 hardware |
| 27 | * @ctx: Pointer to pipe context |
| 28 | * @cfg: Pointer to saturation data |
| 29 | */ |
| 30 | void sde_setup_pipe_pa_sat_v1_7(struct sde_hw_pipe *ctx, void *cfg); |
| 31 | |
| 32 | /** |
| 33 | * sde_setup_pipe_pa_val_v1_7 - setup SSPP value feature in v1.7 hardware |
| 34 | * @ctx: Pointer to pipe context |
| 35 | * @cfg: Pointer to value data |
| 36 | */ |
| 37 | void sde_setup_pipe_pa_val_v1_7(struct sde_hw_pipe *ctx, void *cfg); |
| 38 | |
| 39 | /** |
| 40 | * sde_setup_pipe_pa_cont_v1_7 - setup SSPP contrast feature in v1.7 hardware |
| 41 | * @ctx: Pointer to pipe context |
| 42 | * @cfg: Pointer to contrast data |
| 43 | */ |
| 44 | void sde_setup_pipe_pa_cont_v1_7(struct sde_hw_pipe *ctx, void *cfg); |
| 45 | |
Benet Clark | d009b1d | 2016-06-27 14:45:59 -0700 | [diff] [blame^] | 46 | /** |
| 47 | * sde_setup_pipe_pa_memcol_v1_7 - setup SSPP memory color in v1.7 hardware |
| 48 | * @ctx: Pointer to pipe context |
| 49 | * @type: Memory color type (Skin, sky, or foliage) |
| 50 | * @cfg: Pointer to memory color config data |
| 51 | */ |
| 52 | void sde_setup_pipe_pa_memcol_v1_7(struct sde_hw_pipe *ctx, |
| 53 | enum sde_memcolor_type type, |
| 54 | void *cfg); |
| 55 | |
Benet Clark | eb1b446 | 2016-06-27 14:43:06 -0700 | [diff] [blame] | 56 | #endif |