Avoid using sdma engine if there's none

Change-Id: Id8d373683f3e1667ab461b4c5b8b490377b64cc0
此提交包含在:
Jason Tang authored and Jason Tang committed 2020-09-25 09:48:10 -04:00
1 父節點 2e199bd492
當前提交 40b432f992
1 file changed
+4
+4
查看文件
@@ -356,6 +356,10 @@ bool Settings::create(const Pal::DeviceProperties& palProp,
return false;
}
if (0 == palProp.engineProperties[Pal::EngineTypeDma].engineCount) {
disableSdma_ = true;
}
// Image DMA must be disabled if SDMA is disabled
imageDMA_ &= !disableSdma_;