diff options
author | Nirmoy Das <nirmoy.das@amd.com> | 2021-03-17 11:38:11 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-04-09 16:38:22 -0400 |
commit | 3bb1105071fb974e3e3ca2f92ddfd69c81285ab6 (patch) | |
tree | a2819b68bdd8c4b3b031aa24aea535fedc7f349f /drivers/atm | |
parent | 3ca401459cf1b22ad1748f8854e1264b4240cc4e (diff) | |
download | linux-3bb1105071fb974e3e3ca2f92ddfd69c81285ab6.tar.bz2 |
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 <harry.wentland@amd.com>
Signed-off-by: Nirmoy Das <nirmoy.das@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/atm')
0 files changed, 0 insertions, 0 deletions