aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorJay Cornwall <[email protected]>2018-07-11 22:32:46 -0400
committerOded Gabbay <[email protected]>2018-07-11 22:32:46 -0400
commita60d811b2bf45f2e776e00d71f0dc3c5043245d9 (patch)
treea0739b3ed0961b6918f63c873c2e7f725aa9c732 /tools/perf/scripts/python/bin
parent1cd106ecfc1f048db3795cc6aed8acb156ba6d4d (diff)
drm/amdkfd: Fix race between scheduler and context restore
The scheduler may raise SQ_WAVE_STATUS.SPI_PRIO via SQ_CMD before context restore has completed. Restoring SPI_PRIO=0 after this point may cause context save to fail as the lower priority wavefronts are not selected for execution among spin-waiting wavefronts. Leave SPI_PRIO at its SPI-initialized or scheduler-raised value. v2: Also fix race with exception handler Signed-off-by: Jay Cornwall <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Felix Kuehling <[email protected]> Acked-by: Christian König <[email protected]> Signed-off-by: Oded Gabbay <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions