Skip to content
Unverified Commit 0656ce12 authored by Maxime Ripard's avatar Maxime Ripard
Browse files

drm/vc4: crtc: Make encoder lookup helper public



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.

Reviewed-by: default avatarJavier Martinez Canillas <javierm@redhat.com>
Reviewed-by: default avatarMaíra Canal <mcanal@igalia.com>
Link: https://lore.kernel.org/r/20221123-rpi-kunit-tests-v3-15-4615a663a84a@cerno.tech
Signed-off-by: default avatarMaxime Ripard <maxime@cerno.tech>
parent ee33ac27
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment