]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita3f09556168bec70a315247353a78f56244a54c4
tree0e7554d455b5f94eea7e672d53e570e7668a9efc
parent8245be564741f11f20eaf6068743d0f9ade11784
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