aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorJay Cornwall <jay.cornwall@amd.com>2025-06-11 09:52:14 -0500
committerAlex Deucher <alexander.deucher@amd.com>2025-06-18 12:19:22 -0400
commitb98370220eb3110e82248e3354e16a489a492cfb (patch)
tree919d03a9584d636948fa89add79ca89153477b84 /tools/perf/scripts/python/bin
parentdrm/amdgpu/sdma5: init engine reset mutex (diff)
downloadlinux-b98370220eb3110e82248e3354e16a489a492cfb.tar.gz
linux-b98370220eb3110e82248e3354e16a489a492cfb.zip
drm/amdkfd: Fix race in GWS queue scheduling
q->gws is not updated atomically with qpd->mapped_gws_queue. If a runlist is created between pqm_set_gws and update_queue it will contain a queue which uses GWS in a process with no GWS allocated. This will result in a scheduler hang. Use q->properties.is_gws which is changed while holding the DQM lock. Signed-off-by: Jay Cornwall <jay.cornwall@amd.com> Reviewed-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions