]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: dsi: Register dsi0 as the correct vc4 encoder type
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Mon, 13 Jun 2022 14:47:41 +0000 (16:47 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Tue, 28 Jun 2022 12:55:33 +0000 (14:55 +0200)
commit65d5b5c98b531bd32bb4ee7fa3cae702ab599aed
treec5b3b1906fc933673b9f35ac21e14192976d4c89
parentbc480a2ec67cb9994b18a0a29ef9ca3093da47a7
drm/vc4: dsi: Register dsi0 as the correct vc4 encoder type

vc4_dsi was registering both dsi0 and dsi1 as VC4_ENCODER_TYPE_DSI1
which seemed to work OK for a single DSI display, but fails
if there are two DSI displays connected.

Update to register the correct type.

Fixes: a692878e328c ("drm/vc4: Add DSI driver")
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Link: https://lore.kernel.org/r/20220613144800.326124-15-maxime@cerno.tech
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
drivers/gpu/drm/vc4/vc4_dsi.c