projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0cabb08
)
drm/stm: ltdc: fix data enable polarity
author
Yannick Fertré
<yannick.fertre@st.com>
Fri, 29 Mar 2019 15:50:20 +0000
(16:50 +0100)
committer
Benjamin Gaignard
<benjamin.gaignard@linaro.org>
Wed, 24 Apr 2019 11:51:27 +0000
(13:51 +0200)
Wrong DISPLAY_FLAGS used to set the data enable polarity.
Signed-off-by: Yannick Fertré <yannick.fertre@st.com>
Acked-by: Philippe Cornu <philippe.cornu@st.com>
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Link:
https://patchwork.freedesktop.org/patch/msgid/1553874620-31468-1-git-send-email-yannick.fertre@st.com
drivers/gpu/drm/stm/ltdc.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/stm/ltdc.c
b/drivers/gpu/drm/stm/ltdc.c
index
e92f660
..
02f67fa
100644
(file)
--- a/
drivers/gpu/drm/stm/ltdc.c
+++ b/
drivers/gpu/drm/stm/ltdc.c
@@
-555,7
+555,7
@@
static void ltdc_crtc_mode_set_nofb(struct drm_crtc *crtc)
if (vm.flags & DISPLAY_FLAGS_VSYNC_HIGH)
val |= GCR_VSPOL;
- if (vm.flags & DISPLAY_FLAGS_DE_
HIGH
)
+ if (vm.flags & DISPLAY_FLAGS_DE_
LOW
)
val |= GCR_DEPOL;
if (vm.flags & DISPLAY_FLAGS_PIXDATA_NEGEDGE)