diff options
author | Maxime Ripard <maxime@cerno.tech> | 2022-12-01 16:11:46 +0100 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2022-12-08 09:56:56 +0100 |
commit | 0656ce1240bc44c03ee31499e8e739b7d61138bb (patch) | |
tree | abab625b1bea9ae30bb0a9164f4cda9e6581fb9f /drivers/gpu/drm/vc4/vc4_hvs.c | |
parent | drm/vc4: crtc: Introduce a lower-level crtc init helper (diff) | |
download | linux-0656ce1240bc44c03ee31499e8e739b7d61138bb.tar.xz linux-0656ce1240bc44c03ee31499e8e739b7d61138bb.zip |
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: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: MaĆra Canal <mcanal@igalia.com>
Link: https://lore.kernel.org/r/20221123-rpi-kunit-tests-v3-15-4615a663a84a@cerno.tech
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Diffstat (limited to 'drivers/gpu/drm/vc4/vc4_hvs.c')
0 files changed, 0 insertions, 0 deletions