diff options
| author | Jay Cornwall <jay.cornwall@amd.com> | 2025-06-11 09:52:14 -0500 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2025-06-18 12:19:22 -0400 |
| commit | b98370220eb3110e82248e3354e16a489a492cfb (patch) | |
| tree | 919d03a9584d636948fa89add79ca89153477b84 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | 3f4caf092f02f0de169c6122639af481c7edc8f9 (diff) | |
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/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
