summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/rcar-du/rcar_du_kms.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2015-05-14 15:01:47 +0300
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2015-06-16 14:15:47 +0300
commit911316fe2f4113a096b9975f2467fc501864aef0 (patch)
treef34624cd2350948ceed84ad0e3f22d7f22db67cc /drivers/gpu/drm/rcar-du/rcar_du_kms.c
parent6e0c6e1895b9fff3cdb6ef746ee3d8dd4e852f40 (diff)
downloadop-kernel-dev-911316fe2f4113a096b9975f2467fc501864aef0.zip
op-kernel-dev-911316fe2f4113a096b9975f2467fc501864aef0.tar.gz
drm: rcar-du: Disable all planes when stopping the CRTC
The DSnPR plane configuration registers are updated on vblank, and no vblank will occur once the CRTC is stopped. We thus can't only disable planes right before starting the CRTC as it would start scanning out immediately from old frame buffers until the next vblank. Fix the problem by disabling all planes when stopping the CRTC and wait for the change to take effect. This increases the CRTC stop delay, especially when multiple CRTCs are stopped in one operation as we now wait for one vblank per CRTC. Whether this can be improved needs to be researched. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Diffstat (limited to 'drivers/gpu/drm/rcar-du/rcar_du_kms.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud