diff options
| author | Eric Huang <jinhuieric.huang@amd.com> | 2026-06-11 11:39:33 -0400 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-07-01 11:19:08 -0400 |
| commit | cc80854eda65058a66393c94daccb8f30c2c0f95 (patch) | |
| tree | 646b381bf3b36736925db020259a864931bd4421 /tools/perf/scripts/python | |
| parent | 272e584fc0d831596924130303405b9ed631e5e7 (diff) | |
drm/amdkfd: avoid race condition of mqd when reading sdma counter
MQD used outside of dpm_lock is unsafe because the queue could be
destroyed during the window of dqm_unlock, moving into dqm_lock
range is the best practice.
Signed-off-by: Eric Huang <jinhuieric.huang@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')
0 files changed, 0 insertions, 0 deletions
