summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux
diff options
context:
space:
mode:
authorYifan Zha <Yifan.Zha@amd.com>2025-03-05 08:14:55 +0300
committerAlex Deucher <alexander.deucher@amd.com>2025-03-11 19:36:52 +0300
commit42c854b8fb0cce512534aa2b7141948e80c6ebb0 (patch)
tree543b4294578eb9a4029d6dafdbd4a5f6adb72aeb /scripts/gdb/linux
parent760632fa2e3dbb13a9b55acbb960592628d274dd (diff)
downloadlinux-42c854b8fb0cce512534aa2b7141948e80c6ebb0.tar.xz
drm/amd/amdkfd: Evict all queues even HWS remove queue failed
[Why] If reset is detected and kfd need to evict working queues, HWS moving queue will be failed. Then remaining queues are not evicted and in active state. After reset done, kfd uses HWS to termination remaining activated queues but HWS is resetted. So remove queue will be failed again. [How] Keep removing all queues even if HWS returns failed. It will not affect cpsch as it checks reset_domain->sem. v2: If any queue failed, evict queue returns error. v3: Declare err inside the if-block. Reviewed-by: Felix Kuehling <felix.kuehling@amd.com> Signed-off-by: Yifan Zha <Yifan.Zha@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions