drm/vc4: FKMS Block modes with odd horizontal timing values on Pi4
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Fri, 3 Jul 2020 15:06:55 +0000 (16:06 +0100)
committerPhil Elwell <8911409+pelwell@users.noreply.github.com>
Fri, 3 Jul 2020 16:14:31 +0000 (17:14 +0100)
commit18967206cfdb067cb7e33a04fadbd8078c71e960
tree79466d6bc1fefa61b9708ac5722ce84ef0775130
parent3148b13c2ce024c3bfcad5025cccd1a55c729470
drm/vc4: FKMS Block modes with odd horizontal timing values on Pi4

Pi4 HDMI pipeline is 2 pixels/clock and can not produce timings
that have odd values for active pixels, front porch, sync width,
or back porch.
Detect these modes and block them within fkms.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
drivers/gpu/drm/vc4/vc4_firmware_kms.c