diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2017-07-29 02:31:33 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2017-08-03 16:17:27 +0300 |
commit | 641307df71fe77d7b38a477067495ede05d47295 (patch) | |
tree | e67af091860fae6e9ca454db8ba0a1e50a2699bb /drivers/media/platform/vsp1 | |
parent | d6160246f651b7cbd370408248f95c3bea8c24ed (diff) | |
download | linux-641307df71fe77d7b38a477067495ede05d47295.tar.xz |
drm: rcar-du: Fix race condition when disabling planes at CRTC stop
When stopping the CRTC the driver must disable all planes and wait for
the change to take effect at the next vblank. Merely calling
drm_crtc_wait_one_vblank() is not enough, as the function doesn't
include any mechanism to handle the race with vblank interrupts.
Replace the drm_crtc_wait_one_vblank() call with a manual mechanism that
handles the vblank interrupt race.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Diffstat (limited to 'drivers/media/platform/vsp1')
0 files changed, 0 insertions, 0 deletions