drm/amd/powerplay/smu7_hwmgr: replace blocking delay with non-blocking
authorYrjan Skrimstad <yrjan@skrimstad.net>
Thu, 30 May 2019 00:08:21 +0000 (02:08 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 5 Jul 2019 20:54:55 +0000 (15:54 -0500)
commit69064bbe7ecbe6e6147069368efaa869cff4eace
tree4457d350fdec331904e672786f680831ad100d77
parentd12c202289b07037da285299b4122fa2072eca96
drm/amd/powerplay/smu7_hwmgr: replace blocking delay with non-blocking

This driver currently contains a repeated 500ms blocking delay call
which causes frequent major buffer underruns in PulseAudio. This patch
fixes this issue by replacing the blocking delay with a non-blocking
sleep call.

Signed-off-by: Yrjan Skrimstad <yrjan@skrimstad.net>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c