xref: /linux/drivers/gpu/drm/tidss/tidss_scale_coefs.h (revision 44343e8b250abb2f6bfd615493ca07a7f11f3cc2)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
4  * Author: Jyri Sarha <jsarha@ti.com>
5  */
6 
7 #ifndef __TIDSS_DISPC_COEF_H__
8 #define __TIDSS_DISPC_COEF_H__
9 
10 #include <linux/types.h>
11 
12 struct device;
13 
14 struct tidss_scale_coefs {
15 	s16 c2[16];
16 	s16 c1[16];
17 	u16 c0[9];
18 };
19 
20 const struct tidss_scale_coefs *tidss_get_scale_coefs(struct device *dev,
21 						      u32 firinc,
22 						      bool five_taps);
23 
24 #endif
25