]> git.baikalelectronics.ru Git - kernel.git/commit
drm/bridge: tc358767: reject modes which require too much BW
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 3 Jan 2019 11:59:52 +0000 (13:59 +0200)
committerAndrzej Hajda <a.hajda@samsung.com>
Wed, 9 Jan 2019 09:49:30 +0000 (10:49 +0100)
commitb138776d150929fcd86e7da8ab19163ea63931e5
tree8f835e6d867453ce666b463a43dcb00f643f3e6a
parentd4521a5236903105fd114493529199c1c9b05481
drm/bridge: tc358767: reject modes which require too much BW

The current driver accepts any videomode with pclk < 154MHz. This is not
correct, as with 1 lane and/or 1.62Mbps speed not all videomodes can be
supported.

Add code to reject modes that require more bandwidth that is available.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190103115954.12785-6-tomi.valkeinen@ti.com
drivers/gpu/drm/bridge/tc358767.c