OSDN Git Service

drm/rockchip: vop2: use symmetric function pair vop2_{create,destroy}_crtcs
authorMichael Riesch <michael.riesch@wolfvision.net>
Tue, 24 Jan 2023 05:47:04 +0000 (06:47 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 5 Feb 2023 14:21:38 +0000 (15:21 +0100)
commitcddddc066b056e7bb629a8c4d99c9c4a8ca70a6a
tree83b05db4269c33ef9e9d31ee0ff21f36eb3cf4d7
parent03db8f25cf16c579fe75fd2230bbe64c221bfe25
drm/rockchip: vop2: use symmetric function pair vop2_{create,destroy}_crtcs

Let the function name vop2_create_crtcs reflect that the function creates
multiple CRTCS. Also, use a symmetric function pair to create and destroy
the CRTCs and the corresponding planes.

Signed-off-by: Michael Riesch <michael.riesch@wolfvision.net>
Reviewed-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20230124054706.3921383-5-michael.riesch@wolfvision.net
drivers/gpu/drm/rockchip/rockchip_drm_vop2.c