xref: /linux/drivers/gpu/drm/tidss/tidss_scale_coefs.h (revision 4b4193256c8d3bc3a5397b5cd9494c2ad386317d)
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 tidss_scale_coefs {
13 	s16 c2[16];
14 	s16 c1[16];
15 	u16 c0[9];
16 };
17 
18 const struct tidss_scale_coefs *tidss_get_scale_coefs(struct device *dev,
19 						      u32 firinc,
20 						      bool five_taps);
21 
22 #endif
23