Skip to content

Commit 758e22a

Browse files
Laurent Pinchartgregkh
authored andcommitted
drm: rcar-du: Use the VBK interrupt for vblank events
commit cbbb90b upstream. When implementing support for interlaced modes, the driver switched from reporting vblank events on the vertical blanking (VBK) interrupt to the frame end interrupt (FRM). This incorrectly divided the reported refresh rate by two. Fix it by moving back to the VBK interrupt. Fixes: 906eff7 ("drm: rcar-du: Implement support for interlaced modes") Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com> Signed-off-by: thongsyho <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 1cb145c commit 758e22a

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
@@ -551,7 +551,7 @@ static irqreturn_t rcar_du_crtc_irq(int irq, void *arg)
551551
status = rcar_du_crtc_read(rcrtc, DSSR);
552552
rcar_du_crtc_write(rcrtc, DSRCR, status & DSRCR_MASK);
553553

554-
if (status & DSSR_FRM) {
554+
if (status & DSSR_VBK) {
555555
drm_crtc_handle_vblank(&rcrtc->crtc);
556556
rcar_du_crtc_finish_page_flip(rcrtc);
557557
ret = IRQ_HANDLED;

0 commit comments

Comments
 (0)