]> git.baikalelectronics.ru Git - kernel.git/commit
drm: rcar-du: Use the VBK interrupt for vblank events
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Mon, 10 Jul 2017 20:46:39 +0000 (23:46 +0300)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Thu, 3 Aug 2017 13:17:26 +0000 (16:17 +0300)
commit03c2658f1c0a165adfc69a6a0bf363b54ee1ffbb
tree885d7d402cbd8169fef8fdbe59c9a0124af84701
parent8b0caea478ea60ae95163973fa14e8ee3b922a2d
drm: rcar-du: Use the VBK interrupt for vblank events

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: 540d7342808f ("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>
drivers/gpu/drm/rcar-du/rcar_du_crtc.c