projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5c8315
)
drm/amdkfd: add return value check for queue eviction
author
Tao Zhou
<tao.zhou1@amd.com>
Wed, 16 Feb 2022 07:10:08 +0000
(15:10 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Wed, 16 Feb 2022 22:30:02 +0000
(17:30 -0500)
Otherwise gpu reset will be triggered unconditionally in poison
consumption.
Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c
b/drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c
index 6830a88f03267faf11aec0bf423863db181a5cda..7eedbcd1482869d5586876758f941c1512b2516c 100644
(file)
--- a/
drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c
+++ b/
drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c
@@
-110,7
+110,7
@@
static void event_interrupt_poison_consumption(struct kfd_dev *dev,
switch (source_id) {
case SOC15_INTSRC_SQ_INTERRUPT_MSG:
- kfd_dqm_evict_pasid(dev->dqm, pasid);
+
ret =
kfd_dqm_evict_pasid(dev->dqm, pasid);
break;
case SOC15_INTSRC_SDMA_ECC:
default: