forked from Minki/linux
845f46356b
Use the new CRTC atomic transitional helpers drm_helper_crtc_mode_set() and drm_helper_crtc_mode_set_base() to implement the CRTC .mode_set and .mode_set_base operations. This delegates primary plane configuration to the plane .atomic_update and .atomic_disable operations, removing duplicate code from the CRTC implementation. There is now no code path available to the driver in which to drop the reference to the CRTC acquired in the .prepare() operation if an error then occurs. The driver thus now leaks a reference if an error occurs during mode set. So be it, this will be fixed in a further step of the atomic update transition. 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 |