hc
2023-11-06 e3e12f52b214121840b44c91de5b3e5af5d3eb84
kernel/drivers/gpu/drm/rockchip/ebc-dev/epdlut/epd_lut.h
....@@ -8,6 +8,9 @@
88 #ifndef EPD_LUT_H
99 #define EPD_LUT_H
1010
11
+#define WF_4BIT 16
12
+#define WF_5BIT 32
13
+
1114 // same to pvi_wf_mode
1215 enum epd_lut_type {
1316 WF_TYPE_RESET = 0,
....@@ -38,7 +41,7 @@
3841 int epd_lut_from_mem_init(void *waveform);
3942 int epd_lut_from_file_init(struct device *dev, void *waveform, int size);
4043 const char *epd_lut_get_wf_version(void);
41
-int epd_lut_get(struct epd_lut_data *output, enum epd_lut_type lut_type, int temperture);
44
+int epd_lut_get(struct epd_lut_data *output, enum epd_lut_type lut_type, int temperture, int pic);
4245
4346 //you can change overlay lut mode here
4447 int epd_overlay_lut(void);
....@@ -48,12 +51,12 @@
4851 */
4952 int pvi_wf_input(void *waveform_file);
5053 const char *pvi_wf_get_version(void);
51
-int pvi_wf_get_lut(struct epd_lut_data *output, enum epd_lut_type lut_type, int temperture);
54
+int pvi_wf_get_lut(struct epd_lut_data *output, enum epd_lut_type lut_type, int temperture, int pic);
5255
5356 /*
5457 * RKF Waveform Interfaces
5558 */
5659 int rkf_wf_input(void *waveform_file);
5760 const char *rkf_wf_get_version(void);
58
-int rkf_wf_get_lut(struct epd_lut_data *output, enum epd_lut_type lut_type, int temperture);
61
+int rkf_wf_get_lut(struct epd_lut_data *output, enum epd_lut_type lut_type, int temperture, int pic);
5962 #endif