]> git.itanic.dy.fi Git - linux-stable/commit
drm/encoder: make encoder control functions optional
authorPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 10 Dec 2020 15:38:27 +0000 (16:38 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 4 Jan 2021 11:59:33 +0000 (12:59 +0100)
commitf35a2a99100fbed583efaf07919ef071cd75b059
tree05104e1c38ed2c4343a4933b5257ce03101b73ea
parentc2d789fb500cbdb19a48a57451bb402f00996e9f
drm/encoder: make encoder control functions optional

Simple managed encoders do not require the .destroy callback,
make the whole funcs structure optional.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_encoder.c
drivers/gpu/drm/drm_mode_config.c
include/drm/drm_encoder.h