]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd9c7a76e009ef6f1c4ddce7196c99c6543a1a333
tree89e80dd9bf956eb9dea66f40d39ffa11463967c2
parentacbec0844d2fb6dcfba094bd261bc601f7fae4af
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