Commit 88d3457c authored by Jitao Shi's avatar Jitao Shi Committed by Sam Ravnborg

drm/panel: auo,b116xw03: fix flash backlight when power on

Delay the backlight on to make sure the video stable.
Signed-off-by: default avatarJitao Shi <jitao.shi@mediatek.com>
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200705094514.34526-1-jitao.shi@mediatek.com
parent 672c6b1f
...@@ -792,6 +792,7 @@ static const struct drm_display_mode auo_b116xw03_mode = { ...@@ -792,6 +792,7 @@ static const struct drm_display_mode auo_b116xw03_mode = {
.vsync_start = 768 + 10, .vsync_start = 768 + 10,
.vsync_end = 768 + 10 + 12, .vsync_end = 768 + 10 + 12,
.vtotal = 768 + 10 + 12 + 6, .vtotal = 768 + 10 + 12 + 6,
.flags = DRM_MODE_FLAG_NVSYNC | DRM_MODE_FLAG_NHSYNC,
}; };
static const struct panel_desc auo_b116xw03 = { static const struct panel_desc auo_b116xw03 = {
...@@ -802,6 +803,12 @@ static const struct panel_desc auo_b116xw03 = { ...@@ -802,6 +803,12 @@ static const struct panel_desc auo_b116xw03 = {
.width = 256, .width = 256,
.height = 144, .height = 144,
}, },
.delay = {
.enable = 400,
},
.bus_flags = DRM_BUS_FLAG_SYNC_DRIVE_NEGEDGE,
.bus_format = MEDIA_BUS_FMT_RGB666_1X18,
.connector_type = DRM_MODE_CONNECTOR_eDP,
}; };
static const struct drm_display_mode auo_b133xtn01_mode = { static const struct drm_display_mode auo_b133xtn01_mode = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment