drm/amd/display: replace msleep with udelay in fbc path
authorRoman Li <Roman.Li@amd.com>
Thu, 3 May 2018 17:29:42 +0000 (13:29 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 29 May 2018 18:20:34 +0000 (13:20 -0500)
commit2b6199a1d1b70fccd62aed961ba4c2b979ae499c
tree0e7554d455b5f94eea7e672d53e570e7668a9efc
parente03fd3f300f6184c1264186a4c815e93bf658abb
drm/amd/display: replace msleep with udelay in fbc path

FBC enabling and disabling path has msleep which leads to
BUG hit when called in atomic context, hence this patch
replaces msleeps with udelays appropriately.

Signed-off-by: Shirish S <shirish.s@amd.com>
Signed-off-by: Roman Li <Roman.Li@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce110/dce110_compressor.c