dev: gcdb: display: fix slight flicker for HD+ panel on SDM429
Increase data clk to fix slight flicker and distortion lines
on hx8399c HD+ panel.
Change-Id: I8b0ffba9d41a3ae784cfbbdeef47e87ce2348ad1
Signed-off-by: Wenjun Zhang <wjzhan@codeaurora.org>
diff --git a/dev/gcdb/display/include/panel_hx8399c_hd_plus_video.h b/dev/gcdb/display/include/panel_hx8399c_hd_plus_video.h
index 1adbc49..679c7d5 100644
--- a/dev/gcdb/display/include/panel_hx8399c_hd_plus_video.h
+++ b/dev/gcdb/display/include/panel_hx8399c_hd_plus_video.h
@@ -47,7 +47,7 @@
/* Panel resolution */
/*---------------------------------------------------------------------------*/
static struct panel_resolution hx8399c_hd_plus_video_panel_res = {
- 720, 1440, 24, 24, 16, 0, 36, 40, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0
+ 720, 1440, 48, 48, 16, 0, 60, 40, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0
};
/*---------------------------------------------------------------------------*/
@@ -304,19 +304,19 @@
/* Panel timing */
/*---------------------------------------------------------------------------*/
static const uint32_t hx8399c_hd_plus_video_timings[] = {
- 0x7E, 0x48, 0x3C, 0x00, 0x64, 0x59, 0x3B, 0x4A, 0x2E, 0x03, 0x04, 0x00
+ 0x90, 0x1C, 0x12, 0x00, 0x42, 0x44, 0x18, 0x20, 0x16, 0x03, 0x04, 0x00
};
static const uint32_t hx8399c_hd_plus_video_12nm_timings[] = {
- 0x08, 0x06, 0x0A, 0x02, 0x00, 0x04, 0x02, 0x08
+ 0x09, 0x06, 0x0A, 0x02, 0x00, 0x05, 0x02, 0x08
};
static const uint32_t hx8399c_hd_plus_14nm_video_timings[] = {
- 0x24, 0x1f, 0x08, 0x09, 0x05, 0x03, 0x04, 0xa0,
- 0x24, 0x1f, 0x08, 0x09, 0x05, 0x03, 0x04, 0xa0,
- 0x24, 0x1f, 0x08, 0x09, 0x05, 0x03, 0x04, 0xa0,
- 0x24, 0x1f, 0x08, 0x09, 0x05, 0x03, 0x04, 0xa0,
- 0x24, 0x1c, 0x08, 0x09, 0x05, 0x03, 0x04, 0xa0,
+ 0x1e, 0x1c, 0x04, 0x06, 0x02, 0x03, 0x04, 0xa0,
+ 0x1e, 0x1c, 0x04, 0x06, 0x02, 0x03, 0x04, 0xa0,
+ 0x1e, 0x1c, 0x04, 0x06, 0x02, 0x03, 0x04, 0xa0,
+ 0x1e, 0x1c, 0x04, 0x06, 0x02, 0x03, 0x04, 0xa0,
+ 0x1e, 0x0e, 0x04, 0x05, 0x02, 0x03, 0x04, 0xa0,
};
static struct panel_timing hx8399c_hd_plus_video_timing_info = {
0, 4, 0x0e, 0x31