drm/amdgpu/display: use GFP_ATOMIC in dcn21_validate_bandwidth_fp()
authorHolger Hoffstätte <holger@applied-asynchrony.com>
Fri, 5 Mar 2021 14:23:18 +0000 (15:23 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Mar 2021 16:06:18 +0000 (17:06 +0100)
commitb40528bcc10bc3d4e4f5d765898e64f570d61a19
tree59b7e908d8d57cccbacff43086efc0a664c89851
parent55086176c75ac77d9e03dc84ed11a0b4f7c2fd17
drm/amdgpu/display: use GFP_ATOMIC in dcn21_validate_bandwidth_fp()

commit 680174cfd1e1cea70a8f30ccb44d8fbdf996018e upstream.

After fixing nested FPU contexts caused by 41401ac67791 we're still seeing
complaints about spurious kernel_fpu_end(). As it turns out this was
already fixed for dcn20 in commit f41ed88cbd ("drm/amdgpu/display:
use GFP_ATOMIC in dcn20_validate_bandwidth_internal") but never moved
forward to dcn21.

Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c