forked from Minki/linux
52055bafa1
As the DRM core will commit plane states when performing atomic updates, those don't need to be committed manually when the CRTC is started except in the system resume code path. However, the atomic plane commit step is currently performed between mode set disable and mode set enable to mimick the legacy mode setting operations order. This causes the device clocks to be disabled after applying plane settings and reenabled when enabling the CRTC, potentially losing hardware in between. Reorder the operations to enable the CRTC first and only then apply plane settings, removing the need to manage clocks in the atomic begin and flush handlers. We can then move the plane state commit code out of the CRTC start handler to the system resume handler. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
rcar_du_crtc.c | ||
rcar_du_crtc.h | ||
rcar_du_drv.c | ||
rcar_du_drv.h | ||
rcar_du_encoder.c | ||
rcar_du_encoder.h | ||
rcar_du_group.c | ||
rcar_du_group.h | ||
rcar_du_hdmicon.c | ||
rcar_du_hdmicon.h | ||
rcar_du_hdmienc.c | ||
rcar_du_hdmienc.h | ||
rcar_du_kms.c | ||
rcar_du_kms.h | ||
rcar_du_lvdscon.c | ||
rcar_du_lvdscon.h | ||
rcar_du_lvdsenc.c | ||
rcar_du_lvdsenc.h | ||
rcar_du_plane.c | ||
rcar_du_plane.h | ||
rcar_du_regs.h | ||
rcar_du_vgacon.c | ||
rcar_du_vgacon.h | ||
rcar_lvds_regs.h |