From 0d8657dd3056063fb115946b10157477b5c70451 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Mon, 20 Nov 2023 09:09:45 +0000
Subject: [PATCH] enable lvds 1280x800
---
kernel/drivers/gpu/drm/rockchip/ebc-dev/epdlut/epd_lut.h | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/kernel/drivers/gpu/drm/rockchip/ebc-dev/epdlut/epd_lut.h b/kernel/drivers/gpu/drm/rockchip/ebc-dev/epdlut/epd_lut.h
index b6c535d..15fe6ea 100644
--- a/kernel/drivers/gpu/drm/rockchip/ebc-dev/epdlut/epd_lut.h
+++ b/kernel/drivers/gpu/drm/rockchip/ebc-dev/epdlut/epd_lut.h
@@ -8,6 +8,9 @@
#ifndef EPD_LUT_H
#define EPD_LUT_H
+#define WF_4BIT 16
+#define WF_5BIT 32
+
// same to pvi_wf_mode
enum epd_lut_type {
WF_TYPE_RESET = 0,
@@ -38,7 +41,7 @@
int epd_lut_from_mem_init(void *waveform);
int epd_lut_from_file_init(struct device *dev, void *waveform, int size);
const char *epd_lut_get_wf_version(void);
-int epd_lut_get(struct epd_lut_data *output, enum epd_lut_type lut_type, int temperture);
+int epd_lut_get(struct epd_lut_data *output, enum epd_lut_type lut_type, int temperture, int pic);
//you can change overlay lut mode here
int epd_overlay_lut(void);
@@ -48,12 +51,12 @@
*/
int pvi_wf_input(void *waveform_file);
const char *pvi_wf_get_version(void);
-int pvi_wf_get_lut(struct epd_lut_data *output, enum epd_lut_type lut_type, int temperture);
+int pvi_wf_get_lut(struct epd_lut_data *output, enum epd_lut_type lut_type, int temperture, int pic);
/*
* RKF Waveform Interfaces
*/
int rkf_wf_input(void *waveform_file);
const char *rkf_wf_get_version(void);
-int rkf_wf_get_lut(struct epd_lut_data *output, enum epd_lut_type lut_type, int temperture);
+int rkf_wf_get_lut(struct epd_lut_data *output, enum epd_lut_type lut_type, int temperture, int pic);
#endif
--
Gitblit v1.6.2