drm/bridge: ti-sn65dsi86: Poll for DP PLL Lock
authorSean Paul <seanpaul@chromium.org>
Mon, 13 Aug 2018 21:30:44 +0000 (17:30 -0400)
committerSean Paul <seanpaul@chromium.org>
Tue, 14 Aug 2018 18:06:01 +0000 (14:06 -0400)
commitfc52d0ed11188cae53912a13b44c1a77f058ae26
treedcb3279eeae5f78ed5ebd0ecd151c792a4db0820
parent73c89ead71859af7f439ac983e9e6f610448d44e
drm/bridge: ti-sn65dsi86: Poll for DP PLL Lock

Instead of just waiting and hoping, actually poll for the pll lock to be
acquired. As a bonus, this should be significantly faster than the
sleep.

Changes in v3:
- Added to the set

Cc: Sandeep Panda <spanda@codeaurora.org>
Reviewed-by: Sandeep Panda <spanda@codeaurora.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20180813213058.184821-6-sean@poorly.run
drivers/gpu/drm/bridge/ti-sn65dsi86.c