OSDN Git Service

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)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 5 Mar 2021 20:15:02 +0000 (15:15 -0500)
commit37ba52c6bd13a31fa35008dc0b5790a1b57de7eb
treee56ed8e99a15a0a793f352710ec9b97e5bf501b4
parentb42c68fac891d8c23c81cdfd66f82864c2353d7b
drm/amdgpu/display: use GFP_ATOMIC in dcn21_validate_bandwidth_fp()

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>
drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c