]> 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)
commitececb0fb2f4e7b2e7be5fb68ff90c9f70b2d0baa
tree0e7554d455b5f94eea7e672d53e570e7668a9efc
parent8d7a0db209f6db183e30c28b8897abb50adb68bd
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