diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2017-10-11 19:42:30 +0300 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2017-10-17 03:43:05 +0300 |
commit | 4770b18493b3d9fe1f8913e69ec5134b103d5788 (patch) | |
tree | 32e02557dcb0dc5c1f777b9a3a7095016e105faf /drivers/gpu/drm/amd/display/dc/core/dc_link_hwss.c | |
parent | 8db02ca3410b0668d520c0c5d7ba0e7e3eaa811a (diff) | |
download | linux-4770b18493b3d9fe1f8913e69ec5134b103d5788.tar.xz |
drm/amd/display/dc: drop dm_delay_in_microseconds
Use udelay directly.
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/core/dc_link_hwss.c')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/core/dc_link_hwss.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link_hwss.c b/drivers/gpu/drm/amd/display/dc/core/dc_link_hwss.c index 616431e25b79..5f815cab94b5 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc_link_hwss.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc_link_hwss.c @@ -127,7 +127,7 @@ static bool edp_receiver_ready_T9(struct dc_link *link) break; if (result != DC_OK) break; - dm_delay_in_microseconds(link->ctx, 100); //MAx T9 + udelay(100); //MAx T9 } while (++tries < 50); return result; } @@ -271,7 +271,7 @@ void dp_retrain_link_dp_test(struct dc_link *link, pipes[i].stream->sink->link != NULL && pipes[i].stream_res.stream_enc != NULL && pipes[i].stream->sink->link == link) { - dm_delay_in_microseconds(link->ctx, 100); + udelay(100); pipes[i].stream_res.stream_enc->funcs->dp_blank( pipes[i].stream_res.stream_enc); |