projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
672c6b1
)
drm/panel: auo,b116xw03: fix flash backlight when power on
author
Jitao Shi
<jitao.shi@mediatek.com>
Sun, 5 Jul 2020 09:45:14 +0000
(17:45 +0800)
committer
Sam Ravnborg
<sam@ravnborg.org>
Sat, 11 Jul 2020 07:25:48 +0000
(09:25 +0200)
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
drivers/gpu/drm/panel/panel-simple.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/panel/panel-simple.c
b/drivers/gpu/drm/panel/panel-simple.c
index
4f0ec5e
..
cbd26ad
100644
(file)
--- 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 = {