SWDEV-323702 - Use active queue for transfer
Pass active queue for transfers in the cache coherency layer. That will allow to use device transfer queue only for cases when active queue isn't available, because using device transfer queue from another active queue may cause a deadlock Change-Id: Ifbe7e0303b77dbf6eeda3939ffbc25a3df7472de
Šī revīzija ir iekļauta:
1 vecāks
ffbd63e774
revīzija
95d55fdfa8
9 files changed
+58
-48
No files matched your search
@@ -2044,7 +2044,7 @@ void VirtualGPU::submitMapMemory(amd::MapMemoryCommand& cmd) {
|
||||
releaseGpuMemoryFence();
|
||||
}
|
||||
// Target is the backing store, so just ensure that owner is up-to-date
|
||||
devMemory->owner()->cacheWriteBack();
|
||||
devMemory->owner()->cacheWriteBack(this);
|
||||
|
||||
if (devMemory->isHostMemDirectAccess()) {
|
||||
// Add memory to VA cache, so rutnime can detect direct access to VA
|
||||
@@ -2464,7 +2464,7 @@ void VirtualGPU::submitMigrateMemObjects(amd::MigrateMemObjectsCommand& vcmd) {
|
||||
// Make sure GPU finished operation before synchronization with the backing store
|
||||
releaseGpuMemoryFence();
|
||||
}
|
||||
memory->mgpuCacheWriteBack();
|
||||
memory->mgpuCacheWriteBack(*this);
|
||||
} else if (vcmd.migrationFlags() & CL_MIGRATE_MEM_OBJECT_CONTENT_UNDEFINED) {
|
||||
// Synchronize memory from host if necessary.
|
||||
// The sync function will perform memory migration from
|
||||
|
||||
Reference in new issue
Block a user