ExecutePM4 queue full check fix
Change-Id: Id56ece6d3f5eab1ef3a2758922022f0996c1efe4
此提交包含在:
1 父節點
3449f7dea6
當前提交
8a8d7ad814
1 file changed
+1
-1
@@ -799,7 +799,7 @@ void AqlQueue::ExecutePM4(uint32_t* cmd_data, size_t cmd_size_b) {
|
||||
// Obtain a queue slot for a single AQL packet.
|
||||
uint64_t write_idx = queue->AddWriteIndexAcqRel(1);
|
||||
|
||||
while ((write_idx - queue->LoadReadIndexRelaxed()) > queue->amd_queue_.hsa_queue.size) {
|
||||
while ((write_idx - queue->LoadReadIndexRelaxed()) >= queue->amd_queue_.hsa_queue.size) {
|
||||
os::YieldThread();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
封鎖使用者