drm/amdgpu/display: use msleep rather than udelay for HDCP
authorAlex Deucher <alexdeucher@gmail.com>
Tue, 17 Dec 2019 20:47:07 +0000 (15:47 -0500)
committerDave Airlie <airlied@redhat.com>
Wed, 18 Dec 2019 23:04:13 +0000 (09:04 +1000)
commit5f773e551a3b977013df24d570d486645f326672
treee64a9c613c9a12fd6eeaa37e329ba9bf415e7267
parent4e328922d461616c18f739ed4dfee0bb17133d75
drm/amdgpu/display: use msleep rather than udelay for HDCP

ARM has a 2000us limit for udelay.  Switch to msleep.  This code
executes in a worker thread so shouldn't be an atomic context.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191217204707.2258744-2-alexander.deucher@amd.com
drivers/gpu/drm/amd/display/modules/hdcp/hdcp2_execution.c