diff options
author | Maxime Ripard <maxime@cerno.tech> | 2022-07-11 19:38:33 +0200 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2022-07-13 10:46:05 +0200 |
commit | f134c9cd9ce829cc66d4d32c57b76de1aab54fe9 (patch) | |
tree | 4915b58527ded9b4609781e8d14b645d771aaa17 /include/media/videobuf-dma-sg.h | |
parent | 917dd05418148f05d8860b8106da8dcd1d258aaf (diff) |
drm/encoder: Introduce drmm_encoder_init
The DRM-managed function to register an encoder is
drmm_encoder_alloc() and its variants, which will allocate the underlying
structure and initialisation the encoder.
However, we might want to separate the structure creation and the encoder
initialisation, for example if the structure is shared across multiple DRM
entities, for example an encoder and a connector.
Let's create an helper to only initialise an encoder that would be passed
as an argument.
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20220711173939.1132294-4-maxime@cerno.tech
Diffstat (limited to 'include/media/videobuf-dma-sg.h')
0 files changed, 0 insertions, 0 deletions