drm/bridge: ti-sn65dsi86: Reject modes with too large blanking
authorTomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com>
Wed, 31 Aug 2022 08:26:51 +0000 (11:26 +0300)
committerRobert Foss <robert.foss@linaro.org>
Fri, 2 Sep 2022 16:17:57 +0000 (18:17 +0200)
commit3fc307dcec8b9aeecae8c1bf2c97f770805daf4e
tree356db5215a4075b899ba11d1595858f8c118a14f
parente06a46087d8bbde7ca31361789edfe026b08fdce
drm/bridge: ti-sn65dsi86: Reject modes with too large blanking

The front and back porch registers are 8 bits, and pulse width registers
are 15 bits, so reject any modes with larger periods.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com>
Reviewed-by: Robert Foss <robert.foss@linaro.org>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220831082653.20449-2-tomi.valkeinen@ideasonboard.com
drivers/gpu/drm/bridge/ti-sn65dsi86.c