Skip to content

Commit 64f3c53

Browse files
KojiMatsuokagregkh
authored andcommitted
drm: rcar-du: Fix display timing controller parameter
commit 9cdced8a39c04cf798ddb2a27cb5952f7d39f633 upstream. There is a bug in the setting of the DES (Display Enable Signal) register. This current setting occurs 1 dot left shift. The DES register should be set minus one value about the specifying value with H/W specification. This patch corrects it. Signed-off-by: Koji Matsuoka <koji.matsuoka.xm@renesas.com> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Thong Ho <thong.ho.px@rvc.renesas.com> Signed-off-by: Nhan Nguyen <nhan.nguyen.yb@renesas.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent fbf5839 commit 64f3c53

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/gpu/drm/rcar-du/rcar_du_crtc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ static void rcar_du_crtc_set_display_timing(struct rcar_du_crtc *rcrtc)
171171
mode->crtc_vsync_start - 1);
172172
rcar_du_crtc_write(rcrtc, VCR, mode->crtc_vtotal - 1);
173173

174-
rcar_du_crtc_write(rcrtc, DESR, mode->htotal - mode->hsync_start);
174+
rcar_du_crtc_write(rcrtc, DESR, mode->htotal - mode->hsync_start - 1);
175175
rcar_du_crtc_write(rcrtc, DEWR, mode->hdisplay);
176176
}
177177

0 commit comments

Comments
 (0)