]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit2af0394409faec95e80d6061a8a9fe95565be358
treed2eae3c1bbacd0244e7f35012156f0080525f28f
parent34a04f2b7baaa980fcb9eff9cbfb28a947c67f74
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