]> git.baikalelectronics.ru Git - kernel.git/commit
drm/bridge: tc358767: read display_props in get_modes()
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 28 May 2019 08:27:44 +0000 (11:27 +0300)
committerAndrzej Hajda <a.hajda@samsung.com>
Fri, 31 May 2019 13:41:29 +0000 (15:41 +0200)
commit5cafdc099a8f02de1bfc1ca18aa30eda15c571ef
treef2aabe7b30168cbbbb0f2224bcea821007d7a4ba
parent0db7209e5d349abd182f015344e6d4b4aeb81f07
drm/bridge: tc358767: read display_props in get_modes()

We need to know the link bandwidth to filter out modes we cannot
support, so we need to have read the display props before doing the
filtering.

To ensure we have up to date display props, call tc_get_display_props()
in the beginning of tc_connector_get_modes().

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/20190528082747.3631-22-tomi.valkeinen@ti.com
drivers/gpu/drm/bridge/tc358767.c