diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2020-12-10 16:38:27 +0100 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2021-01-04 12:59:33 +0100 |
commit | f35a2a99100fbed583efaf07919ef071cd75b059 (patch) | |
tree | 05104e1c38ed2c4343a4933b5257ce03101b73ea /include/drm | |
parent | gpu: drm: imx: convert comma to semicolon (diff) | |
download | linux-f35a2a99100fbed583efaf07919ef071cd75b059.tar.xz linux-f35a2a99100fbed583efaf07919ef071cd75b059.zip |
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>
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drm_encoder.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/drm_encoder.h b/include/drm/drm_encoder.h index 5dfa5f7a80a7..833123637fbf 100644 --- a/include/drm/drm_encoder.h +++ b/include/drm/drm_encoder.h @@ -89,7 +89,7 @@ struct drm_encoder_funcs { * @head: list management * @base: base KMS object * @name: human readable name, can be overwritten by the driver - * @funcs: control functions + * @funcs: control functions, can be NULL for simple managed encoders * @helper_private: mid-layer private data * * CRTCs drive pixels to encoders, which convert them into signals |