]> git.baikalelectronics.ru Git - kernel.git/commit
drm: rcar-du: Restart the DU group when a plane source changes
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Sat, 24 Aug 2013 00:17:03 +0000 (02:17 +0200)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Sat, 20 Feb 2016 00:58:55 +0000 (02:58 +0200)
commitc538f9865b77895898391b475ff04bfee79e3d26
treed2eae3c1bbacd0244e7f35012156f0080525f28f
parent0ea73e1951e264d8c26e52e3bc4f8f141d7f706c
drm: rcar-du: Restart the DU group when a plane source changes

Plane sources are configured by the VSPS bit in the PnDDCR4 register.
Although the datasheet states that the bit is updated during vertical
blanking, it seems that updates only occur when the DU group is held in
reset through the DSYSR.DRES bit. Restart the group if the source
changes.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
drivers/gpu/drm/rcar-du/rcar_du_crtc.c
drivers/gpu/drm/rcar-du/rcar_du_group.c
drivers/gpu/drm/rcar-du/rcar_du_group.h
drivers/gpu/drm/rcar-du/rcar_du_plane.c