summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/atom.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2018-06-22 15:00:26 -0500
committerAlex Deucher <alexander.deucher@amd.com>2018-07-05 16:38:27 -0500
commita25ca1625dd4ecc89c20bb9082b325490f3f78f2 (patch)
tree14e4894d84d0c236be38b6bb4d83121d70f37ec9 /drivers/gpu/drm/amd/amdgpu/atom.c
parent9bdc2092b488bc81aa5409b4d6fc931c5bea1094 (diff)
downloadop-kernel-dev-a25ca1625dd4ecc89c20bb9082b325490f3f78f2.zip
op-kernel-dev-a25ca1625dd4ecc89c20bb9082b325490f3f78f2.tar.gz
Revert "drm/amdgpu: avoid sleep while executing atombios table (V2)"
This reverts commit 8f4805a265fd710a2827b2c0e10c08ef2b526870. This change was mistakenly committed and should have been dropped with the rest of the series. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/atom.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/atom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/atom.c b/drivers/gpu/drm/amd/amdgpu/atom.c
index b18c31a..e9934de 100644
--- a/drivers/gpu/drm/amd/amdgpu/atom.c
+++ b/drivers/gpu/drm/amd/amdgpu/atom.c
@@ -1221,7 +1221,7 @@ static int amdgpu_atom_execute_table_locked(struct atom_context *ctx, int index,
ectx.abort = false;
ectx.last_jump = 0;
if (ws)
- ectx.ws = kcalloc(4, ws, GFP_ATOMIC);
+ ectx.ws = kcalloc(4, ws, GFP_KERNEL);
else
ectx.ws = NULL;
OpenPOWER on IntegriCloud