OpenCloudOS-Kernel/drivers/gpu/drm/rcar-du
Laurent Pinchart 7f53b19cdf drm: rcar-du: Arm the page flip event after queuing the page flip
The page flip event is armed in the atomic begin handler, creating a
race condition with the frame end interrupt that could send the event
before the atomic operation actually completes. To avoid that, arm the
event in the atomic flush handler after queuing the page flip.

This change doesn't fully close the race window, as the frame end
interrupt could be generated before the page flip is committed to
hardware but only handled after the event is armed. However, the race
window is now much smaller.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
2017-05-22 16:11:41 +01:00
..
Kconfig drm: rcar-du: Add Gen3 HDMI encoder support 2017-04-04 17:04:13 +03:00
Makefile drm: rcar-du: Add Gen3 HDMI encoder support 2017-04-04 17:04:13 +03:00
rcar_du_crtc.c drm: rcar-du: Arm the page flip event after queuing the page flip 2017-05-22 16:11:41 +01:00
rcar_du_crtc.h drm: rcar-du: Add HDMI outputs to R8A7795 device description 2017-04-04 17:04:21 +03:00
rcar_du_drv.c drm: rcar-du: Add HDMI outputs to R8A7795 device description 2017-04-04 17:04:21 +03:00
rcar_du_drv.h drm: rcar-du: Add DPLL support 2017-04-04 17:04:19 +03:00
rcar_du_encoder.c drm: rcar-du: Hardcode encoders types to DRM_MODE_ENCODER_NONE 2017-04-04 17:04:04 +03:00
rcar_du_encoder.h drm: rcar-du: Hardcode encoders types to DRM_MODE_ENCODER_NONE 2017-04-04 17:04:04 +03:00
rcar_du_group.c drm: rcar-du: Fix dot clock routing configuration 2016-11-15 01:44:49 +02:00
rcar_du_group.h drm: rcar-du: Restart the DU group when a plane source changes 2016-02-20 02:58:55 +02:00
rcar_du_kms.c drm: rcar-du: Skip disabled outputs 2017-04-04 17:04:17 +03:00
rcar_du_kms.h drm/rcar-du: Update copyright notice 2014-09-15 11:34:06 +03:00
rcar_du_lvdscon.c drm: rcar-du: Use the DRM panel API 2017-04-04 17:03:56 +03:00
rcar_du_lvdscon.h drm: rcar-du: Constify node argument to rcar_du_lvds_connector_init() 2016-11-14 03:35:12 +02:00
rcar_du_lvdsenc.c drm: rcar-du: Add support for LVDS mode selection 2017-04-04 17:03:57 +03:00
rcar_du_lvdsenc.h drm: rcar-du: Add support for LVDS mode selection 2017-04-04 17:03:57 +03:00
rcar_du_plane.c drm: Nuke fb->pixel_format 2016-12-15 14:55:34 +02:00
rcar_du_plane.h drm: rcar: use generic code for managing zpos plane property 2016-07-29 10:03:10 +02:00
rcar_du_regs.h drm: rcar-du: Add DPLL support 2017-04-04 17:04:19 +03:00
rcar_du_vsp.c media fixes for v4.11-rc2 2017-03-09 15:50:56 -08:00
rcar_du_vsp.h drm: rcar-du: Make sure the VSP is initialized on platforms that need it 2017-04-04 17:03:50 +03:00
rcar_dw_hdmi.c drm: rcar-du: Add Gen3 HDMI encoder support 2017-04-04 17:04:13 +03:00
rcar_lvds_regs.h drm: rcar-du: lvds: Add R-Car Gen3 support 2016-02-23 09:34:32 +02:00