diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2024-06-19 20:21:58 +0200 |
---|---|---|
committer | Robert Foss <rfoss@kernel.org> | 2024-06-27 11:52:16 +0200 |
commit | 0fa5e37f874850e4cd09ba45e79ec698f4630da5 (patch) | |
tree | 579e8ceb1f4089c7d6d27b19b0518602d26a7417 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
parent | 917c8d192ba6ada16b4cf11c786f3dbfe70de0d9 (diff) |
drm/bridge: analogix_dp: simplify and correct PLL lock checks
Move the wait loop into its own function, so it doesn't need to be
replicated in multiple locations. Also move the PLL lock checks between
setting the link bandwidth, which may cause the PLL to unlock, and the
MACRO_RST which needs the PLL to be locked.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Robert Foss <rfoss@kernel.org>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Robert Foss <rfoss@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240619182200.3752465-12-l.stach@pengutronix.de
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions