diff options
author | Mateusz Kwiatkowski <kfyatek+publicgit@gmail.com> | 2021-05-20 17:03:41 +0200 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2021-05-24 13:52:06 +0200 |
commit | fc7a8abcee2225d6279ff785d33e24d70c738c6e (patch) | |
tree | 5278d1ef2dbce63111c0a0565b11b5bbd0913e27 /drivers/gpu/drm/vc4/vc4_crtc.c | |
parent | Merge drm/drm-next into drm-misc-next (diff) | |
download | linux-fc7a8abcee2225d6279ff785d33e24d70c738c6e.tar.xz linux-fc7a8abcee2225d6279ff785d33e24d70c738c6e.zip |
drm/vc4: Fix clock source for VEC PixelValve on BCM2711
On the BCM2711 (Raspberry Pi 4), the VEC is actually connected to
output 2 of pixelvalve3.
NOTE: This contradicts the Broadcom docs, but has been empirically
tested and confirmed by Raspberry Pi firmware devs.
Signed-off-by: Mateusz Kwiatkowski <kfyatek+publicgit@gmail.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210520150344.273900-2-maxime@cerno.tech
Diffstat (limited to '')
-rw-r--r-- | drivers/gpu/drm/vc4/vc4_crtc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/vc4/vc4_crtc.c b/drivers/gpu/drm/vc4/vc4_crtc.c index 76657dcdf9b0..665ddf8f347f 100644 --- a/drivers/gpu/drm/vc4/vc4_crtc.c +++ b/drivers/gpu/drm/vc4/vc4_crtc.c @@ -994,7 +994,7 @@ static const struct vc4_pv_data bcm2711_pv3_data = { .fifo_depth = 64, .pixels_per_clock = 1, .encoder_types = { - [0] = VC4_ENCODER_TYPE_VEC, + [PV_CONTROL_CLK_SELECT_VEC] = VC4_ENCODER_TYPE_VEC, }, }; |