aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_res_cursor.h
diff options
context:
space:
mode:
authorNirmoy Das <[email protected]>2021-03-17 10:38:11 +0000
committerAlex Deucher <[email protected]>2021-04-09 20:38:22 +0000
commit3bb1105071fb974e3e3ca2f92ddfd69c81285ab6 (patch)
treea2819b68bdd8c4b3b031aa24aea535fedc7f349f /drivers/gpu/drm/amd/amdgpu/amdgpu_res_cursor.h
parentdrm/amd/display/dc/calcs/dce_calcs: Remove some large variables from the stack (diff)
downloadkernel-3bb1105071fb974e3e3ca2f92ddfd69c81285ab6.tar.gz
kernel-3bb1105071fb974e3e3ca2f92ddfd69c81285ab6.zip
drm/amd/display: use GFP_ATOMIC in dcn20_resource_construct
Replace GFP_KERNEL with GFP_ATOMIC as dcn20_resource_construct() can't sleep. Partially fixes: https://bugzilla.kernel.org/show_bug.cgi?id=212311 as dcn20_resource_construct() also calls into SMU functions which does mutex_lock(). Reviewed-by: Harry Wentland <[email protected]> Signed-off-by: Nirmoy Das <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_res_cursor.h')
0 files changed, 0 insertions, 0 deletions