artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b056220
)
drm/amd/display: use GFP_ATOMIC in amdgpu_dm_irq_schedule_work
author
jsg
<jsg@openbsd.org>
Wed, 18 Aug 2021 09:56:59 +0000
(09:56 +0000)
committer
jsg
<jsg@openbsd.org>
Wed, 18 Aug 2021 09:56:59 +0000
(09:56 +0000)
From Anson Jacob
bd80d11a516c78fb74d11e69c67082f36f8ef8e3
in linux 5.10.y/5.10.60
0cde63a8fc4d9f9f580c297211fd05f91c0fd66d
in mainline linux
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c
b/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c
index
4425a1d
..
d603c10
100644
(file)
--- a/
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c
+++ b/
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c
@@
-531,7
+531,7
@@
static void amdgpu_dm_irq_schedule_work(struct amdgpu_device *adev,
handler_data = container_of(handler_list->next, struct amdgpu_dm_irq_handler_data, list);
/*allocate a new amdgpu_dm_irq_handler_data*/
- handler_data_add = kzalloc(sizeof(*handler_data), GFP_
KERNEL
);
+ handler_data_add = kzalloc(sizeof(*handler_data), GFP_
ATOMIC
);
if (!handler_data_add) {
DRM_ERROR("DM_IRQ: failed to allocate irq handler!\n");
return;