drm: rcar-du: Wait for page flip completion when turning the CRTC off
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Wed, 18 Feb 2015 11:21:56 +0000 (13:21 +0200)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 3 Mar 2015 14:16:04 +0000 (16:16 +0200)
commit36693f3c3254d9361095f6b225d5e69bd8da5c32
tree89e80dd9bf956eb9dea66f40d39ffa11463967c2
parent17f6b8a0270f7a40b3dbe07dbcb6cb7f67ce570a
drm: rcar-du: Wait for page flip completion when turning the CRTC off

Turning a CRTC off will prevent a queued page flip from ever completing,
potentially confusing userspace. Wait for queued page flips to complete
before turning the CRTC off to avoid this.

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_crtc.h