aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
diff options
context:
space:
mode:
authorMartin Tsai <martin.tsai@amd.com>2019-12-26 16:19:47 +0800
committerAlex Deucher <alexander.deucher@amd.com>2020-01-16 14:16:40 -0500
commit38259bacd727a2a9e0c767bc6bc50ebb61501023 (patch)
treea87fd165027087bbcc3b53496463f7095d7aa114 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
parentbae9c49bf0703ecb214e84f889e84fe447e4eda9 (diff)
drm/amd/display: Use mdelay to avoid context switch
[why] The rapid msleep operation causes the white line garbage when DAL check flip pending status in SetVidPnSourceVisibility. To execute this msleep will induce context switch, and longer delay could cause worse garbage situation. [how] To replace msleep with mdelay. Signed-off-by: Martin Tsai <martin.tsai@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Harry Wentland <harry.wentland@amd.com> Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions