Commit 02352bfd authored by Eric Bernstein's avatar Eric Bernstein Committed by Alex Deucher

drm/amd/display: Always wait for update lock status

Remove code that would skip wait for lock status for Diags
FPGA case
Reviewed-by: default avatarLaktyushkin Dmytro <dmytro.laktyushkin@amd.com>
Acked-by: default avatarSolomon Chiu <solomon.chiu@amd.com>
Signed-off-by: default avatarEric Bernstein <eric.bernstein@amd.com>
Tested-by: default avatarDaniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 7ac851bc
...@@ -109,11 +109,9 @@ void optc3_lock(struct timing_generator *optc) ...@@ -109,11 +109,9 @@ void optc3_lock(struct timing_generator *optc)
REG_SET(OTG_MASTER_UPDATE_LOCK, 0, REG_SET(OTG_MASTER_UPDATE_LOCK, 0,
OTG_MASTER_UPDATE_LOCK, 1); OTG_MASTER_UPDATE_LOCK, 1);
/* Should be fast, status does not update on maximus */ REG_WAIT(OTG_MASTER_UPDATE_LOCK,
if (optc->ctx->dce_environment != DCE_ENV_FPGA_MAXIMUS) UPDATE_LOCK_STATUS, 1,
REG_WAIT(OTG_MASTER_UPDATE_LOCK, 1, 10);
UPDATE_LOCK_STATUS, 1,
1, 10);
} }
void optc3_set_out_mux(struct timing_generator *optc, enum otg_out_mux_dest dest) void optc3_set_out_mux(struct timing_generator *optc, enum otg_out_mux_dest dest)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment