Re: [PATCH 19/24] drm/vc4: crtc: Make encoder lookup helper public

2022-11-25 Thread Javier Martinez Canillas
On 11/23/22 16:26, Maxime Ripard wrote: > We'll need a function that looks up an encoder by its vc4_encoder_type. > Such a function is already present in the CRTC code, so let's make it > public so that we can reuse it in the unit tests. > > Signed-off-by: Maxime Ripard > --- Reviewed-by: Javier

[PATCH 19/24] drm/vc4: crtc: Make encoder lookup helper public

2022-11-23 Thread Maxime Ripard
We'll need a function that looks up an encoder by its vc4_encoder_type. Such a function is already present in the CRTC code, so let's make it public so that we can reuse it in the unit tests. Signed-off-by: Maxime Ripard --- drivers/gpu/drm/vc4/vc4_crtc.c | 17 + drivers/gpu/drm/