Skip to content
Snippets Groups Projects
Commit 5c17ac21 authored by Nirmoy Das's avatar Nirmoy Das
Browse files

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: default avatarHarry Wentland <harry.wentland@amd.com>
Signed-off-by: default avatarNirmoy Das <nirmoy.das@amd.com>
parent d88b34ca
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment