diff options
| author | Nirmoy Das <[email protected]> | 2021-03-17 10:38:11 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-04-09 20:38:22 +0000 |
| commit | 3bb1105071fb974e3e3ca2f92ddfd69c81285ab6 (patch) | |
| tree | a2819b68bdd8c4b3b031aa24aea535fedc7f349f /drivers/gpu/drm/amd/amdgpu/amdgpu_res_cursor.h | |
| parent | drm/amd/display/dc/calcs/dce_calcs: Remove some large variables from the stack (diff) | |
| download | kernel-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
