MLK-17537-5: drm/bridge: nwl-dsi: correct crtc_clock when panel used
authorRobert Chiras <robert.chiras@nxp.com>
Mon, 4 Feb 2019 12:57:36 +0000 (14:57 +0200)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commitb5ad06ec7cdca436e33927cf833dcb01c4363ee2
treeae22440ee3ad7e355a112014b79cf120503fa8fb
parent53fb4c4671dc87d5f12b390ad187112726c03fff
MLK-17537-5: drm/bridge: nwl-dsi: correct crtc_clock when panel used

Panels can request a higher clock than the one that can actually be
driven by the CRTC, in order to have more time for DSI commands.
If this is the case, make sure that the crtc_clock used is one that can
actually be driven for current chosen phy_ref rate.

Signed-off-by: Robert Chiras <robert.chiras@nxp.com>
Reviewed-by: Laurentiu Palcu <laurentiu.palcu@nxp.com>
drivers/gpu/drm/bridge/nwl-dsi.c