summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorJay Cornwall <Jay.Cornwall@amd.com>2018-05-01 17:56:02 -0400
committerOded Gabbay <oded.gabbay@gmail.com>2018-05-01 17:56:02 -0400
commit87e6d4e0777daf774ed9aa59ed25b6ebaaad7052 (patch)
tree1062fa04a237eef7021afd3401bea92ddb5015f3 /crypto
parent24f48a42038f5baaae49b181b64782ecfb703a9c (diff)
downloadop-kernel-dev-87e6d4e0777daf774ed9aa59ed25b6ebaaad7052.zip
op-kernel-dev-87e6d4e0777daf774ed9aa59ed25b6ebaaad7052.tar.gz
drm/amdkfd: Reduce priority of context-saving waves before spin-wait
Synchronization between context-saving wavefronts is achieved by sending a SAVEWAVE message to the SPI and then spin-waiting for a response. These spin-waiting wavefronts may inhibit the progress of other wavefronts in the context save handler, leading to the synchronization condition never being achieved. Before spin-waiting reduce the priority of each wavefront to guarantee foward progress in the others. Signed-off-by: Jay Cornwall <Jay.Cornwall@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud