diff options
author | Jitao Shi <jitao.shi@mediatek.com> | 2020-07-05 12:45:14 +0300 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2020-07-11 10:25:48 +0300 |
commit | 88d3457ceb82829f8ae2507b68971dc534fa4cf8 (patch) | |
tree | 956d5151dd23eca415099d2cf6d200c3603b1a11 | |
parent | 672c6b1fe621af0e53fbb11e6feda61d336d78e1 (diff) | |
download | linux-88d3457ceb82829f8ae2507b68971dc534fa4cf8.tar.xz |
drm/panel: auo,b116xw03: fix flash backlight when power on
Delay the backlight on to make sure the video stable.
Signed-off-by: Jitao Shi <jitao.shi@mediatek.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200705094514.34526-1-jitao.shi@mediatek.com
-rw-r--r-- | drivers/gpu/drm/panel/panel-simple.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 4f0ec5e5b0aa..cbd26adf3a3b 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -792,6 +792,7 @@ static const struct drm_display_mode auo_b116xw03_mode = { .vsync_start = 768 + 10, .vsync_end = 768 + 10 + 12, .vtotal = 768 + 10 + 12 + 6, + .flags = DRM_MODE_FLAG_NVSYNC | DRM_MODE_FLAG_NHSYNC, }; static const struct panel_desc auo_b116xw03 = { @@ -802,6 +803,12 @@ static const struct panel_desc auo_b116xw03 = { .width = 256, .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 = { |