diff options
author | Maxime Ripard <maxime@cerno.tech> | 2020-10-29 15:25:22 +0300 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2020-11-19 16:29:26 +0300 |
commit | 57fb32e632be4d406b4594829e3befdae1100c12 (patch) | |
tree | f459ea58698d380c43ea844b50ccb7212b129d97 /drivers/gpu/drm/vc4/vc4_hdmi.h | |
parent | 63495f6b4aede26e6f8fe3da69e5cfdd8a4ccc3b (diff) | |
download | linux-57fb32e632be4d406b4594829e3befdae1100c12.tar.xz |
drm/vc4: hdmi: Block odd horizontal timings
The FIFO between the pixelvalve and the HDMI controller runs at 2 pixels
per clock cycle, and cannot deal with odd timings.
Let's reject any mode with such timings.
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201029122522.1917579-2-maxime@cerno.tech
Diffstat (limited to 'drivers/gpu/drm/vc4/vc4_hdmi.h')
-rw-r--r-- | drivers/gpu/drm/vc4/vc4_hdmi.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/vc4/vc4_hdmi.h b/drivers/gpu/drm/vc4/vc4_hdmi.h index 63c6f8bddf1d..6815e93b1a48 100644 --- a/drivers/gpu/drm/vc4/vc4_hdmi.h +++ b/drivers/gpu/drm/vc4/vc4_hdmi.h @@ -62,6 +62,9 @@ struct vc4_hdmi_variant { */ enum vc4_hdmi_phy_channel phy_lane_mapping[4]; + /* The BCM2711 cannot deal with odd horizontal pixel timings */ + bool unsupported_odd_h_timings; + /* Callback to get the resources (memory region, interrupts, * clocks, etc) for that variant. */ |