projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcd5f0a
)
MLK-16347-5: gpu: imx: dpu: TCON adjustment
author
Oliver Brown
<oliver.brown@nxp.com>
Sat, 9 Sep 2017 00:58:22 +0000
(19:58 -0500)
committer
Nitin Garg
<nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:39:13 +0000
(15:39 -0500)
The DPU TCON register regarding hsync/vsync are incorrectly
initialized. So, adjust vsync start to align with hsync start.
Signed-off-by: Oliver Brown <oliver.brown@nxp.com>
Signed-off-by: Robert Chiras <robert.chiras@nxp.com>
drivers/gpu/imx/dpu/dpu-tcon.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/imx/dpu/dpu-tcon.c
b/drivers/gpu/imx/dpu/dpu-tcon.c
index
ff3fda0
..
eb76df3
100644
(file)
--- a/
drivers/gpu/imx/dpu/dpu-tcon.c
+++ b/
drivers/gpu/imx/dpu/dpu-tcon.c
@@
-130,11
+130,11
@@
void tcon_cfg_videomode(struct dpu_tcon *tcon, struct drm_display_mode *m)
dpu_tcon_write(tcon, 0x1, SMXFCTTABLE(0));
/* dsp_control[1]: vsync */
- dpu_tcon_write(tcon, X(m->hsync_
end
) | Y(m->vsync_start - 1),
+ dpu_tcon_write(tcon, X(m->hsync_
start
) | Y(m->vsync_start - 1),
SPGPOSON(1));
dpu_tcon_write(tcon, 0x0, SPGMASKON(1));
- dpu_tcon_write(tcon, X(m->hsync_
end
) | Y(m->vsync_end - 1),
+ dpu_tcon_write(tcon, X(m->hsync_
start
) | Y(m->vsync_end - 1),
SPGPOSOFF(1));
dpu_tcon_write(tcon, 0x0, SPGMASKOFF(1));